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

Docgen of yangmodels requires setting unknown parameter 'access-control-origin'

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • None
    • None
    • netconf
    • None
    • Operating System: Windows
      Platform: PC

    • 1670

    Description

      MD-SAL:Restconf_API_Explorer describes the use of docgen to present the yang models loaded in a Human readable format.

      https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Restconf_API_Explorer

      Following instructions on page above I visited the url http://localhost:8080/apidoc/explorer/# I received the response

      "Below are the list of APIs supported by the Controller.
      Loading http://localhost:8080/apidoc/apis
      Can't read from server. It may not have the appropriate access-control-origin settings."

      I am not sure of the next step and cannot find more information about 'access-control-origin' in the opendaylight documentation.

      I expected an explanation of how to do this.

      Version

      org.opendaylight.controller.version = 0.1
      org.opendaylight.controller.build.scm.version = ce223a4e4d74daee6854e00e9d4e5d3a1bd5c1e8
      org.opendaylight.controller.build.user = jenkins-controller
      org.opendaylight.controller.build.workspace = **********
      org.opendaylight.controller.build.timestamp = 1409424414421
      org.opendaylight.controller.build.machine = **********
      ~

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ricjhill@gmail.com RichardHill
            ricjhill@gmail.com RichardHill
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: