[ 
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_02.patch

Attaching same patch to trigger Jenikins.. test failure was unrelated to 
changes.

Patch File [^AMBARI-9230_02.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
>
>
> 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)

Reply via email to