The refresh environement configuration operation in the REST API returns HTTP 200 event if the core component initialization fails
Opened this issue · 0 comments
athrane commented
Invoking Refresh environment configuration, i.e. "api/configuration/refresh", always return HTTP 200 event if initialization of the component fails.
The challenge is that this should be implemented as the execution operation, i.e. api/execute/module/{module}/operation/{operation}/environment/{environment}, which returns a location where the result can be obtained.
The failing test case is named: ConfigurationControllerIntegrationTest.testPostRefreshEnvironmentConfiguration_ReturnsHttpServerError().
Maybe the CapturingResultListener from ExecuteControllerIntegrationTest can be used?