You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Srimanth Gunturi (JIRA)" <ji...@apache.org> on 2014/08/19 22:19:20 UTC

[jira] [Commented] (AMBARI-6923) Views: add property to know if the view instance is xml defined or not

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

Srimanth Gunturi commented on AMBARI-6923:
------------------------------------------

+1 for patch.

> Views: add property to know if the view instance is xml defined or not
> ----------------------------------------------------------------------
>
>                 Key: AMBARI-6923
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6923
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.7.0
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-6923.patch
>
>
> /api/v1/views/ADMIN_VIEW/versions/1.0.0/
> If a view instance is defined in the XML (i.e. a "static view instance"), that means we cannot modify the display label, or visible flag (among other things).
> We should expose a property in the API with the ViewInstanceInfo to know if "is_xml = true/false" so that we can use that in the Admin UI to disable the fields that are not editable. We can then also put an icon next to the instances that are static.



--
This message was sent by Atlassian JIRA
(v6.2#6252)