You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Zachary Blanco (JIRA)" <ji...@apache.org> on 2015/06/05 17:24:00 UTC
[jira] [Comment Edited] (KNOX-554) Cannot access topologies through
admin API if gateway.path is modified
[ https://issues.apache.org/jira/browse/KNOX-554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14574672#comment-14574672 ]
Zachary Blanco edited comment on KNOX-554 at 6/5/15 3:23 PM:
-------------------------------------------------------------
KNOX-554-2 now also accounts for possible x-forwarded headers
was (Author: zacblanco):
KNOX-554-2 attempts to resolve the issue and also account for possible x-forwarded-* headers in the requests.
> Cannot access topologies through admin API if gateway.path is modified
> ----------------------------------------------------------------------
>
> Key: KNOX-554
> URL: https://issues.apache.org/jira/browse/KNOX-554
> Project: Apache Knox
> Issue Type: Bug
> Reporter: Zachary Blanco
> Assignee: Zachary Blanco
> Attachments: KNOX-554-1.patch, KNOX-554-2.patch
>
>
> If a user edits the gateway.path property to any value other than "gateway" in gateway-site.xml, the calls to the admin API for topologies fail.
> Specifically any GET request to:
> https://{gateway-host}:{gateway-port}/{gateway.path}/admin/api/v1/topologies
> OR
> https://{gateway-host}:{gateway-port}/{gateway.path}/admin/api/v1/topologies/{topology-id}
> Will fail if the gateway.path is not set to "gateway"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)