Class ImportService
java.lang.Object
org.qubership.integration.platform.runtime.catalog.service.exportimport.ImportService
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.qubership.integration.platform.catalog.service.ActionsLogServiceDeprecated.protected final org.qubership.integration.platform.catalog.persistence.configs.repository.chain.ChainRepositoryDeprecated.protected final SnapshotServiceDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionImportService(ChainExternalEntityMapper chainExternalEntityMapper, com.fasterxml.jackson.dataformat.yaml.YAMLMapper yamlMapper, com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.qubership.integration.platform.catalog.service.ActionsLogService actionLogger, List<ChainImportFileMigration> importFileMigrations, DeploymentService deploymentService, SnapshotService snapshotService, EngineService engineService, ChainService chainService, FolderService folderService, org.qubership.integration.platform.catalog.persistence.configs.repository.chain.ChainRepository chainRepository, ImportSessionService importProgressService, ChainImportService chainImportService, org.springframework.transaction.support.TransactionTemplate transactionTemplate) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.qubership.integration.platform.catalog.persistence.configs.entity.chain.DeploymentcreateDeployment(org.qubership.integration.platform.catalog.persistence.configs.entity.chain.Snapshot snapshot, List<org.qubership.integration.platform.catalog.persistence.configs.entity.chain.Deployment> excludeDeployments, DeploymentExternalEntity deployment) Deprecated.protected voiddeployChains(List<ChainDeployPrepare> chainsToDeploy) Deprecated.protected voiddeployChains(List<ChainDeployPrepare> chainsToDeploy, String importId) Deprecated.protected FilegetChainYAMLFile(File chainDir) Deprecated.getImportAsyncResult(String importId) Deprecated.getUsedSystemIdsFromNode(com.fasterxml.jackson.databind.JsonNode elementsNode) Deprecated.protected ChainCompareDTOgetYamlBasicChainInfo(String yamlContent) Deprecated.importFile(org.springframework.web.multipart.MultipartFile file, List<ChainCommitRequest> commitRequests, Set<String> technicalLabels) Deprecated.importFileAsPreview(org.springframework.web.multipart.MultipartFile file) Deprecated.importFileAsync(org.springframework.web.multipart.MultipartFile file, List<ChainCommitRequest> commitRequests, Set<String> technicalLabels) Deprecated.protected ChainCommitDTOimportToCommitDTOTransform(ImportChainResult importChainDTO, String archiveName) Deprecated.Deprecated.protected StringmigrateToActualFileVersion(String fileContent) Deprecated.restoreChainFromDir(File chainFilesDir, List<ChainCommitRequest> commitRequests, Set<String> technicalLabels) Deprecated.restoreChainFromYaml(String yaml, File chainFilesDir, List<ChainCommitRequest> commitRequests, Set<String> technicalLabels) Deprecated.restoreChainPreviewFromDir(File chainFilesDir) Deprecated.Deprecated.unpackZIP(InputStream is) Deprecated.
-
Field Details
-
actionLogger
protected final org.qubership.integration.platform.catalog.service.ActionsLogService actionLoggerDeprecated. -
snapshotService
Deprecated. -
chainRepository
protected final org.qubership.integration.platform.catalog.persistence.configs.repository.chain.ChainRepository chainRepositoryDeprecated.
-
-
Constructor Details
-
ImportService
@Autowired public ImportService(ChainExternalEntityMapper chainExternalEntityMapper, com.fasterxml.jackson.dataformat.yaml.YAMLMapper yamlMapper, @Qualifier("primaryObjectMapper") com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.qubership.integration.platform.catalog.service.ActionsLogService actionLogger, List<ChainImportFileMigration> importFileMigrations, DeploymentService deploymentService, SnapshotService snapshotService, EngineService engineService, ChainService chainService, FolderService folderService, org.qubership.integration.platform.catalog.persistence.configs.repository.chain.ChainRepository chainRepository, ImportSessionService importProgressService, ChainImportService chainImportService, org.springframework.transaction.support.TransactionTemplate transactionTemplate) Deprecated.
-
-
Method Details
-
importFileAsPreview
Deprecated. -
restoreChainPreviewFromDir
Deprecated. -
restoreChainPreviewFromYaml
Deprecated. -
getUsedSystemIdsFromNode
protected Set<String> getUsedSystemIdsFromNode(com.fasterxml.jackson.databind.JsonNode elementsNode) Deprecated. -
importFileAsync
public String importFileAsync(org.springframework.web.multipart.MultipartFile file, List<ChainCommitRequest> commitRequests, Set<String> technicalLabels) Deprecated. -
getImportAsyncResult
Deprecated. -
importFile
public ImportDTO importFile(org.springframework.web.multipart.MultipartFile file, List<ChainCommitRequest> commitRequests, Set<String> technicalLabels) Deprecated. -
restoreChainFromYaml
public ImportChainResult restoreChainFromYaml(String yaml, File chainFilesDir, List<ChainCommitRequest> commitRequests, Set<String> technicalLabels) Deprecated. -
restoreChainFromDir
public ImportChainResult restoreChainFromDir(File chainFilesDir, List<ChainCommitRequest> commitRequests, Set<String> technicalLabels) Deprecated. -
getChainYAMLFile
Deprecated.- Throws:
IOException
-
deployChains
Deprecated. -
deployChains
Deprecated. -
createDeployment
protected org.qubership.integration.platform.catalog.persistence.configs.entity.chain.Deployment createDeployment(org.qubership.integration.platform.catalog.persistence.configs.entity.chain.Snapshot snapshot, List<org.qubership.integration.platform.catalog.persistence.configs.entity.chain.Deployment> excludeDeployments, DeploymentExternalEntity deployment) Deprecated. -
importToCommitDTOTransform
protected ChainCommitDTO importToCommitDTOTransform(ImportChainResult importChainDTO, String archiveName) Deprecated. -
unpackZIP
Deprecated.- Throws:
IOException
-
importZIPAsPreview
Deprecated. -
migrateToActualFileVersion
Deprecated.- Throws:
Exception
-
getYamlBasicChainInfo
Deprecated.- Throws:
IOException
-
GeneralImportServiceinstead