question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

@JaversAuditable async

See original GitHub issue

Either create a @JaversAuditableAsync annotation or provide a parameter with a boolean for async.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Razi007commented, Sep 12, 2019

@bartoszwalacik :: As per my understanging Things to be done

  • create bean for Executor to be used with JaversAuditableAspectAsync in JaversMongoAutoConfiguration.
  • Add default/configurable properties for Executor in JaversMongoProperties.
  • create bean for JaversAuditableAspectAsync in JaversMongoAutoConfiguration.
  • create aspect::JaversAuditableAspectAsync and annotation::JaversAuditableAsync.
  • call javers.commitAsync() from JaversAuditableAspectAsync. Please suggest if i am missing something.
1reaction
bartoszwalacikcommented, Aug 20, 2019

For now, @JaversAuditableAsync will work only with mongo, because javers.commitAsync() is implemented only for mongo.

I sugges not use @async but simply call javers.commitAsync(). An executor could be a component of JaversAuditableAspectAsync, configured with some reasonable defaults.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring integration — JaVers Documentation
This is the easiest and recommended way to auto-audit your domain objects. @JaversAuditable, @JaversAuditableDelete, and @JaversAuditableConditionalDelete — ...
Read more >
Audit your data with JaVers - Ippon Technologies
JaVers will audit all the changes made to Person objects. In case of a custom repository, the @JaversAuditable annotation needs to be added...
Read more >
Developers - @JaversAuditable async - - Bountysource
Coming soon: A brand new website interface for an even better experience!
Read more >
Async auditing with JaVers - java - Stack Overflow
Interesting question. First the démenti. All JaVers core modules are designed to decouple audit data from application data.
Read more >
org.javers.spring.auditable.AuthorProvider Java Examples
Javers auditable aspect. * * @param javers the javers * @param authorProvider the author provider * @param commitPropertiesProvider the commit properties ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found