Class SystemService
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
FieldsFields inherited from class org.qubership.integration.platform.catalog.service.SystemBaseService
actionsLogger, systemLabelsRepository, systemRepository -
Constructor Summary
ConstructorsConstructorDescriptionSystemService(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 TypeMethodDescriptionOptional<org.qubership.integration.platform.catalog.persistence.configs.entity.system.IntegrationSystem> deleteByIdAndReturnService(String systemId) org.qubership.integration.platform.catalog.persistence.configs.entity.system.IntegrationSystemList<org.qubership.integration.platform.catalog.persistence.configs.entity.system.IntegrationSystem> findSystemsRequiredGatewayRoutes(Collection<String> systemIds) protected StringgetActiveEnvAddress(org.qubership.integration.platform.catalog.persistence.configs.entity.system.Environment environment) protected org.qubership.integration.platform.catalog.persistence.configs.entity.system.EnvironmentgetActiveEnvironment(org.qubership.integration.platform.catalog.persistence.configs.entity.system.IntegrationSystem system) protected LonggetConnectTimeout(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
-
Field Details
-
SYSTEM_WITH_ID_NOT_FOUND_MESSAGE
- See Also:
-
-
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
-
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)
-