lightblue-platform / lightblue-core

Document based data access layer framework
GNU General Public License v3.0
32 stars 23 forks source link

Metadata changes log #740

Open paterczm opened 7 years ago

paterczm commented 7 years ago

This will help us manage metadata changes across environments without relying on version control (which provided to be problematic in practice).

For every metadata change, create a metadataChangesLog entry. It should include date of the change, environment (hostname?), previous metadata and new metadata. Once lightblue-platform/lightblue-core#460 is implemented, we can capture who made the change too.

dcrissman commented 7 years ago

This sounds similar to the audit hook/collection which got us into some trouble. Certainly this wouldn't have near the amount of activity that audit had, but I wonder if we should also consider retention?

paterczm commented 7 years ago

This sounds similar to the audit hook/collection which got us into some trouble. Certainly this wouldn't have near the amount of activity that audit had, but I wonder if we should also consider retention?

I'm not worried about it, considering the imaginable volume of metadata changes.