Sandor Molnar created AMBARI-24927:
--------------------------------------
Summary: Add LDAP integration support information to service
information via Ambari's REST API
Key: AMBARI-24927
URL: https://issues.apache.org/jira/browse/AMBARI-24927
Project: Ambari
Issue Type: Task
Components: ambari-server
Affects Versions: 2.8.0
Reporter: Sandor Molnar
Assignee: Sandor Molnar
Fix For: 2.8.0
Add LDAP integration support information to service information via Ambari's
REST API. This information should be usable by Ambari's search predicate
feature.
New _read-only_ properties for (stack) services should be:
* *{{ldap_integration_supported}}* - Indicates whether the service supports
LDAP integration or not
** Information is expected to be determined by service's meta info (see
AMBARI-24907)
New _read-only_ properties for installed services should be:
* *{{ldap_integration_supported}}* - Indicates whether the service supports
LDAP integration or not
** Information is expected to be determined by service's meta info (see
AMBARI-24907 )
* *{{ldap_integration_enabled}}* - Indicates whether the service is configured
for LDAP integration or not
** Information is expected to be determined by a value indicated in the
service's meta info (see AMBARI-24907)
* *{{ldap_integration_desired}}* - Indicates whether the service is chosen for
LDAP integration or not (see AMBARI-24913)
** Information is expected to be in the Ambari configurations with the
property name {{ldap_enabled_services}}
Examples:
{noformat:title=Get stack service details}
GET /api/v1/stacks/:STACK_NAME/versions/:VERSION/services/:SERVICE_NAME",
{
"href" : ":URL",
"StackServices" : {
...
"ldap_integration_supported": "false",
...
},
...
{noformat}
{noformat:title=Get installed service information}
GET /api/v1/clusters/:CLUSTER_NAME/services/:SERVICE_NAME
{
"href" : ":URL",
"ServiceInfo" : {
"cluster_name" : ":CLUSTER_NAME",
...
"ldap_integration_supported": "true",
"ldap_integration_enabled": "false",
"ldap_integration_desired": "false",
...
},
...
{noformat}
{noformat:title=List installed services that support LDAP integration}
GET
/api/v1/clusters/:CLUSTER_NAME/services?ServiceInfo/ldap_integration_supported=true
{
"href" : ":URL",
"items" : [
...
]
}
{noformat}
{noformat:title=List stack services that support LDAP integration}
GET
/api/v1/stacks/:STACK_NAME/versions/:VERSION/services?StackServices/ldap_integration_supported=true
{
"href" : ":URL",
"items" : [
...
]
}{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)