ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Antonenko <alexantone...@apache.org>
Subject Re: custom config property
Date Fri, 16 Dec 2016 18:27:53 GMT
In order to define customized configuration property, user should use theme
for enhanced configs (
https://cwiki.apache.org/confluence/display/AMBARI/Enhanced+Configs).
Making the property appear outside enhanced configs tab (i.e., inside
Advanced tab) is only possible after hardcoding inside UI code.

On Fri, Dec 16, 2016 at 6:46 PM, Sumit Mohanty <smohanty@hortonworks.com>
wrote:

> ​Ah! that may be custom UI code.
>
>
> Can some one familiar with the UI code respond?
>
>
> thanks
>
> Sumit
> ------------------------------
> *From:* Satyanarayana Jampa <sjampa@innominds.com>
> *Sent:* Thursday, December 15, 2016 11:02 PM
> *To:* user@ambari.apache.org
> *Subject:* RE: custom config property
>
>
> Hi Sumit,
>
>
>
>                 Thank you for your inputs. But looks like theme is for the
> first tab.
>
> I am looking for an option something like in the attached screenshot.
>
>
>
> Thanks,
>
> Satya.
>
> *From:* Sumit Mohanty [mailto:smohanty@hortonworks.com]
> *Sent:* 16 December 2016 11:20
> *To:* user@ambari.apache.org
> *Subject:* Re: custom config property
>
>
>
> Look at the combination of
>
> https://github.com/apache/ambari/blob/trunk/ambari-
> server/src/main/resources/stacks/HDP/2.2/services/HIVE/
> configuration/hive-env.xml#L92-L115
>
> https://github.com/apache/ambari/blob/trunk/ambari-
> server/src/main/resources/stacks/HDP/2.2/services/HIVE/
> themes/theme.json#L322-L327
>
>
>
> Wiki is at - https://cwiki.apache.org/confluence/display/AMBARI/
> Enhanced+Configs​
>
> ​
> ------------------------------
>
> *From:* Satyanarayana Jampa <sjampa@innominds.com>
> *Sent:* Thursday, December 15, 2016 9:20 PM
> *To:* user@ambari.apache.org
> *Subject:* custom config property
>
>
>
>
>
> Can someone help me out in pointing the steps for creating a configuration
> property with radio button options. Something similar to what we have it
> for “hive database” selection under *hive* config tab.
>
> Example:
>
>                 custom_database:
>
> o   Mysql
>
> o   Postgres
>
> o   Mssql
>
>
>
> Thanks,
>
> Satya.
>
>
>

Mime
View raw message