ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Satyanarayana Jampa <sja...@innominds.com>
Subject custom service config with radio button options
Date Wed, 14 Dec 2016 11:29:08 GMT
Hi,
                I have a custom service which needs some configuration values to be selected
for a configuration property which has radio buttons. I am using the below my_config.xml,
but these properties are not being showed up during the installation of this service.  I only
see "Custom my-config" tab.
Can some one let me know, what is wrong here

<configuration supports_final="true">
  <property>
    <name>method_type</name>
    <value>option1</value>
    <display-name>Authentication Method</display-name>
    <value-attributes>
      <type>value-list</type>
      <entries>
        <entry>
          <value>1</value>
          <label>option1</label>
        </entry>
        <entry>
          <value>2</value>
          <label> option2</label>
        </entry>
        <entry>
          <value>3</value>
          <label> option3</label>
        </entry>
      </entries>
      <selection-cardinality>1</selection-cardinality>
    </value-attributes>
  </property>
  <property require_input="true">
    <name>BASE_URL</name>
    <display-name>URL</display-name>
    <value>ldap://hostname:389</value>
  </property>
</configuration>

Mime
View raw message