refactor: empty noop implementation
The `NoopIntegrationController` would run exactly the same as the
default (S2I) `IntegrationController`, this makes the implementation be
a noop, as the name applies.
*/
package io.syndesis.server.controller.integration.noop;
-import io.syndesis.common.util.EventBus;
-import io.syndesis.server.controller.ControllersConfigurationProperties;
-import io.syndesis.server.controller.StateChangeHandlerProvider;
-import io.syndesis.server.controller.integration.online.IntegrationController;
-import io.syndesis.server.dao.manager.DataManager;
-import io.syndesis.server.openshift.OpenShiftService;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Service;
@Service
@ConditionalOnProperty(value = "controllers.integration", havingValue = "noop")
-public class NoopIntegrationController extends IntegrationController {
-
- public NoopIntegrationController(OpenShiftService openShiftService, DataManager dataManager, EventBus eventBus, StateChangeHandlerProvider handlerFactory, ControllersConfigurationProperties properties) {
- super(openShiftService, dataManager, eventBus, handlerFactory, properties);
- }
+public class NoopIntegrationController {
+ // do nothing
}
