ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Levas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-9230) Add getUpdateDirectives to org.apache.ambari.server.api.resources.ResourceDefinition and use when handling PUT requests
Date Tue, 27 Jan 2015 18:54:34 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-9230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Levas updated AMBARI-9230:
---------------------------------
    Attachment: AMBARI-9230_03.patch

Fixed comment as suggested in review.

Patch File [^AMBARI-9230_03.patch]

> Add getUpdateDirectives to org.apache.ambari.server.api.resources.ResourceDefinition
and use when handling PUT requests
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-9230
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9230
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>              Labels: api
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9230_01.patch, AMBARI-9230_02.patch, AMBARI-9230_02.patch,
AMBARI-9230_03.patch
>
>
> Add {{getUpdateDirectives}} method to {{org.apache.ambari.server.api.resources.ResourceDefinition}}:
> {code}
>   public Collection<String> getUpdateDirectives();
> {code}
> Add default implementation to {{org.apache.ambari.server.api.resources.BaseResourceDefinition}}
to return an empty Set
> Update {{org.apache.ambari.server.api.services.RequestFactory}} to process _update directives_
like it processes _create directives_ - see {{org.apache.ambari.server.api.services.RequestFactory#createPostRequest}}



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

Mime
View raw message