Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

The refresh environement configuration operation in the REST API returns HTTP 200 event if the core component initialization fails #342

Open
athrane opened this issue Feb 17, 2019 · 0 comments

Comments

@athrane
Copy link
Owner

athrane commented Feb 17, 2019

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant