[NETCONF-6] Docgen of yangmodels requires setting unknown parameter 'access-control-origin' Created: 02/Sep/14  Updated: 15/Mar/19  Resolved: 19/Nov/15

Status: Resolved
Project: netconf
Component/s: netconf
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: RichardHill Assignee: RichardHill
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Windows
Platform: PC


External issue ID: 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 = **********
~



 Comments   
Comment by Jan Hajnar [ 29/Jul/15 ]

I believe this issue is fixed in lithium and master. Assigned to original reporter because it needs re-testing on current version of controller.

Comment by Robert Varga [ 13/Nov/15 ]

Move to NETCONF project

Generated at Wed Feb 07 20:13:56 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.