opsmill / infrahub

Infrahub - A new approach to Infrastructure Management
https://opsmill.com/
GNU Affero General Public License v3.0
144 stars 7 forks source link

Diff: database storage for calculated diff #3701

Open ajtmccarty opened 2 weeks ago

ajtmccarty commented 2 weeks ago

Component

No response

Describe the Feature Request

New components to store and retrieve calculated diffs to/from the database. Using the new data structures introduced in #3280.

The new datastructure is easy to transform into a graph and should be easy to store and retrieve with Cypher

Describe the Use Case

Once a diff a calculated for a given base_branch, diff_branch, from, and to, it will never need to be calculated again, so we can skip the processing time for calculating it by saving it to the database and retrieving it

Additional Information

No response