Uploaded image for project: 'openflowjava'
  1. openflowjava
  2. OPNFLWJAVA-62

Hidden yangs cause runtime problems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • unspecified
    • General
    • None
    • Operating System: All
      Platform: All

    • 4281

      If a project has dependency on OFjava and the project wants to have junit tests extending AbstractDataBrokerTest, this exception is thrown:
      Caused by: java.lang.IllegalStateException: Resource '/META-INF/yang/openflow-instruction.yang' is missing
      at org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.$YangModuleInfoImpl.<init>($YangModuleInfoImpl.java:31)
      at org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.$YangModuleInfoImpl.<clinit>($YangModuleInfoImpl.java:10)

      Missing yang files were hidden in https://git.opendaylight.org/gerrit/#/c/18083/1

            msunal@cisco.com Martin Sunal
            msunal@cisco.com Martin Sunal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: