Add a new state to the TenantSpState enum, disabled
This state will be set when a SP that was previously eligible/active/pending becomes ineligible, due to no longer passing the filtering criteria (ex, sp moves country or gets added to a blocklist by the tenant)
This also effects the Filtering job - whenever a previously-eligible SP becomes ineligible, instead of deleting it change the state to disabled
New field TenantSpStateInfo , a string field that captures the "reason for the most recent state transition". For example why has the SP become disabled
For example, "retrieval testing noncompliance"
Whenever the tenant suspends an SP, make this field mandatory as the reason for suspension
Autosuspension (for retrieval noncompliance) should put a default message in there
SPs entering the new disabled state should also have a reason attached too, entered by the filtering job
Description: Two changes
New SP state
TenantSpState
enum,disabled
SP
that was previously eligible/active/pending becomes ineligible, due to no longer passing the filtering criteria (ex, sp moves country or gets added to a blocklist by the tenant)disabled
New field
TenantSpStateInfo
, a string field that captures the "reason for the most recent state transition". For example why has the SP become disabledsuspends
an SP, make this field mandatory as the reason for suspensiondisabled
state should also have a reason attached too, entered by the filtering jobETA: YYY-MM-DD Maintainer:
Known dependencies:
View this starmap at: