[BUILD-1036] SUBS_CLEANUP Task doesn't filter the correct subscription status Created: 31/Mar/23 Updated: 31/Mar/23 Resolved: 31/Mar/23 |
|
| Status: | Closed |
| Project: | Build |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Roberto Gomez | Assignee: | Roberto Gomez |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Team: |
| Description |
|
The SUBS_CLEANUP task is not filtering correctly the subs to delete.
The problem is that the're are to list of status: The actual filter is like
.filter(sub -> "READY".equals(sub.getProvisioningStatus()))
To use the sub.getProvisioningStatus() is ok (rather than the lifeCycleState), but then we must use one of the valid statuses from the SubscriptionProvisioningStatus(and we're using one from SubscriptionLifeCycleState ) |