Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let jhipster generate EntityAuditEvent. #178

Open
mshima opened this issue Aug 27, 2022 · 0 comments
Open

Let jhipster generate EntityAuditEvent. #178

mshima opened this issue Aug 27, 2022 · 0 comments

Comments

@mshima
Copy link
Member

mshima commented Aug 27, 2022

Currently EntityAuditEvent is implemented using jpa/hibernate specific features with angular support only.
By letting jhipster generate we could support:

  • others databases
  • reactive
  • react/vue (list and view)
  • microservice support
  • microfrontend support

Since it is a generated entity, it will support every feature.

jdl model (won't be used, just as example, we should just inject the Entity definition):

@ReadOnly
entity EntityAuditEvent {
    entityId String required
    entityType String required maxlength(255)
    action EntityAuditAction required maxlength(20)
    entityValue String
    commitVersion Long
    modifiedBy String maxlength(100)
    modifiedDate Instant required
}

enum EntityAuditAction {
    CREATE,
    UPDATE,
    DELETE,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant