You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "sjampa (JIRA)" <ji...@apache.org> on 2016/12/20 08:55:58 UTC

[jira] [Created] (AMBARI-19249) Adding custom config property say radio button fields etc needs hardcoding in various places

sjampa created AMBARI-19249:
-------------------------------

             Summary: Adding custom config property say radio button fields etc needs hardcoding in various places
                 Key: AMBARI-19249
                 URL: https://issues.apache.org/jira/browse/AMBARI-19249
             Project: Ambari
          Issue Type: Task
          Components: ambari-web
    Affects Versions: 2.2.2
            Reporter: sjampa


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. This needs hard-coding in multiple places like say i want to add a field like below with radio options:
Example:
custom_database: 
o   Mysql
o   Postgres
o   Mssql

The below link will give info on customizing only the first Tab:
https://cwiki.apache.org/confluence/display/AMBARI/Enhanced+Configs

For Advanced Tab:
So far I found one file with references to the fields under Advanced Tab:
“/opt/apache-ambari-2.2.2-src/ambari-web/public/javascripts/app.js”

Its better to have some documentation steps as an initial draft for the users to add these fields, also about the "test connection" button. 





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