Support Questions
Find answers, ask questions, and share your expertise

Add a combo box for custom service in Ambari UI

Add a combo box for custom service in Ambari UI

Explorer

I'm implementing a custom service that is configured via Ambari UI and I want to add property to specify Authentication tyupe that could be either LDAP or KERBEROS. In my service-config.xml I have the following lines:

<property>
<name>serviceAuthType</name>
<value>KERBEROS</value>
<value-attributes>
  <type>attribute-list</type>
  <entries>
    <entry>
      <value>KERBEROS</value>
      <label>KERBEROS</label>
    </entry>
    <entry>
      <value>LDAP</value>
      <label>LDAP</label>
    </entry>
  </entries>
  <selection-cardinality>1</selection-cardinality>
</value-attributes>

but I still having it displayed as normal input not combo box or radio button. I want to see somethinh like Hive has for metastore database selection. Is it possible to achieve that?