I upgraded my opendaylight yangtools libraries to 6.0.3 and the code breaks with the below errror(s):
import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.YangInferencePipeline;
The import cannot be resolved
I am not sure to which package/module the YangInferencePipeline has moved? It is used in code to build the schemaContext
CrossSourceStatementReactor.BuildAction reactor = YangInferencePipeline.RFC6020_REACTOR.newBuild();
What should be the rfc7950
equivalent invocation for it in the updated libraries? Have already looked up the Javadoc at https://javadoc.io/doc/org.opendaylight.yangtools/yangtools-docs/latest/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/package-summary.html but cannot locate the class.
Thanks in advance.
The below code is latest model 7.0.14 version. make sure you have updated pom.xml
pom.xml
Code Changes