You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Nixon Rodrigues (JIRA)" <ji...@apache.org> on 2017/06/13 09:45:01 UTC

[jira] [Commented] (ATLAS-1823) UI - Change in base path URL for few api/images to make it relative from path it is accessed.

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

Nixon Rodrigues commented on ATLAS-1823:
----------------------------------------

Thanks [~kevalbhatt] for the review,

Committed patch on following branches.

* master https://git1-us-west.apache.org/repos/asf/incubator-atlas/repo?p=incubator-atlas.git;a=commit;h=894a91f6097969073c8356fd6aac6490b6b619d9

* 0.8.incubating https://git1-us-west.apache.org/repos/asf/incubator-atlas/repo?p=incubator-atlas.git;a=commit;h=4076597903ce5aad8280d6fd083f6e76ec858f01

> UI - Change in base path URL for few api/images to make it relative from path it is accessed.
> ---------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-1823
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1823
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Nixon Rodrigues
>            Assignee: Nixon Rodrigues
>             Fix For: 0.9-incubating, 0.8.1-incubating
>
>         Attachments: ATLAS-1823.patch
>
>
> The currently in Atlas the base path for api and few image are relative to root of the application, ie it always resolves to http://<host><api>.
> Which causing issue when Atlas UI is accessed for Knox Proxy.
> Proposing following changes in path to make it relative from path it is accessed.
> {code}
> -                    <img class="initialLoading" src="../img/ring.gif">
> +                    <img class="initialLoading" src="img/ring.gif">
> {code}
> {code}
> -        baseUrl: '/api/atlas',
> -        baseUrlV2: '/api/atlas/v2',
> +        baseUrl: 'api/atlas',
> +        baseUrlV2: 'api/atlas/v2',
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)