You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/04/11 05:11:14 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14490749#comment-14490749 ] 

Hudson commented on AMBARI-10443:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #2265 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2265/])
AMBARI-10443. Hide empty property_display_name from stack configuration API (mpapirkovskyy via srimanth) (sgunturi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f8b83e2f699848ba1d4d913859af9fff3e405f53)
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackConfigurationResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/state/ValueAttributesInfo.java
* ambari-server/src/test/java/org/apache/ambari/server/api/services/AmbariMetaInfoTest.java


> 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)