Skip to content

fix: hardening - remove exposed error messages, externalize timeout, … - #11

Merged
MarkADom merged 1 commit into
developfrom
fix/hardening
Jun 8, 2026
Merged

MarkADom merged 1 commit into
developfrom
fix/hardening

Conversation

@MarkADom

@MarkADom MarkADom commented Jun 8, 2026

Copy link
Copy Markdown
Owner

fix: hardening

Changes

  • application.yml — removed include-message: always (was exposing internal messages)
  • AppConfig.java — timeout now read from external.timeout-ms (no recompile needed)

Tests Added

  • GlobalExceptionHandlerTest — 4 tests: 500 hides internal messages, 502 returns controlled message
  • GeoControllerValidationTest — 6 tests: invalid coordinates and city validation

Test Suite

  • 53 tests
  • 0 failures

@MarkADom
MarkADom merged commit 630fa6a into develop Jun 8, 2026
1 check passed
@MarkADom
MarkADom deleted the fix/hardening branch June 8, 2026 15:40
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.

1 participant