ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-15077) Auto-start services: Backend API and DB changes for component auto start
Date Fri, 19 Feb 2016 20:53:18 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-15077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15154848#comment-15154848
] 

Hudson commented on AMBARI-15077:
---------------------------------

ABORTED: Integrated in Ambari-trunk-Commit #4359 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4359/])
AMBARI-15077: Auto-start services - Backend API and DB changes for (nsomasundaram: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=fca04c305c472db7a11d9b121b3de38a4f176f84])
* ambari-server/src/main/java/org/apache/ambari/server/controller/ServiceComponentRequest.java
* ambari-server/src/main/resources/properties.json
* ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/controller/ServiceComponentResponse.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ComponentResourceProvider.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ComponentResourceProviderTest.java
* ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ServiceComponentDesiredStateEntity.java
* ambari-server/src/main/java/org/apache/ambari/server/state/ServiceComponent.java
* ambari-server/src/main/java/org/apache/ambari/server/state/ServiceComponentImpl.java
* ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql


> Auto-start services: Backend API and DB changes for component auto start
> ------------------------------------------------------------------------
>
>                 Key: AMBARI-15077
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15077
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Nahappan Somasundaram
>            Assignee: Nahappan Somasundaram
>              Labels: ambari-server
>             Fix For: 2.4.0
>
>         Attachments: rb43671.patch
>
>
> Add a new field *recovery_enabled* in *servicecomponentdesiredstate* and provide API
support for PUT and GET.
> *Type: PUT*
> Request 1: api/v1/clusters/<cluster_name>/components?ServiceComponentInfo/component_name.in(<enabled_component_names>)
> Request Params: application/json
> {
> 	ServiceComponentInfo: {
> 		“recovery_enabled”: “true”
> 	}
> }
> Request 2:
> api/v1/clusters/<cluster_name>/components?ServiceComponentInfo/component_name.in(<disabled_component_names>)
> Request Params: application/json
> {
> 	ServiceComponentInfo: {
> 		recovery_enabled: “false”
> 	}
> }
> Request 3:
> api/v1/clusters/testcluster/components/<component_name> 
> Request Params: application/json
> '{"ServiceComponentInfo" : {"recovery_enabled":"false"}}'
> *Type:GET*
> Request: api/v1/clusters/<cluster_name>/components?fields=ServiceComponentInfo/component_name,ServiceComponentInfo/service_name,ServiceComponentInfo/category,ServiceComponentInfo/recovery_enabled



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message