The purpose of this task is to have all IDLE grants removed from the database (via migration) and modify Configuration Controller to no longer store IDLE grants, but remove them during processing.
Make migration that in upgrade will do:
DELETE FROM grants WHERE state_id = (SELECT id from grant_states where name = 'idle')
Modify Configuration Controller response processor strategy (grants are updated in multiple response handlers, please look for all references to IDLE grants) - whenever a grant is to be set as IDLE, remove it from the DB instead.
The purpose of this task is to have all IDLE grants removed from the database (via migration) and modify Configuration Controller to no longer store IDLE grants, but remove them during processing.
Make migration that in
upgrade
will do:Modify Configuration Controller
response processor
strategy (grants are updated in multiple response handlers, please look for all references to IDLE grants) - whenever a grant is to be set as IDLE, remove it from the DB instead.