boomerang-io / community

The Boomerang community, roadmap, planning, and architecture repository. The central place for information on joining, contributing, and governance.
https://useboomerang.io
Apache License 2.0
11 stars 0 forks source link

Workflow + Engine - Migrate creationDate to be auto created via Mongo Auditing #394

Open tlawrie opened 1 year ago

tlawrie commented 1 year ago

Use in-built spring-data-mongodb auditing to create the createdDate

  1. Add spring-data-mongodb dependency
  2. Annotate your main class with @EnableMongoAuditing
  3. Add to your mongoDb entity class a field LocalDate creationDate
  4. Annotate this new field with @CreatedDate

Open Questions