Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-693

New apidocs UI is assuming particular YII in montpoint

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Aluminium
    • Aluminium
    • restconf-nb
    • None

      New apidoc explorer is assuming that yang instance identifier of mount point is based on network topology topology model, in particular last path element is "node". This is true for netconf mounts, but not for eg. jsonrpc.

      As a result, new UI does not load when such mount is encountered which renders browser window blank with only clue in browser's developer console:

       

      index.html?urls.primaryName=Controller resources - RestConf draft02:54 Uncaught TypeError: Cannot read property 'replace' of undefined
       at window.onload (index.html?urls.primaryName=Controller resources - RestConf draft02:54)
      
      

       

       

            jluhrsen Jamo Luhrsen
            rkosegi Richard Kosegi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: