BUG 2412 - Remove CompositeNode from sal-dom-* * removed CompositeNodes from sal-dom-broker * removed deprecated services from sal-dom-broker * removed deprecated services from sal-dom-api * removed deprecated api calls from sal-binding-broker tests and sal-dom-spi Change-Id: Iae44e5c0acd0ad602bf98b9961fcd808657ac07b Signed-off-by: Jan Hajnar <jhajnar@cisco.com>
Migrate from using the deprecated SchemaContextProvider org.opendaylight.controller.sal.dom.broker.SchemaContextProvider has been deprecated, the services away so it is no longer used. Change-Id: I6c84b2fe6ce02dce71aed4e4c24f8bc84ba078d8 Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-8: mark deprecated classes as such These classes refer to various deprecated interfaces of MD-SAL, triggering a lot of warnings about deprecated constructs. Since these classes themselves have been superseded, mark them as Deprecated, lowering the amount of warnings we get. Change-Id: I19753166fa1fd617ad7085b71a1218f6bc4a3f53 Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-868: do not use YangInstanceIdentifier.getPath() This method has been deprecated, so stop using it. Change-Id: Ibfaf7e40a3d119ed05ff5743c4869e345d18e298 Signed-off-by: Robert Varga <rovarga@cisco.com>
Add exists method on DOMStoreReadTransaction and DOMDataReadTransaction Introducing this API does not impact clients as it is mostly internal. One reason for adding this API is because of ensureParentsByMerge used in a couple of places which keeps checking if a parent node exists by reading a node to figure out if it exists. This is fine for the InMemoryDataStore but it can be terrible in a distributed data store where the shard which contains the data is remote. All sorts of overhead is associated with a remote read including serialization which can actually be pretty expensive. Change-Id: Ib5be5f6dc60be683d7a04c81dad08c56cd5681f4 Signed-off-by: Moiz Raja <moraja@cisco.com>
Bug 1392: Change ReadTransaction#read to return CheckedFuture Added a ReadFailedException that is used with the CheckedFuture. Moved the RpcError list from TransactionCommitFailedException to a new base OperationFailedException in yangtools and also derived ReadFailedException from OperationFailedException. Added a static MAPPER in ReadFailedException class using the new generalized base ExceptionMapper class in yangtools. Also derived TransactionCommitFailedExceptionMapper from ExceptionMapper. Modified uses of Futures#makeChecked in the read Tx and write Tx submit to use the new MappingCheckedFuture class in yangtools (see https://git.opendaylight.org/gerrit/#/c/9240/ for details). Change-Id: I5c4f717f0b8664b7d39c1e6f0366525f04e6634d Signed-off-by: tpantelis <tpanteli@brocade.com>
BUG-868: Migrate to SchemaContextListener SchemaServiceListener is deprecated, SchemaContextListener is its new name. The class hierarchy allows for incremental migration. Change-Id: I15d495d805eb7a08c3bcd3ab0cf8b5a8d2797db5 Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-1092: adjust to YangInstanceIdentifier This is a compation to I1e30a0df93d8bfb891d047c58abcb117d4006c76, adjusting the components to use the new name. Change-Id: I615763240581e850f7752f82e44d752c8fceb169 Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-1083 Netconf connector rework sal facade. Change-Id: I9302e88ac3e831e2966e2baec9493a03e0a96be4 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
WIP: Backwards compatible MountPointService Change-Id: Ifd28301ddd08d4edba93dba04a4d38c2ee13078a Signed-off-by: Maros Marsalek <mmarsale@cisco.com>