java.lang.Object
org.qubership.integration.platform.catalog.service.SystemBaseService
org.qubership.integration.platform.runtime.catalog.service.SystemService

@Service public class SystemService extends org.qubership.integration.platform.catalog.service.SystemBaseService
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

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

    actionsLogger, systemLabelsRepository, systemRepository
  • Constructor Summary

    Constructors
    Constructor
    Description
    SystemService(org.qubership.integration.platform.catalog.persistence.configs.repository.system.SystemRepository systemRepository, org.qubership.integration.platform.catalog.service.ActionsLogService actionsLogger, org.qubership.integration.platform.catalog.persistence.configs.repository.system.IntegrationSystemLabelsRepository systemLabelsRepository, ChainService chainService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<org.qubership.integration.platform.catalog.persistence.configs.entity.system.IntegrationSystem>
     
    org.qubership.integration.platform.catalog.persistence.configs.entity.system.IntegrationSystem
    findById(String systemId)
     
    List<org.qubership.integration.platform.catalog.persistence.configs.entity.system.IntegrationSystem>
     
    protected String
    getActiveEnvAddress(org.qubership.integration.platform.catalog.persistence.configs.entity.system.Environment environment)
     
    protected org.qubership.integration.platform.catalog.persistence.configs.entity.system.Environment
    getActiveEnvironment(org.qubership.integration.platform.catalog.persistence.configs.entity.system.IntegrationSystem system)
     
    protected Long
    getConnectTimeout(org.qubership.integration.platform.catalog.persistence.configs.entity.system.Environment activeEnvironment)
     

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

    create, create, delete, getAll, getByIdOrNull, logSystemAction, save, update, update, validateSpecificationProtocol

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • SystemService

      @Autowired public SystemService(org.qubership.integration.platform.catalog.persistence.configs.repository.system.SystemRepository systemRepository, org.qubership.integration.platform.catalog.service.ActionsLogService actionsLogger, org.qubership.integration.platform.catalog.persistence.configs.repository.system.IntegrationSystemLabelsRepository systemLabelsRepository, @Lazy ChainService chainService)
  • Method Details

    • findSystemsRequiredGatewayRoutes

      @Transactional public List<org.qubership.integration.platform.catalog.persistence.configs.entity.system.IntegrationSystem> findSystemsRequiredGatewayRoutes(Collection<String> systemIds)
    • deleteByIdAndReturnService

      public Optional<org.qubership.integration.platform.catalog.persistence.configs.entity.system.IntegrationSystem> deleteByIdAndReturnService(String systemId)
    • getActiveEnvironment

      protected org.qubership.integration.platform.catalog.persistence.configs.entity.system.Environment getActiveEnvironment(org.qubership.integration.platform.catalog.persistence.configs.entity.system.IntegrationSystem system)
    • getActiveEnvAddress

      protected String getActiveEnvAddress(org.qubership.integration.platform.catalog.persistence.configs.entity.system.Environment environment) throws EnvironmentSetUpException
      Throws:
      EnvironmentSetUpException
    • getConnectTimeout

      protected Long getConnectTimeout(org.qubership.integration.platform.catalog.persistence.configs.entity.system.Environment activeEnvironment)
    • findById

      @Transactional public org.qubership.integration.platform.catalog.persistence.configs.entity.system.IntegrationSystem findById(String systemId)