You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2017/04/04 19:39:41 UTC

[jira] [Commented] (AMBARI-20674) About to hide the Delete menu item from UI for a given service

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

Hadoop QA commented on AMBARI-20674:
------------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12861937/AMBARI-20674.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 3 new or modified test files.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server ambari-web.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/11298//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/11298//console

This message is automatically generated.

> About to hide the Delete menu item from UI for a given service 
> ---------------------------------------------------------------
>
>                 Key: AMBARI-20674
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20674
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-server, ambari-web
>    Affects Versions: trunk
>            Reporter: Di Li
>            Assignee: Di Li
>             Fix For: trunk
>
>         Attachments: AMBARI-20674.patch
>
>
> Stack driven approach to have UI show/hide Delete service menu item for a given service.
> A service's metainfo.xml can have 
> <supportDeleteViaUI>false</supportDeleteViaUI> set at the service level to indicate UI should hide the menu item. Directly going thru REST API calls are always supported and non-restricted. 
> If the section is missing, it will be treated as "support" UI delete service operation. In other words, UI only hides the menu item if metainfo.xml has explicitly set the flag to false.
> Example.
> "<metainfo>" +
>         "  <schemaVersion>2.0</schemaVersion>" +
>         "  <services>" +
>         "    <service>" +
>         "      <name>HDFS</name>" +
>         "      <displayName>HDFS</displayName>" +
>         "      <supportDeleteViaUI>false</supportDeleteViaUI>" +
>         "    </service>" +
>         "  </services>" +
>         "</metainfo>";



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)