[
https://issues.apache.org/jira/browse/AMBARI-23289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16412707#comment-16412707
]
Hudson commented on AMBARI-23289:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #8906 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/8906/])
AMBARI-23289. Add SSO integration support information to service (m.magyar3:
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=a8c2d0de1b17ae5804e1819e1b7c94e560930a00])
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AmbariServerConfigurationHandler.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ServiceResourceProvider.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/controller/ServiceResponse.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/controller/StackServiceResponse.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackServiceResourceProvider.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/state/ServiceImpl.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/state/ServiceInfo.java
* (add)
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AmbariServerConfigurationHandlerTest.java
> 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: Attila Magyar
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.7.0
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> 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)