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, PredeployCheckKafkaConfiguration predeployCheckKafkaConfiguration, ExternalLibraryGroovyShellFactory groovyShellFactory, GroovyLanguageWithResettableCache groovyLanguage, MetricsStore metricsStore, CamelComponentDependencyBinder dependencyBinder, Optional<ExternalLibraryService> externalLibraryService, Optional<MaasService> maasService, Optional<ControlPlaneService> controlPlaneService, Optional<XmlConfigurationPreProcessor> xmlPreProcessor, VariablesService variablesService, EngineStateReporter engineStateReporter, Executor deploymentExecutor, CamelDebuggerPropertiesService propertiesService, int streamCachingBufferSizeKb, Predicate<FilteringMessageHistoryFactory.FilteringEntity> camelMessageHistoryFilter, DataSource qrtzDataSource, Optional<SdsService> sdsService, DeploymentReadinessService deploymentReadinessService, ApplicationConfiguration applicationConfiguration, org.springframework.beans.factory.ObjectProvider<WeblogicSecurityBean> wlSecurityBeanProvider, org.springframework.beans.factory.ObjectProvider<WeblogicSecurityInterceptStrategy> wlSecurityInterceptStrategyProvider, org.springframework.beans.factory.ObjectProvider<WeblogicSecureThreadFactory> wlSecureThreadFactoryProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprocessAndUpdateState(DeploymentsUpdate update, boolean retry) Start parallel deployments processing, wait for completion and update engine statevoidvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) void
-
Constructor Details
-
IntegrationRuntimeService
@Autowired public IntegrationRuntimeService(ServerConfiguration serverConfiguration, QuartzSchedulerService quartzSchedulerService, TracingConfiguration tracingConfiguration, PredeployCheckKafkaConfiguration predeployCheckKafkaConfiguration, ExternalLibraryGroovyShellFactory groovyShellFactory, GroovyLanguageWithResettableCache groovyLanguage, MetricsStore metricsStore, CamelComponentDependencyBinder dependencyBinder, Optional<ExternalLibraryService> externalLibraryService, Optional<MaasService> maasService, Optional<ControlPlaneService> controlPlaneService, 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, @Qualifier("qrtzDataSource") DataSource qrtzDataSource, Optional<SdsService> sdsService, DeploymentReadinessService deploymentReadinessService, ApplicationConfiguration applicationConfiguration, org.springframework.beans.factory.ObjectProvider<WeblogicSecurityBean> wlSecurityBeanProvider, org.springframework.beans.factory.ObjectProvider<WeblogicSecurityInterceptStrategy> wlSecurityInterceptStrategyProvider, org.springframework.beans.factory.ObjectProvider<WeblogicSecureThreadFactory> wlSecureThreadFactoryProvider)
-
-
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() -
startAllRoutesOnInit
public void startAllRoutesOnInit()
-