diff --git a/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/UniverseTaskBase.java b/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/UniverseTaskBase.java index 898b3331bf1b..dec81e198a4b 100644 --- a/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/UniverseTaskBase.java +++ b/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/UniverseTaskBase.java @@ -267,7 +267,6 @@ public abstract class UniverseTaskBase extends AbstractTaskBase { TaskType.EditKubernetesUniverse, TaskType.RestartUniverseKubernetesUpgrade, TaskType.CertsRotateKubernetesUpgrade, - TaskType.ConfigureDBApisKubernetes, TaskType.GFlagsUpgrade, TaskType.SoftwareUpgrade, TaskType.SoftwareUpgradeYB, diff --git a/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/upgrade/ConfigureDBApis.java b/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/upgrade/ConfigureDBApis.java index ea9a3a153725..aad7940a947b 100644 --- a/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/upgrade/ConfigureDBApis.java +++ b/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/upgrade/ConfigureDBApis.java @@ -4,6 +4,7 @@ import com.google.inject.Inject; import com.yugabyte.yw.commissioner.BaseTaskDependencies; +import com.yugabyte.yw.commissioner.ITask.Abortable; import com.yugabyte.yw.commissioner.UpgradeTaskBase; import com.yugabyte.yw.commissioner.UserTaskDetails.SubTaskGroupType; import com.yugabyte.yw.forms.ConfigureDBApiParams; @@ -17,6 +18,7 @@ import java.util.List; import java.util.stream.Collectors; +@Abortable public class ConfigureDBApis extends UpgradeTaskBase { @Inject diff --git a/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/upgrade/ConfigureDBApisKubernetes.java b/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/upgrade/ConfigureDBApisKubernetes.java index 37a69a298834..ff1de2a5cd69 100644 --- a/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/upgrade/ConfigureDBApisKubernetes.java +++ b/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/upgrade/ConfigureDBApisKubernetes.java @@ -4,6 +4,7 @@ import com.google.inject.Inject; import com.yugabyte.yw.commissioner.BaseTaskDependencies; +import com.yugabyte.yw.commissioner.ITask.Abortable; import com.yugabyte.yw.commissioner.KubernetesUpgradeTaskBase; import com.yugabyte.yw.commissioner.UserTaskDetails.SubTaskGroupType; import com.yugabyte.yw.forms.ConfigureDBApiParams; @@ -11,6 +12,7 @@ import com.yugabyte.yw.forms.UniverseTaskParams.CommunicationPorts; import com.yugabyte.yw.models.Universe; +@Abortable public class ConfigureDBApisKubernetes extends KubernetesUpgradeTaskBase { @Inject