As opposed to using the Ambari REST API to get this information?

On Mon, May 8, 2017 at 8:06 AM, Otto Fowler <ottobackwa...@gmail.com> wrote:

> I was thinking about have an ambari ‘service’ in  the rest api.
> The initial purpose would be to be able to retrieve ambari configuration
> variables for the metron service and components.
>
> The api would be
>
> PUT: login to ambari -> ambari credentials for use with ambari, session
> variable
> GET: /component | service  if login provided, returns the configuration
> GET:/component | service | property name  if login provided get the
> property value for property name
>
> So, the caller would put the credentials, and after that point the caller
> or other services can use ambari service configurations,
> for example to get the configured metron hdfs root directory.
>
> This is opposed to configuring credentials in the rest configuration.
>
> Thoughts?
>

Reply via email to