Skip to content

Commit

Permalink
Merge pull request #268 from codenvy/fixAgent
Browse files Browse the repository at this point in the history
CLDIDE-2659 Move user resolving for git operations into separate class
  • Loading branch information
mshaposhnik committed Feb 4, 2016
2 parents 9f61a4c + 0d53f73 commit 84b004f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import org.eclipse.che.api.core.rest.ApiInfoService;
import org.eclipse.che.api.core.rest.CoreRestModule;
import org.eclipse.che.api.git.GitConnectionFactory;
import org.eclipse.che.api.git.GitUserResolver;
import org.eclipse.che.api.local.LocalUserDaoImpl;
import org.eclipse.che.api.project.server.BaseProjectModule;
import org.eclipse.che.api.ssh.server.HttpSshServiceClient;
Expand All @@ -32,6 +33,7 @@
import org.eclipse.che.everrest.CodenvyAsynchronousJobPool;
import org.eclipse.che.generator.archetype.ArchetypeGenerator;
import org.eclipse.che.generator.archetype.ArchetypeGeneratorModule;
import org.eclipse.che.git.impl.nativegit.LocalGitUserResolver;
import org.eclipse.che.git.impl.nativegit.NativeGitConnectionFactory;
import org.eclipse.che.ide.ext.github.server.inject.GitHubModule;
import org.eclipse.che.ide.ext.java.jdi.server.DebuggerService;
Expand Down Expand Up @@ -85,7 +87,8 @@ protected void configure() {

bind(ArchetypeGenerator.class);
bind(DebuggerService.class);


bind(GitUserResolver.class).to(LocalGitUserResolver.class);
bind(GitConnectionFactory.class).to(NativeGitConnectionFactory.class);

bind(AsynchronousJobPool.class).to(CodenvyAsynchronousJobPool.class);
Expand Down

0 comments on commit 84b004f

Please sign in to comment.