You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/02/23 09:54:01 UTC

[jira] [Commented] (ISIS-1775) Auto-Configure SwaggerServiceDefault if Web-App has a Context-Path

    [ https://issues.apache.org/jira/browse/ISIS-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16374163#comment-16374163 ] 

ASF subversion and git services commented on ISIS-1775:
-------------------------------------------------------

Commit 6e06e73c81b76fdb6db2a6850c74996d2def6e6b in isis's branch refs/heads/master from [~hobrom]
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=6e06e73 ]

ISIS-1871 ISIS-1756 ISIS-1775 proper life-cycling + context-path support

this works for DN 4 or 5 >= 5.1.5

> Auto-Configure SwaggerServiceDefault if Web-App has a Context-Path
> ------------------------------------------------------------------
>
>                 Key: ISIS-1775
>                 URL: https://issues.apache.org/jira/browse/ISIS-1775
>             Project: Isis
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.15.1
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Minor
>             Fix For: 2.0.0-M2
>
>
> Let's say we deploy a web-app that has e.g. context path '/simple'.
> Then we would need to configure the IsisConfiguration property 'isis.services.swagger.restfulBasePath' (default = '/restful') to '/simple/restful', in order for the swagger-ui to work properly.
> We can instead implement o.a.i.c.m.services.SwaggerServiceDefault such that it automatically prefixes the swaggerBasePath with the app's context path (if present).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)