Merge changes I695ce026,I87868087,I79bfb06e,I97006ab1,I0516cfa1, ...

* changes:
  Merge PerformRenameGroup into PutName
  Use REST implementation from rename-group SSH command
  Remove duplicate code to add group members
  Merge PerformCreateGroup into CreateGroup
  Remove support for initial groups from PerformCreateGroup
  Use REST implementation to create groups during tests
  Use REST implementation from create-group SSH command
This commit is contained in:
Shawn Pearce
2015-04-12 19:54:10 +00:00
committed by Gerrit Code Review
10 changed files with 309 additions and 411 deletions

View File

@@ -63,8 +63,6 @@ import com.google.gerrit.server.account.GroupDetailFactory;
import com.google.gerrit.server.account.GroupIncludeCacheImpl;
import com.google.gerrit.server.account.GroupInfoCacheFactory;
import com.google.gerrit.server.account.GroupMembers;
import com.google.gerrit.server.account.PerformCreateGroup;
import com.google.gerrit.server.account.PerformRenameGroup;
import com.google.gerrit.server.auth.AuthBackend;
import com.google.gerrit.server.auth.UniversalAuthBackend;
import com.google.gerrit.server.avatar.AvatarProvider;
@@ -197,8 +195,6 @@ public class GerritGlobalModule extends FactoryModule {
factory(MergeFailSender.Factory.class);
factory(MergeUtil.Factory.class);
factory(PatchScriptFactory.Factory.class);
factory(PerformCreateGroup.Factory.class);
factory(PerformRenameGroup.Factory.class);
factory(PluginUser.Factory.class);
factory(ProjectNode.Factory.class);
factory(ProjectState.Factory.class);