Implement lifecycle operations
https://gitlab.cern.ch/webservices/webframeworks-planning/-/issues/70
Implements-
Implement periodic reconciliation -
Find best reconciliation time without compromising the performance on the cluster or stressing the API
In this approach, we will make the life-cycle rely solely on the short periodic reconciliations
(Time for each periodic reconciliation TBD).
This short periodic reconciliation will be made by a new controller, on which the reconciliation will be made through a new approach:
- The call to the API will be made once by reconciliation
- The API response will contain all the managed applications of the ApplicationManager
- For each application in the list, a comparison will be made with the corresponding
Application Registration
and will be updated if it does not match.
Reason for this approach:
This approach was accepted as a temporary solution due to the Auth team not supporting an easy integration between an API we would provide and their service (Due to MIM
limitations, this might not be a case in the future).
The other alternative would be to implement a intermediate REST API between the Auth service and our API, this would require extra maintenance on this component and overall extra work, hence not currently explored.
Edited by Francisco Borges Aurindo Barros