Class InternalMigrationService
- java.lang.Object
-
- org.kie.workbench.common.project.cli.InternalMigrationService
-
@ApplicationScoped public class InternalMigrationService extends Object
Performs steps for project migration from within the workbench infrastructure. Requires that repositories have already been migrated to spaces by the external service.
-
-
Constructor Summary
Constructors Constructor Description InternalMigrationService(org.guvnor.common.services.project.service.WorkspaceProjectService projectService, org.guvnor.structure.server.config.ConfigurationService configService, org.guvnor.common.services.project.project.WorkspaceProjectMigrationService projectMigrationService, MigrationRepositoryServiceImpl repoService, org.kie.workbench.common.migration.cli.SystemAccess system, org.guvnor.structure.organizationalunit.config.SpaceConfigStorageRegistry spaceConfigStorageRegistry, org.guvnor.structure.backend.backcompat.BackwardCompatibleUtil backwardCompatibleUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateSpaceDirs(Path niogitDir, List<org.guvnor.structure.server.config.ConfigGroup> orgUnitConfigs)Map<String,String>getOrgUnitsByRepo(List<org.guvnor.structure.server.config.ConfigGroup> orgUnitConfigs)voidmigrateAllProjects(Path niogitDir)
-
-
-
Constructor Detail
-
InternalMigrationService
@Inject public InternalMigrationService(org.guvnor.common.services.project.service.WorkspaceProjectService projectService, org.guvnor.structure.server.config.ConfigurationService configService, org.guvnor.common.services.project.project.WorkspaceProjectMigrationService projectMigrationService, MigrationRepositoryServiceImpl repoService, org.kie.workbench.common.migration.cli.SystemAccess system, org.guvnor.structure.organizationalunit.config.SpaceConfigStorageRegistry spaceConfigStorageRegistry, org.guvnor.structure.backend.backcompat.BackwardCompatibleUtil backwardCompatibleUtil)
-
-