docs: record env contract and MySQL settings for later changes; update status
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
1 parent
edb45a1c30
commit
2af54270af
2 files changed
+4
-2
No files matched your search
@@ -9,7 +9,9 @@ What Tastefully looks like today (commit `8bd93d15`):
|
||||
- There is no root pom. Each module is a standalone Spring Boot 3.2.8 app with its own parent and pulls `com.solvway.core:solvway-core-libs:${core-project.version}` (`tastefully-v1`) from `~/.m2`. Babyboo uses `babyboo-v1` at the same coordinates.
|
||||
- Every service listens on port 80. The gateway resolves services by hostname from `app.services.name.*`: `service-auth`, `service-system`, `service-counter` and so on. These are the k8s service names.
|
||||
- MySQL holds one schema per service (`service-system`, `service-counter`, `service-member`, `service-log`, `service-email`). Tables are managed by hand-written DDL; there is no `ddl-auto` and no Flyway. No full DDL exists in the repo.
|
||||
- Config comes from environment variables: `MYSQLHOST`, `MYSQLPORT`, `MYSQLUSER`, `MYSQLPWD`, `REDISHOST`, `GCP_PROJECT`, `GCP_CREDENTIAL_FILE`, `APIGATEWAYURL` and `AES_SECRET_KEY`.
|
||||
- Config comes from environment variables: `MYSQLHOST`, `MYSQLPORT`, `MYSQLUSER`, `MYSQLPWD`, `REDISHOST`, `GCP_PROJECT`, `GCP_CREDENTIAL_FILE`, `APIGATEWAYURL` and `AES_SECRET_KEY`. mobile-api also requires `JWT_SECRET`, `APIKEY` and `AUTH_API_KEYS`.
|
||||
- Added by this change when literal secrets were removed: `JWT_TOKEN` (required, must equal `JWT_SECRET`), `USER_AUTH_API_SECRET` (required), and optional `SMTP_PASSWORD`, `MAILGUN_API_KEY`, `SENDGRID_API_KEY`, `MAILJET_API_KEY`, `MAILJET_SECRET_KEY`, `JUMIO_TOKEN`, `JUMIO_SECRET`, `XXL_JOB_TOKEN`, `IPGEOLOCATION_API_KEY` and `USERSTACK_API_KEY`. The gateway reads its API keys from a mounted `/deployments/appkeys/appkeys.json`. Change 5 (k8s) must supply all of these.
|
||||
- The dumped schema loads only with MySQL `log_bin_trust_function_creators=1` and `innodb_strict_mode=OFF`; change 5 must check the production server matches.
|
||||
- Pub/Sub inbound adapters are declared in each service's `PubSubConfig` (system 7, counter 12, member 12, log 3, email 3). Some serve flows Co-Lite drops (stockist, Jumio, Camunda). They stay, so each subscription must exist in the emulator.
|
||||
- The Dockerfiles use the base image `gitea.containerverse.dev/solvway/docker-java-21`, `ADD target/*.jar` and `-Dspring.profiles.active=$BUILD_PROFILE`.
|
||||
|
||||
|
||||
Reference in new issue
Block a user