BUG-8327: Introduce DOMYangTextSourceProvider and implement it 46/56246/4
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 28 Apr 2017 12:05:21 +0000 (14:05 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 28 Apr 2017 15:25:25 +0000 (17:25 +0200)
commit985c0859e1ad4a1c2dd734e75a4249ddd6b1e2a8
tree4d987d6f684443a6c06b15157cc907d9ec71d3af
parent2d05325b648b880088cea24ee1afd9edfc5a8979
BUG-8327: Introduce DOMYangTextSourceProvider and implement it

Migration requires that DOMSchemaService provides the capability to
access underlying sources in YANG text. Rather than modifying the
base DOMSchemaService, make it an DOMExtensibleService and define
the appropriate extension, DOMYangTextSourceProvider.

Update OsgiBundleScanningSchemaService to implement the new
extension.

Change-Id: I4c75d8abdf850c42fe69a08201f976271a2cbc8f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
dom/mdsal-dom-api/src/main/java/org/opendaylight/mdsal/dom/api/DOMSchemaService.java
dom/mdsal-dom-api/src/main/java/org/opendaylight/mdsal/dom/api/DOMSchemaServiceExtension.java [new file with mode: 0644]
dom/mdsal-dom-api/src/main/java/org/opendaylight/mdsal/dom/api/DOMServiceExtension.java
dom/mdsal-dom-api/src/main/java/org/opendaylight/mdsal/dom/api/DOMYangTextSourceProvider.java [new file with mode: 0644]
dom/mdsal-dom-broker/src/main/java/org/opendaylight/mdsal/dom/broker/osgi/OsgiBundleScanningSchemaService.java
dom/mdsal-dom-broker/src/main/java/org/opendaylight/mdsal/dom/broker/osgi/SchemaServiceActivator.java