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 2015/04/11 03:23:12 UTC

[jira] [Resolved] (AMBARI-10443) Hide empty property_display_name from stack configuration API

     [ https://issues.apache.org/jira/browse/AMBARI-10443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Srimanth Gunturi resolved AMBARI-10443.
---------------------------------------
    Resolution: Fixed

Committed to trunk

> Hide empty property_display_name from stack configuration API
> -------------------------------------------------------------
>
>                 Key: AMBARI-10443
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10443
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Myroslav Papirkovskyy
>            Assignee: Myroslav Papirkovskyy
>             Fix For: 2.1.0
>
>
> property_display_name should not be returned if null or empty:
> {code}
> {
>   "href" : "http://c6401:8080/api/v1/stacks/HDP/versions/2.2/services/YARN/configurations/apptimelineserver_heapsize",
>   "StackConfigurations" : {
>     "final" : "false",
>     "property_depended_by" : [ ],
>     "property_depends_on" : [ ],
>     "property_description" : "Max heapsize for AppTimelineServer using a numerical value in the scale of MB",
>     "property_display_name" : null,
>     "property_name" : "apptimelineserver_heapsize",
>     "property_type" : [ ],
>     "property_value" : "1024",
>     "property_value_attributes" : {
>       "entries" : [ ]
>     },
>     "service_name" : "YARN",
>     "stack_name" : "HDP",
>     "stack_version" : "2.2",
>     "type" : "yarn-env.xml"
>   }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)