Robert Levas created AMBARI-23289:
-------------------------------------
Summary: Add SSO integration support information to service
information via Ambari's REST API
Key: AMBARI-23289
URL: https://issues.apache.org/jira/browse/AMBARI-23289
Project: Ambari
Issue Type: Task
Components: ambari-server
Affects Versions: 2.7.0
Reporter: Robert Levas
Assignee: Robert Levas
Fix For: 2.7.0
Add SSO 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:
* *{{sso_integration_supported}}* - Indicates whether the service supports SSO
integration or not
** Information is expected to be determined by service's meta info (see
BUG-98626)
New _read-only_ properties for installed services should be:
* *{{sso_integration_supported}}* - Indicates whether the service supports SSO
integration or not
** Information is expected to be determined by the service's meta info (see
BUG-98626)
* *{{sso_integration_enabled}}* - Indicates whether the service is configured
for SSO integration or not
** Information is expected to be determined by a value indicated in the
service's meta info (see BUG-98626)
* *{{sso_integration_desired}}* - Indicates whether the service is chosen for
SSO integration or not
** Information is expected to be in {{cluster-env/sso_enabled_services}} (see
BUG-98451)
Examples:
{noformat:title=Get stack service details}
GET /api/v1/stacks/:STACK_NAME/versions/:VERSION/services/:SERVICE_NAME",
{
"href" : ":URL",
"StackServices" : {
...
"sso_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",
...
"sso_integration_supported": "true",
"sso_integration_enabled": "false",
"sso_integration_desired": "false",
...
},
...
{noformat}
{noformat:title=List installed services that support SSO integration}
GET
/api/v1/clusters/:CLUSTER_NAME/services?ServiceInfo/sso_integration_supported=true
{
"href" : ":URL",
"items" : [
...
]
}
{noformat}
{noformat:title=List stack services that support SSO integration}
GET
/api/v1/stacks/:STACK_NAME/versions/:VERSION/services?StackServices/credential_store_enabled=false
{
"href" : ":URL",
"items" : [
...
]
}
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)