@Test public void testTriggerStop() { SdxCluster sdxCluster = sdxCluster(); underTest.triggerStopIfClusterNotStopped(sdxCluster); verify(sdxReactorFlowManager).triggerSdxStopFlow(sdxCluster); }
public FlowIdentifier triggerStopIfClusterNotStopped(SdxCluster cluster) { MDCBuilder.buildMdcContext(cluster); checkFreeipaRunning(cluster.getEnvCrn()); return sdxReactorFlowManager.triggerSdxStopFlow(cluster); }
SdxStopService { public FlowIdentifier triggerStopIfClusterNotStopped(SdxCluster cluster) { MDCBuilder.buildMdcContext(cluster); checkFreeipaRunning(cluster.getEnvCrn()); return sdxReactorFlowManager.triggerSdxStopFlow(cluster); } }
SdxStopService { public FlowIdentifier triggerStopIfClusterNotStopped(SdxCluster cluster) { MDCBuilder.buildMdcContext(cluster); checkFreeipaRunning(cluster.getEnvCrn()); return sdxReactorFlowManager.triggerSdxStopFlow(cluster); }  }
SdxStopService { public FlowIdentifier triggerStopIfClusterNotStopped(SdxCluster cluster) { MDCBuilder.buildMdcContext(cluster); checkFreeipaRunning(cluster.getEnvCrn()); return sdxReactorFlowManager.triggerSdxStopFlow(cluster); }  FlowIdentifier triggerStopIfClusterNotStopped(SdxCluster cluster); void stop(Long sdxId); void waitCloudbreakCluster(Long sdxId, PollingConfig pollingConfig); void stopAllDatahub(Long sdxId); }
SdxStopService { public FlowIdentifier triggerStopIfClusterNotStopped(SdxCluster cluster) { MDCBuilder.buildMdcContext(cluster); checkFreeipaRunning(cluster.getEnvCrn()); return sdxReactorFlowManager.triggerSdxStopFlow(cluster); }  FlowIdentifier triggerStopIfClusterNotStopped(SdxCluster cluster); void stop(Long sdxId); void waitCloudbreakCluster(Long sdxId, PollingConfig pollingConfig); void stopAllDatahub(Long sdxId);  }