protected ResourceType getResourceType(Request request, Predicate predicate) {
    return ResourceType.CLUSTER;
  }
Gets the ResourceType that is effected by the relevant request and predicate.
<p/>
Implementations should override this method return the proper ResourceType.

@param request   the request object which defines the desired set of properties
@param predicate the predicate object which can be used to indicate the filter
@return a ResourceType
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractAuthorizedResourceProvider.java