You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/05/01 15:43:00 UTC

[jira] [Work logged] (KNOX-1855) Add Service Definition for Cloudera Manager API

     [ https://issues.apache.org/jira/browse/KNOX-1855?focusedWorklogId=235838&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-235838 ]

ASF GitHub Bot logged work on KNOX-1855:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/May/19 15:42
            Start Date: 01/May/19 15:42
    Worklog Time Spent: 10m 
      Work Description: risdenk commented on pull request #88: KNOX-1855 - Add Service Definition for Cloudera Manager API
URL: https://github.com/apache/knox/pull/88#discussion_r280112592
 
 

 ##########
 File path: gateway-service-definitions/src/main/resources/services/cm/1.0.0/service.xml
 ##########
 @@ -0,0 +1,33 @@
+<!--
+   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.
+-->
+
+<!--
+   Knox service definition for Cloudera Manager
+
+   Currently, this service definition covers only the CM API and not the web UI.
+
+   This service definition MUST be in its own topology and accessed without the
+   gateway/topology path in the request URL.
+-->
+<service role="CM" name="cm" version="1.0.0">
 
 Review comment:
   Sorry wasn't clear. I see the description now is Cloudera Manager and labeled as CM-API.
 
----------------------------------------------------------------
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:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 235838)
    Time Spent: 1h 20m  (was: 1h 10m)

> Add Service Definition for Cloudera Manager API
> -----------------------------------------------
>
>                 Key: KNOX-1855
>                 URL: https://issues.apache.org/jira/browse/KNOX-1855
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.2.0
>            Reporter: Johnny Tran
>            Priority: Major
>             Fix For: 1.3.0
>
>         Attachments: KNOX-1855.patch
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> I would like to contribute a patch to add a service definition for the Cloudera Manager API.
> Currently, the service definition relies on CM being deployed in its own topology and accessed without the gateway and topology in the request URL (e.g. "/api/v30/..." instead of "/gateway/sandbox/api/v30/..."). This is because we will soon add CM web UI rules to the CM service definition, and limitations in the CM web UI make it impractical for the web UI to deal with additional path components.



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