@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 and 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,
SystemAccess system,
org.guvnor.structure.organizationalunit.config.SpaceConfigStorageRegistry spaceConfigStorageRegistry,
org.guvnor.structure.backend.backcompat.BackwardCompatibleUtil backwardCompatibleUtil) |
Modifier and Type | Method and Description |
---|---|
void |
createSpaceDirs(Path niogitDir,
List<org.guvnor.structure.server.config.ConfigGroup> orgUnitConfigs) |
Map<String,String> |
getOrgUnitsByRepo(List<org.guvnor.structure.server.config.ConfigGroup> orgUnitConfigs) |
void |
migrateAllProjects(Path niogitDir) |
@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, SystemAccess system, org.guvnor.structure.organizationalunit.config.SpaceConfigStorageRegistry spaceConfigStorageRegistry, org.guvnor.structure.backend.backcompat.BackwardCompatibleUtil backwardCompatibleUtil)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.