[asterisk-bugs] [JIRA] (ASTERISK-26298) Swagger resources.json does not acknowledge http prefix

Asterisk Team (JIRA) noreply at issues.asterisk.org
Tue Aug 16 04:38:56 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=231837#comment-231837 ] 

Asterisk Team commented on ASTERISK-26298:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> Swagger resources.json does not acknowledge http prefix
> -------------------------------------------------------
>
>                 Key: ASTERISK-26298
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26298
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari
>    Affects Versions: 12.8.2, 13.10.0
>            Reporter: Dan Jenkins
>
> When giving a http prefix in http.conf, this prefixes all http routes successfully. 
> I can go to 
> /a-http-prefix-added-to-conf/ari/api-docs/resources.json
> And that gives me back the correct json file - great news. We can see in the asterisk console the correct info too
> Enabled URI's:
> /a-http-prefix-added-to-conf/httpstatus => Asterisk HTTP General Status
> /a-http-prefix-added-to-conf/phoneprov/... => Asterisk HTTP Phone Provisioning Tool
> /a-http-prefix-added-to-conf/static/... => Asterisk HTTP Static Delivery
> /a-http-prefix-added-to-conf/ari/... => Asterisk RESTful API
> /a-http-prefix-added-to-conf/ws => Asterisk HTTP WebSocket
> However, resources.json gives back an incorrect base bath. 
> "basePath":"http://<address>:8000/ari" - it should be "basePath":"http://<address>:8000/a-http-prefix-added-to-conf/ari"



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list