h4. WHAT
Implement a seed to insert data into the database as we have for our customers in RHMAP and not the 3 or 6 lines as it is now.
E.g: Insert in the database a mock with N apps > N versions ( like has for TKE, Quintiles, Siemens, Dublin Airport ) > N devices ( like has for TKE, Quintiles, Siemens, Dublin Airport).
* SubSteps: * a)Improve seed_db.go file b)Check if it has been called/used to create a mock database for the integration tests as should be ( probably yes, it is more a check) c)Check and doc in the README how to use the seed_db.go in order to validate the app and UI
h4. Suggestion
See image attached.
IMPORTANT: It is not required all versions and apps have this quantity and should 1 entity only to ensure its purpose. I mean that if we following this suggestion we should have 100 apps, but not all should have 20 versions and a total of 5.000 devices instead of it just one must have these amounts. |
|