[YANGTOOLS-1561] {Yin,Yang}TextSource references require yang-model-spi Created: 07/Jan/24  Updated: 07/Jan/24  Resolved: 07/Jan/24

Status: Resolved
Project: yangtools
Component/s: model-api, model-spi
Affects Version/s: 12.0.0
Fix Version/s: 13.0.0

Type: Bug Priority: Highest
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: pt, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

As part of the initial push for YANGTOOLS-1150, we have created yang.model.api.source and yang.model.spi.source packages to host the various interfaces related to model sources.

Unfortunately YangTextSource and YinTextSource have landed in yang.model.spi.source, meaning all users of these constructs are forced to depend on yang-models-spi – which is inappropriate for things like mdsal-dom-api.

Fix this by rehosting these two classes to yang-model-api and exposing individual implementations form yang.model.spi (as there is no longer a single class to host static factory methods).


Generated at Wed Feb 07 20:56:30 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.