Class EnvironmentService
java.lang.Object
org.qubership.integration.platform.catalog.service.EnvironmentBaseService
org.qubership.integration.platform.runtime.catalog.service.EnvironmentService
@Service
@Transactional
public class EnvironmentService
extends org.qubership.integration.platform.catalog.service.EnvironmentBaseService
-
Field Summary
Fields inherited from class org.qubership.integration.platform.catalog.service.EnvironmentBaseService
actionLogger, environmentRepository, jsonMapper, parserUtils, SPECIFICATION_PARAMETERS_ARE_EMPTY_MESSAGE, systemBaseService -
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentService(org.qubership.integration.platform.catalog.persistence.configs.repository.system.EnvironmentRepository environmentRepository, org.qubership.integration.platform.catalog.service.ActionsLogService actionLogger, SystemService systemService, ServiceEnvironmentMapper serviceEnvironmentMapper, org.qubership.integration.platform.catalog.service.parsers.ParserUtils parserUtils, com.fasterxml.jackson.databind.ObjectMapper jsonMapper) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteEnvironment(String systemId, String environmentId) List<org.qubership.integration.platform.catalog.model.system.ServiceEnvironment> List<org.qubership.integration.platform.catalog.persistence.configs.entity.system.Environment> getActiveEnvironmentsBySystems(List<org.qubership.integration.platform.catalog.persistence.configs.entity.system.IntegrationSystem> systems) org.qubership.integration.platform.catalog.persistence.configs.entity.system.EnvironmentgetByIdForSystem(String systemId, String environmentId) Methods inherited from class org.qubership.integration.platform.catalog.service.EnvironmentBaseService
activateDefaultEnvForExternalSystem, activateEnvironmentByDefault, create, createEnvironmentFromSpecServer, logEnvironmentAction, logEnvironmentAction, resolveEnvironments, resolveEnvironmentsForServers, setDefaultProperties, setDefaultProperties, setEmptyPropertiesForUsedProtocol, update
-
Constructor Details
-
EnvironmentService
@Autowired public EnvironmentService(org.qubership.integration.platform.catalog.persistence.configs.repository.system.EnvironmentRepository environmentRepository, org.qubership.integration.platform.catalog.service.ActionsLogService actionLogger, SystemService systemService, ServiceEnvironmentMapper serviceEnvironmentMapper, org.qubership.integration.platform.catalog.service.parsers.ParserUtils parserUtils, @Qualifier("primaryObjectMapper") com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
-
-
Method Details
-
getByIdForSystem
-
getActiveEnvironmentsBySystems
-
deleteEnvironment
-
generateSystemEnvironments
public List<org.qubership.integration.platform.catalog.model.system.ServiceEnvironment> generateSystemEnvironments(Collection<String> ids)
-