Robert Levas created AMBARI-9230:
------------------------------------

             Summary: 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
             Fix For: 2.0.0


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