ppgravitee / issuesforjiramig

Gravitee.io - API Platform - Issues
0 stars 0 forks source link

[management] Plans data storage reliability improvment #27

Open ppgravitee opened 2 years ago

ppgravitee commented 2 years ago

Plans data are duplicated in APIM database. They are stored in plans table and in apis table, column "definition". We have to ensure that both sides are identical, and modify one table each time we modify the other one.

That makes the application hard to maintain, and brought a lot of bugs (for example #6595, #6042).

This ticket is an improvement to increase maintnability and reliability, By stopping to duplicate plans data, and store them in only one table.

From our spike on 19/05 (https://github.com/gravitee-io/issues/issues/6662), we agreed that :

To acheive that, we have to (not exhaustive) :

ppgravitee commented 2 years ago

this is now ready to test. It brings no new feature but is a big refactoring, for which we have to ensure non regression on everything related to :

plans flows (platform flows, api flows and plan flows)