java.lang.Object
org.qubership.integration.platform.catalog.service.SystemModelBaseService
org.qubership.integration.platform.runtime.catalog.service.SystemModelService

@Service public class SystemModelService extends org.qubership.integration.platform.catalog.service.SystemModelBaseService
  • Field Summary

    Fields inherited from class org.qubership.integration.platform.catalog.service.SystemModelBaseService

    actionLogger, codeGenerators, compilerService, EMPTY_STRING, SYSTEM_MODEL_WITH_ID_NOT_FOUND_MESSAGE, systemModelLabelsRepository, systemModelRepository
  • Constructor Summary

    Constructors
    Constructor
    Description
    SystemModelService(org.qubership.integration.platform.catalog.persistence.configs.repository.system.SystemModelRepository systemModelRepository, List<org.qubership.integration.platform.catalog.service.codegen.SystemModelCodeGenerator> codeGenerators, org.qubership.integration.platform.catalog.service.compiler.CompilerService compilerService, org.qubership.integration.platform.catalog.persistence.configs.repository.system.SystemModelLabelsRepository systemModelLabelsRepository, ChainService chainService, org.qubership.integration.platform.catalog.service.ActionsLogService actionLogger)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<org.qubership.integration.platform.catalog.persistence.configs.entity.system.SystemModel>
     
    org.springframework.data.util.Pair<byte[],String>
     
    org.qubership.integration.platform.catalog.persistence.configs.entity.system.SystemModel
     

    Methods inherited from class org.qubership.integration.platform.catalog.service.SystemModelBaseService

    countBySpecificationGroupIdAndVersion, delete, getMainSystemModelSource, getMainSystemModelSpecSource, getSystemModel, getSystemModelsBySpecificationGroupId, logModelAction, patchModelWithCompiledLibrary, save, update, updateCompiledLibrariesForSystem

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SystemModelService

      @Autowired public SystemModelService(org.qubership.integration.platform.catalog.persistence.configs.repository.system.SystemModelRepository systemModelRepository, List<org.qubership.integration.platform.catalog.service.codegen.SystemModelCodeGenerator> codeGenerators, org.qubership.integration.platform.catalog.service.compiler.CompilerService compilerService, org.qubership.integration.platform.catalog.persistence.configs.repository.system.SystemModelLabelsRepository systemModelLabelsRepository, ChainService chainService, org.qubership.integration.platform.catalog.service.ActionsLogService actionLogger)
  • Method Details

    • getSystemModelOrElseNull

      public org.qubership.integration.platform.catalog.persistence.configs.entity.system.SystemModel getSystemModelOrElseNull(String modelId)
    • getCompiledLibrary

      @Transactional public org.springframework.data.util.Pair<byte[],String> getCompiledLibrary(String modelId)
    • deleteSystemModelByIdIfExists

      public Optional<org.qubership.integration.platform.catalog.persistence.configs.entity.system.SystemModel> deleteSystemModelByIdIfExists(String modelId)