Ebsan / generator-jhipster-es-entity-reindexer

Generates code to reindex selected entities with Elasticsearch.
Apache License 2.0
3 stars 4 forks source link

Allow app to reindex all entities on startup #2

Closed Ebsan closed 2 years ago

Ebsan commented 2 years ago

Previous versions allowed an environment variable set by the user to reindex all entities. Another way to do it would be to add a Application Specific property for the ApplicationProperties class. There may be more ways to do this so we need to investigate.

Ebsan commented 2 years ago

An application.elasticsearch.reindex-on-startup has been added to application.yml to do this.