Bug 5679 - ietf-yang-library module implemetation 60/48860/4
authorJakub Toth <jatoth@cisco.com>
Thu, 1 Dec 2016 09:02:06 +0000 (10:02 +0100)
committerJakub Toth <jatoth@cisco.com>
Tue, 20 Dec 2016 10:39:06 +0000 (11:39 +0100)
commit35ac72f0a7131610b7af7af7135bac89741675cd
tree9140c1ce9d68cb7b77ef3f2e98d86c51af26a1e3
parent80c05797ae434791471ba69cfec946790ae40ed0
Bug 5679 - ietf-yang-library module implemetation

Make modules data as data in state DS
  * remove modules service
  * remove tests of modules service impl
  * remove mapping modules according to ietf-restconf
    model

  * implemetation of new mapping modules according to
    ietf-yang-library model
  * (SchemaContextHandler) mapping modules on every new
    schema context and update DS(state) with new data
  * added test for mapping
  * fix tests by new implemetation

Change-Id: I39822fcfddfce409b1a489aa8f64d88eeb23e2db
Signed-off-by: Jakub Toth <jatoth@cisco.com>
49 files changed:
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/rest/api/RestconfService.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/RestConnectorProvider.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/RestconfModulesService.java [deleted file]
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/base/services/impl/RestconfModulesServiceImpl.java [deleted file]
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/handlers/SchemaContextHandler.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/handlers/SchemaContextHandlerTest.java
restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/rest/services/impl/RestconfModulesServiceTest.java [deleted file]
restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/rest/services/impl/RestconfModulesServiceTestUtils.java [deleted file]
restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/rest/services/impl/RestconfOperationsServiceTest.java
restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/rest/services/impl/RestconfStreamsServiceTest.java
restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/restful/services/impl/RestconfDataServiceImplTest.java
restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/restful/services/impl/RestconfInvokeOperationsServiceImplTest.java
restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/restful/services/impl/RestconfStreamsSubscriptionServiceImplTest.java
restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/utils/mapping/RestconfMappingNodeUtilTest.java
restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/utils/schema/context/RestconfSchemaUtilTest.java
restconf/sal-rest-connector/src/test/resources/invoke-rpc/ietf-inet-types.yang [new file with mode: 0644]
restconf/sal-rest-connector/src/test/resources/invoke-rpc/ietf-yang-library@2016-06-21.yang [new file with mode: 0644]
restconf/sal-rest-connector/src/test/resources/invoke-rpc/ietf-yang-types.yang [new file with mode: 0644]
restconf/sal-rest-connector/src/test/resources/jukebox/ietf-inet-types.yang [new file with mode: 0644]
restconf/sal-rest-connector/src/test/resources/jukebox/ietf-yang-library@2016-06-21.yang [new file with mode: 0644]
restconf/sal-rest-connector/src/test/resources/jukebox/ietf-yang-types.yang [new file with mode: 0644]
restconf/sal-rest-connector/src/test/resources/modules/ietf-yang-library@2016-06-21.yang [new file with mode: 0644]
restconf/sal-rest-connector/src/test/resources/modules/modules-behind-mount-point/ietf-yang-library@2016-06-21.yang [new file with mode: 0644]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/ietf-yang-library@2016-06-21.yang [new file with mode: 0644]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-empty-grouping-restconf.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-illegal-container-modules.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-illegal-container-streams.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-illegal-leaf-description.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-illegal-leaf-list-feature-in-list-module.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-illegal-leaf-name-in-list-module.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-illegal-leaf-namespace-in-list-module.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-illegal-leaf-revision-in-list-module.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-illegal-list-module.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-illegal-list-stream.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-missing-container-modules.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-missing-container-streams.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-missing-grouping-restconf.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-missing-leaf-list-feature-in-list-module.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-missing-leaf-name-in-list-module.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-missing-leaf-namespace-in-list-module.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-missing-leaf-revision-in-list-module.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-missing-list-module.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/modules/restconf-module-testing/restconf-module-with-missing-list-stream.yang [deleted file]
restconf/sal-rest-connector/src/test/resources/notifications/ietf-inet-types.yang [new file with mode: 0644]
restconf/sal-rest-connector/src/test/resources/notifications/ietf-yang-library@2016-06-21.yang [new file with mode: 0644]
restconf/sal-rest-connector/src/test/resources/notifications/ietf-yang-types.yang [new file with mode: 0644]