9109cf37c504ee3cbb6bf49485642ee338777722
Files Diff
- Added: 8
- Removed: 0
- Renamed: 0
- Modified: 34
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private publishFailedStatus(failure CompletableFuture<Void>, machineName String) : Function<Throwable,Void> renamed to private publishFailedStatusAndRecordFailureTrace(failure CompletableFuture<Void>, machineName String) : Function<Throwable,Void> in class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type machinesFutures : List<CompletableFuture<Void>> to machinesFutures : Map<String,CompletableFuture<Void>> in method private waitMachines(machinesFutures Map<String,CompletableFuture<Void>>, toCancelFutures List<CompletableFuture<?>>, failure CompletableFuture<Void>) : void in class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime | From | To | |
Parameterize Variable | 4 | ||
Parameterize Variable k8sEnv : KubernetesEnvironment to env : KubernetesEnvironment in method package createSecrets(env KubernetesEnvironment, workspaceId String) : void in class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime | From | To | |
Parameterize Variable k8sEnv : KubernetesEnvironment to env : KubernetesEnvironment in method package createConfigMaps(env KubernetesEnvironment, workspaceId String) : void in class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime | From | To | |
Parameterize Variable osEnv : OpenShiftEnvironment to env : OpenShiftEnvironment in method package createSecrets(env OpenShiftEnvironment, workspaceId String) : void in class org.eclipse.che.workspace.infrastructure.openshift.OpenShiftInternalRuntime | From | To | |
Parameterize Variable osEnv : OpenShiftEnvironment to env : OpenShiftEnvironment in method package createConfigMaps(env OpenShiftEnvironment, workspaceId String) : void in class org.eclipse.che.workspace.infrastructure.openshift.OpenShiftInternalRuntime | From | To | |
Change Variable Type | 1 | ||
Change Variable Type machinesFutures : List<CompletableFuture<Void>> to machinesFutures : Map<String,CompletableFuture<Void>> in method protected internalStart(startOptions Map<String,String>) : void in class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime | From | To | |
Extract Variable | 3 | ||
Extract Variable servicesToCreate : Collection<Service> in method package createServices(env KubernetesEnvironment, workspaceId String) : List<Service> from class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime | From | To | |
Extract Variable servicesToCreate : Collection<Service> in method package createServices(env OpenShiftEnvironment, workspaceId String) : List<Service> from class org.eclipse.che.workspace.infrastructure.openshift.OpenShiftInternalRuntime | From | To | |
Extract Variable routesToCreate : Collection<Route> in method package createRoutes(env OpenShiftEnvironment, workspaceId String) : List<Route> from class org.eclipse.che.workspace.infrastructure.openshift.OpenShiftInternalRuntime | From | To | |
Extract Method | 7 | ||
Extract Method package createRoutes(env OpenShiftEnvironment, workspaceId String) : List<Route> extracted from protected startMachines() : void in class org.eclipse.che.workspace.infrastructure.openshift.OpenShiftInternalRuntime | From | To | |
Extract Method package createConfigMaps(env OpenShiftEnvironment, workspaceId String) : void extracted from protected startMachines() : void in class org.eclipse.che.workspace.infrastructure.openshift.OpenShiftInternalRuntime | From | To | |
Extract Method package createServices(env KubernetesEnvironment, workspaceId String) : List<Service> extracted from protected startMachines() : void in class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime | From | To | |
Extract Method package createServices(env OpenShiftEnvironment, workspaceId String) : List<Service> extracted from protected startMachines() : void in class org.eclipse.che.workspace.infrastructure.openshift.OpenShiftInternalRuntime | From | To | |
Extract Method package createSecrets(env OpenShiftEnvironment, workspaceId String) : void extracted from protected startMachines() : void in class org.eclipse.che.workspace.infrastructure.openshift.OpenShiftInternalRuntime | From | To | |
Extract Method package createSecrets(env KubernetesEnvironment, workspaceId String) : void extracted from protected startMachines() : void in class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime | From | To | |
Extract Method package createConfigMaps(env KubernetesEnvironment, workspaceId String) : void extracted from protected startMachines() : void in class org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime | From | To |