Class ImportInstructionsService
java.lang.Object
org.qubership.integration.platform.variables.management.service.exportimport.instructions.ImportInstructionsService
-
Constructor Summary
ConstructorsConstructorDescriptionImportInstructionsService(com.fasterxml.jackson.dataformat.yaml.YAMLMapper yamlMapper, ImportInstructionsRepository importInstructionsRepository, ImportInstructionsMapper importInstructionsMapper, ConsulService consulService, ImportInstructionsFilterSpecificationBuilder importInstructionsFilterSpecificationBuilder, EntityValidator entityValidator, ActionsLogService actionsLogService) -
Method Summary
Modifier and TypeMethodDescriptionaddImportInstruction(ImportInstruction importInstruction) voiddeleteImportInstructionsByIds(List<String> importInstructionsIds) performIgnoreInstructions(Set<String> variablesToImport) searchImportInstructions(String searchCondition) updateImportInstruction(ImportInstruction importInstruction) uploadImportInstructions(org.springframework.web.multipart.MultipartFile importInstructionsConfigFile, List<String> labels)
-
Constructor Details
-
ImportInstructionsService
@Autowired public ImportInstructionsService(@Qualifier("yamlMapper") com.fasterxml.jackson.dataformat.yaml.YAMLMapper yamlMapper, ImportInstructionsRepository importInstructionsRepository, ImportInstructionsMapper importInstructionsMapper, ConsulService consulService, ImportInstructionsFilterSpecificationBuilder importInstructionsFilterSpecificationBuilder, EntityValidator entityValidator, ActionsLogService actionsLogService)
-
-
Method Details
-
getImportInstructions
-
getImportInstructions
-
searchImportInstructions
-
getImportInstructionsConfig
-
addImportInstruction
-
updateImportInstruction
@Transactional public ImportInstruction updateImportInstruction(ImportInstruction importInstruction) -
deleteImportInstructionsByIds
-
uploadImportInstructions
@Transactional(propagation=REQUIRES_NEW) public List<ImportInstructionsExecutionResult> uploadImportInstructions(org.springframework.web.multipart.MultipartFile importInstructionsConfigFile, List<String> labels) -
performIgnoreInstructions
@Transactional(propagation=REQUIRES_NEW) public PerformInstructionsResult performIgnoreInstructions(Set<String> variablesToImport)
-