Skip to content

Conversation

@ginkelsoft-development
Copy link
Owner

Added validation to check Elasticsearch configuration when ES mode is enabled. This catches configuration errors early at boot time rather than failing silently during runtime operations.

Changes:

  • Added validateConfiguration() method to service provider
  • Validates ELASTICSEARCH_HOST is set when ES is enabled
  • Validates ELASTICSEARCH_INDEX is set when ES is enabled
  • Throws InvalidArgumentException with helpful error messages
  • Called automatically during boot()

Added validation to check Elasticsearch configuration when ES mode is
enabled. This catches configuration errors early at boot time rather
than failing silently during runtime operations.

Changes:
- Added validateConfiguration() method to service provider
- Validates ELASTICSEARCH_HOST is set when ES is enabled
- Validates ELASTICSEARCH_INDEX is set when ES is enabled
- Throws InvalidArgumentException with helpful error messages
- Called automatically during boot()
@ginkelsoft-development ginkelsoft-development merged commit 7d763e8 into develop Oct 13, 2025
4 of 8 checks passed
ginkelsoft-development added a commit that referenced this pull request Oct 14, 2025
…idation

fix: add configuration validation to service provider boot
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

Successfully merging this pull request may close these issues.

2 participants