Class IntegrationRuntimeService
java.lang.Object
org.qubership.integration.platform.engine.service.IntegrationRuntimeService
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@Service
public class IntegrationRuntimeService
extends Object
implements org.springframework.context.ApplicationContextAware
-
Constructor Summary
ConstructorsConstructorDescriptionIntegrationRuntimeService(ServerConfiguration serverConfiguration, QuartzSchedulerService quartzSchedulerService, TracingConfiguration tracingConfiguration, ExternalLibraryGroovyShellFactory groovyShellFactory, GroovyLanguageWithResettableCache groovyLanguage, MetricsStore metricsStore, Optional<ExternalLibraryService> externalLibraryService, Optional<MaasService> maasService, Optional<XmlConfigurationPreProcessor> xmlPreProcessor, VariablesService variablesService, EngineStateReporter engineStateReporter, Executor deploymentExecutor, CamelDebuggerPropertiesService propertiesService, int streamCachingBufferSizeKb, Predicate<FilteringMessageHistoryFactory.FilteringEntity> camelMessageHistoryFilter, DeploymentReadinessService deploymentReadinessService, DeploymentProcessingService deploymentProcessingService) -
Method Summary
Modifier and TypeMethodDescriptiongetCache()voidvoidprocessAndUpdateState(DeploymentsUpdate update, boolean retry) Start parallel deployments processing, wait for completion and update engine statevoidvoidvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidvoid
-
Constructor Details
-
IntegrationRuntimeService
@Autowired public IntegrationRuntimeService(ServerConfiguration serverConfiguration, QuartzSchedulerService quartzSchedulerService, TracingConfiguration tracingConfiguration, ExternalLibraryGroovyShellFactory groovyShellFactory, GroovyLanguageWithResettableCache groovyLanguage, MetricsStore metricsStore, Optional<ExternalLibraryService> externalLibraryService, Optional<MaasService> maasService, Optional<XmlConfigurationPreProcessor> xmlPreProcessor, VariablesService variablesService, EngineStateReporter engineStateReporter, @Qualifier("deploymentExecutor") Executor deploymentExecutor, CamelDebuggerPropertiesService propertiesService, @Value("${qip.camel.stream-caching.buffer.size-kb}") int streamCachingBufferSizeKb, Predicate<FilteringMessageHistoryFactory.FilteringEntity> camelMessageHistoryFilter, DeploymentReadinessService deploymentReadinessService, DeploymentProcessingService deploymentProcessingService)
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(@NotNull org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
onExternalLibrariesUpdated
-
buildExcludeDeploymentsMap
-
processAndUpdateState
public void processAndUpdateState(DeploymentsUpdate update, boolean retry) throws ExecutionException, InterruptedException Start parallel deployments processing, wait for completion and update engine state -
retryProcessingDeploys
public void retryProcessingDeploys() -
getCache
-
startAllRoutesOnInit
public void startAllRoutesOnInit() -
suspendAllSchedulers
public void suspendAllSchedulers() -
resumeAllSchedulers
public void resumeAllSchedulers()
-