21798bf95c223c4f56a4faecfbf68476c6948806
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method public handle(event PodEvent) : void from class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime.UnrecoverablePodEventHandler to protected handleUnrecoverableEvent(podEvent PodEvent) : void from class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type toolingProvisioner : SidecarToolingProvisioner to toolingProvisioner : SidecarToolingProvisioner<OpenShiftEnvironment> in method public OpenShiftInternalRuntime(workspaceStartTimeout int, ingressStartTimeout int, urlRewriter NoOpURLRewriter, unrecoverablePodEventListenerFactory UnrecoverablePodEventListenerFactory, bootstrapperFactory KubernetesBootstrapperFactory, serverCheckerFactory ServersCheckerFactory, volumesStrategy WorkspaceVolumesStrategy, probeScheduler ProbeScheduler, probesFactory WorkspaceProbesFactory, eventPublisher RuntimeEventsPublisher, sharedPool KubernetesSharedPool, runtimesStatusesCache KubernetesRuntimeStateCache, machinesCache KubernetesMachineCache, startSynchronizerFactory StartSynchronizerFactory, internalEnvironmentProvisioners Set<InternalEnvironmentProvisioner>, kubernetesEnvironmentProvisioner OpenShiftEnvironmentProvisioner, toolingProvisioner SidecarToolingProvisioner<OpenShiftEnvironment>, context OpenShiftRuntimeContext, project OpenShiftProject, warnings List<Warning>) in class org.eclipse.che.workspace.infrastructure.openshift.OpenShiftInternalRuntime | From | To | |
Move Method | 4 | ||
Move Method public testDoNotHandleUnrecoverableEventFromNonWorkspacePod() : void from class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntimeTest to public testDoNotHandleUnrecoverableEventFromNonWorkspacePod() : void from class org.eclipse.che.workspace.infrastructure.kubernetes.util.UnrecoverablePodEventListenerTest | From | To | |
Move Method public testHandleRegularEvent() : void from class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntimeTest to public testHandleRegularEvent() : void from class org.eclipse.che.workspace.infrastructure.kubernetes.util.UnrecoverablePodEventListenerTest | From | To | |
Move Method public testHandleUnrecoverableEventByMessage() : void from class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntimeTest to public testHandleUnrecoverableEventByMessage() : void from class org.eclipse.che.workspace.infrastructure.kubernetes.util.UnrecoverablePodEventListenerTest | From | To | |
Move Method public testHandleUnrecoverableEventByReason() : void from class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntimeTest to public testHandleUnrecoverableEventByReason() : void from class org.eclipse.che.workspace.infrastructure.kubernetes.util.UnrecoverablePodEventListenerTest | From | To | |
Move Attribute | 2 | ||
Move Attribute private unrecoverableEvents : Set<String> from class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime to private unrecoverableEvents : Set<String> from class org.eclipse.che.workspace.infrastructure.kubernetes.util.UnrecoverablePodEventListenerFactory | From | To | |
Move Attribute private unrecoverableEvents : Set<String> from class org.eclipse.che.workspace.infrastructure.openshift.OpenShiftInternalRuntime to private unrecoverableEvents : Set<String> from class org.eclipse.che.workspace.infrastructure.kubernetes.util.UnrecoverablePodEventListenerFactory | From | To | |
Extract Class | 3 | ||
Extract Class org.eclipse.che.workspace.infrastructure.kubernetes.util.UnrecoverablePodEventListenerFactory from class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime | From | To | |
Extract Class org.eclipse.che.workspace.infrastructure.kubernetes.util.UnrecoverablePodEventListenerFactory from class org.eclipse.che.workspace.infrastructure.openshift.OpenShiftInternalRuntime | From | To | |
Extract Class org.eclipse.che.workspace.infrastructure.kubernetes.util.UnrecoverablePodEventListenerTest from class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntimeTest | From | To | |
Rename Attribute | 2 | ||
Rename Attribute unrecoverableEvents : Set<String> to unrecoverablePodEventListenerFactory : UnrecoverablePodEventListenerFactory in class org.eclipse.che.workspace.infrastructure.openshift.OpenShiftInternalRuntime | From | To | |
Rename Attribute unrecoverableEvents : Set<String> to unrecoverableEventListenerFactory : UnrecoverablePodEventListenerFactory in class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime | From | To | |
Change Attribute Type | 4 | ||
Change Attribute Type toolingProvisioner : SidecarToolingProvisioner to toolingProvisioner : SidecarToolingProvisioner<OpenShiftEnvironment> in class org.eclipse.che.workspace.infrastructure.openshift.OpenShiftInternalRuntimeTest | From | To | |
Change Attribute Type unrecoverableEvents : Set<String> to unrecoverablePodEventListenerFactory : UnrecoverablePodEventListenerFactory in class org.eclipse.che.workspace.infrastructure.openshift.OpenShiftInternalRuntime | From | To | |
Change Attribute Type unrecoverableEvents : Set<String> to unrecoverableEventListenerFactory : UnrecoverablePodEventListenerFactory in class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime | From | To | |
Change Attribute Type toolingProvisioner : SidecarToolingProvisioner to toolingProvisioner : SidecarToolingProvisioner<KubernetesEnvironment> in class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntimeTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter event : PodEvent to podEvent : PodEvent in method protected handleUnrecoverableEvent(podEvent PodEvent) : void in class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime | From | To |