You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Robert Levas (JIRA)" <ji...@apache.org> on 2015/01/21 12:45:34 UTC
[jira] [Updated] (AMBARI-9230) Add getUpdateDirectives to
org.apache.ambari.server.api.resources.ResourceDefinition and use when
handling PUT requests
[ 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_01.patch
* Updates to allow for directive to be captured and passed to update handler
* Updated unit tests
Patch File [^AMBARI-9230_01.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
>
>
> 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)