Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2436 BeanFactory not initialized or already closed - initialize cont… #2440

Conversation

Limraj
Copy link
Collaborator

@Limraj Limraj commented Dec 16, 2022

…ext MangoContextListener moved to ScadaContextRefreshedEvent, after initialized spring dispatcher servlet, destroy context moved to ScadaContextClosedEvent, removed MangoContextListener in web.xml; Created GetSecurityBeans; def databaseSource moved to applicationContext.xml from spring-security.xml; highestAlarmLevelServiceWithCache disabled lazy-init; BasePooledAccess.initializeImpl(String propertyPrefix, String dataSourceName) databaseSource using from Spring container; DataPointRT - created fields dataPointServiceWebSocket, pointValueService; EventManager - created fields userEventServiceWebsocket, eventsServiceWebSocket; deprecated: User.valueBound moved to AuthenticationUtils, User.valueUnbound moved to ScadaHeaderWriterLogoutHandler, ApplicationBeans.Lazy; HighestAlarmLevelServiceWithCache - changed init method, removed @PostConstruct on init(), initialized in MangoContextListener; corrected tests: ConfigDataPointRtTest, ScriptExecutorTest, ScriptTest, ScriptWithObjectContextEnableDisableDataPointTest, ScriptWithObjectContextEnableDisableDataSourceTest, ScriptWithObjectContextWriteDataPointTest, RuntimeManagerCreateDataPointRtTest, ButtonComponentTest, ScriptComponentTest and MockUtils, ScriptTestUtils;

…ext MangoContextListener moved to ScadaContextRefreshedEvent, after initialized spring dispatcher servlet, destroy context moved to ScadaContextClosedEvent, removed MangoContextListener in web.xml; Created GetSecurityBeans; def databaseSource moved to applicationContext.xml from spring-security.xml; highestAlarmLevelServiceWithCache disabled lazy-init; BasePooledAccess.initializeImpl(String propertyPrefix, String dataSourceName) databaseSource using from Spring container; DataPointRT - created fields dataPointServiceWebSocket, pointValueService; EventManager - created fields userEventServiceWebsocket, eventsServiceWebSocket; deprecated: User.valueBound moved to AuthenticationUtils, User.valueUnbound moved to ScadaHeaderWriterLogoutHandler, ApplicationBeans.Lazy; HighestAlarmLevelServiceWithCache - changed init method, removed @PostConstruct on init(), initialized in MangoContextListener; corrected tests: ConfigDataPointRtTest, ScriptExecutorTest, ScriptTest, ScriptWithObjectContextEnableDisableDataPointTest, ScriptWithObjectContextEnableDisableDataSourceTest, ScriptWithObjectContextWriteDataPointTest, RuntimeManagerCreateDataPointRtTest, ButtonComponentTest, ScriptComponentTest and MockUtils, ScriptTestUtils;
@Limraj Limraj added this to the 2.7.4.1 milestone Dec 16, 2022
@github-actions
Copy link

Java Script Mocha Unit Test Results

268 tests  ±0   268 ✔️ ±0   5s ⏱️ -2s
  70 suites ±0       0 💤 ±0 
    1 files   ±0       0 ±0 

Results for commit cc77b39. ± Comparison against base commit 4607081.

@github-actions
Copy link

Java JUnit Test Results

1 536 tests  ±0   1 536 ✔️ ±0   28s ⏱️ ±0s
     82 suites ±0          0 💤 ±0 
     82 files   ±0          0 ±0 

Results for commit cc77b39. ± Comparison against base commit 4607081.

@Limraj Limraj merged commit 7181c94 into release/2.7.4.1 Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant