[
https://issues.apache.org/jira/browse/KNOX-1862?focusedWorklogId=253411&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-253411
]
ASF GitHub Bot logged work on KNOX-1862:
----------------------------------------
Author: ASF GitHub Bot
Created on: 03/Jun/19 21:54
Start Date: 03/Jun/19 21:54
Worklog Time Spent: 10m
Work Description: risdenk commented on pull request #97: KNOX-1862 - Add
Service Definition for Hue UI
URL: https://github.com/apache/knox/pull/97#discussion_r290054132
##########
File path:
gateway-service-definitions/src/main/resources/services/hue/1.0.0/rewrite.xml
##########
@@ -0,0 +1,134 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<rules>
+ <rule dir="IN" name="HUE/hue/inbound/huerule" flow="OR">
+ <!-- We have exceptions for dashboard/hbase/notebook, because endpoint
that ends at the app/lib level need to terminate with a slash and we remove
them in generic case. -->
+ <!-- Other solution would be to accept trailing slash on all endpoints,
but there's some issue with the filebrowser -->
+ <match pattern="*://*:*/**/hue/hue/dashboard?{**}">
Review comment:
I think this will be `/hue/hue` in the browser so might be a bit weird. I
think I follow the comment, but just calling out in case there is something we
can do to make this easier.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 253411)
Time Spent: 50m (was: 40m)
> Add Service Definition for Hue UI
> ---------------------------------
>
> Key: KNOX-1862
> URL: https://issues.apache.org/jira/browse/KNOX-1862
> Project: Apache Knox
> Issue Type: New Feature
> Components: Server
> Reporter: Subrata Nandi
> Assignee: Sandeep More
> Priority: Major
> Fix For: 1.3.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> I would like to contribute a patch to add a service definition for the
> Cloudera HUE UI
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)