@Override
      public Void invoke() throws AmbariException {
        getManagementController().createGroups(requests);
        return null;
      }
Create a new resource provider for the given management controller.

@param managementController  the management controller
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/GroupResourceProvider.java