CenturyLinkCloud / mdw

https://centurylinkcloud.github.io/mdw/
MIT License
46 stars 10 forks source link

Use Git history directly instead of ASSET_REF for inflights #816

Closed donaldoakes closed 4 years ago

donaldoakes commented 4 years ago

For old (in-flight) asset definitions, we should be able to retrieve the Git history for the corresponding versions file, and locate the latest file whose asset version matches the requested asset version. Then we use the commit id of the versions file at that time to retrieve the asset content. Then we can store this info in AssetRefCache.

For retrieving all process defs, we could scan all version file histories and perform similar logic.