You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -189,6 +194,11 @@ HTTP adapters: /api/users and /api/v2/users
189
194
JPA entity + Flyway Mongo document
190
195
```
191
196
197
+
The core dependency direction is enforced by ArchUnit. Application/domain code
198
+
cannot depend on controllers, HTTP DTOs, or persistence adapters. CI additionally
199
+
starts disposable PostgreSQL and MongoDB containers and verifies the real Flyway,
200
+
JPA, MongoDB, and aggregation contract together.
201
+
192
202
## Operations
193
203
194
204
| Concern | Entry point |
@@ -199,6 +209,8 @@ HTTP adapters: /api/users and /api/v2/users
199
209
| Local image health | Docker health check against `/actuator/health`|
200
210
201
211
Health details are not exposed to unauthenticated callers. Logs contain source failures and server-side correlation IDs, but API errors do not expose exception messages.
212
+
After a source query, `/actuator/metrics/user.aggregation.source.query` exposes
213
+
duration and count with bounded `source` and `outcome` tags.
202
214
203
215
## Current boundaries
204
216
@@ -213,7 +225,9 @@ See [SECURITY.md](SECURITY.md) for supported versions and private vulnerability
213
225
214
226
## Contributing
215
227
216
-
See [CONTRIBUTING.md](CONTRIBUTING.md). Pull requests must pass Java tests, the real MongoDB integration tests, the package build, and the Docker image build.
228
+
See [CONTRIBUTING.md](CONTRIBUTING.md). Pull requests must pass Java tests, the
229
+
real PostgreSQL and MongoDB Testcontainers contract, architecture rules, the
0 commit comments