[YANGTOOLS-1052] Cleanup yang-model-util Created: 23/Dec/19 Updated: 10/Apr/22 Resolved: 13/Feb/21 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0 |
| Type: | Task | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
yang-model-util contains a number of classes relevant to implentations of yang-model-api as well as a number of classes relevant to users of yang-model-api. The problem here is that the latter cannot be really tested with real models, as yang-model-util cannot depend on yang-parser-rfc7950 (as it depends on it). Split out the implementation classes to yang-model-spi, which is used by yang-parser-rfc7950 (and others) and make yang-model-util depend on the parser for testing purposes. |