Remove deprecated RolloutStatus statuses (#2281)
Remove RolloutStatus.ERROR_CREATING (7) and RolloutStatus.ERROR_STARTING (8) Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -182,25 +182,7 @@ public interface Rollout extends NamedEntity {
|
|||||||
* soft-deletion of the rollout which keeps references, in case of an
|
* soft-deletion of the rollout which keeps references, in case of an
|
||||||
* hard-deletion of a rollout the rollout-entry itself is deleted.
|
* hard-deletion of a rollout the rollout-entry itself is deleted.
|
||||||
*/
|
*/
|
||||||
DELETED,
|
DELETED
|
||||||
|
|
||||||
/**
|
|
||||||
* Rollout could not be created due to errors, might be a database
|
|
||||||
* problem during asynchronous creating.
|
|
||||||
*
|
|
||||||
* @deprecated legacy status is not used anymore
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
ERROR_CREATING,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rollout could not be started due to errors, might be database problem
|
|
||||||
* during asynchronous starting.
|
|
||||||
*
|
|
||||||
* @deprecated legacy status is not used anymore
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
ERROR_STARTING
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -235,8 +235,6 @@ public class JpaRollout extends AbstractJpaNamedEntity implements Rollout, Event
|
|||||||
put(RolloutStatus.STOPPED, 4);
|
put(RolloutStatus.STOPPED, 4);
|
||||||
put(RolloutStatus.RUNNING, 5);
|
put(RolloutStatus.RUNNING, 5);
|
||||||
put(RolloutStatus.FINISHED, 6);
|
put(RolloutStatus.FINISHED, 6);
|
||||||
put(RolloutStatus.ERROR_CREATING, 7);
|
|
||||||
put(RolloutStatus.ERROR_STARTING, 8);
|
|
||||||
put(RolloutStatus.DELETING, 9);
|
put(RolloutStatus.DELETING, 9);
|
||||||
put(RolloutStatus.DELETED, 10);
|
put(RolloutStatus.DELETED, 10);
|
||||||
put(RolloutStatus.WAITING_FOR_APPROVAL, 11);
|
put(RolloutStatus.WAITING_FOR_APPROVAL, 11);
|
||||||
|
|||||||
Reference in New Issue
Block a user