You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Satyanarayana Jampa <sj...@innominds.com> on 2014/12/22 11:31:24 UTC
Adding custom service - with config
I have created a custom service as a Slave component. And added some config fields t it.
Is there a way to specify that a specific field in a custom service config is read-only.
Thanks,
Satya.
Re: Adding custom service - with config
Posted by Jaimin Jetly <ja...@hortonworks.com>.
Hi Satyanarayana,
Unfortunately there is no way right now to make this happen from service
stack definition. Usually such need requirement is achieved for now by
making changes in the UI javascript code. (Pointer to the JS code: Link
<https://git-wip-us.apache.org/repos/asf/ambari/repo?p=ambari.git;a=blob;f=ambari-web/app/data/HDP2/site_properties.js;h=906ac5b8acbb5344f1e148a4cbbaadf7c72e628b;hb=HEAD>
)
I understand that it is helpful to have the control for making a config
field read-only from service definition in the stack. Please file an Apache
Jira to keep the track of this requirement.
Thanks
Jaimin Jetly
On Mon, Dec 22, 2014 at 2:31 AM, Satyanarayana Jampa <sj...@innominds.com>
wrote:
> I have created a custom service as a Slave component. And added some
> config fields t it.
>
> Is there a way to specify that a specific field in a custom service config
> is read-only.
>
>
>
> Thanks,
>
> Satya.
>
>
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.