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

    Constructors
    Constructor
    Description
    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, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteEnvironment(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.Environment
    getByIdForSystem(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public org.qubership.integration.platform.catalog.persistence.configs.entity.system.Environment getByIdForSystem(String systemId, String environmentId)
    • getActiveEnvironmentsBySystems

      public List<org.qubership.integration.platform.catalog.persistence.configs.entity.system.Environment> getActiveEnvironmentsBySystems(List<org.qubership.integration.platform.catalog.persistence.configs.entity.system.IntegrationSystem> systems)
    • deleteEnvironment

      public void deleteEnvironment(String systemId, String environmentId)
    • generateSystemEnvironments

      public List<org.qubership.integration.platform.catalog.model.system.ServiceEnvironment> generateSystemEnvironments(Collection<String> ids)