Architecture is proposed and there are also alternative architectures proposed
This commit is contained in:
1 parent
ccf9041183
commit
3426236c6c
24 files changed
+2516
No files matched your search
@@ -0,0 +1,19 @@
|
||||
# US-16 compatibility and necessary revision
|
||||
|
||||
The user chose option **3**: evaluate all topologies, including a modular monolith, and document necessary US-16 revision. This authorizes this proposal's departure; it does not edit or pretend to satisfy the original independently deployable-service criteria. US-01–US-15 and common rules remain binding. This file is a suggested reconciliation, not an alteration of `Docs/`.
|
||||
|
||||
| Original criterion | Proposed design status | Necessary replacement meaning |
|
||||
| --- | --- | --- |
|
||||
| AC-16-A single selected service | Incompatible for original feature services | Install one complete Health App application; database may be external |
|
||||
| AC-16-B multiple independent local processes | Incompatible | Logical modules reside in one application process; app and PostgreSQL have independent native lifecycles |
|
||||
| AC-16-C all independent services/network interfaces | Incompatible | Complete installation exposes one HTTPS API and uses in-process module interfaces |
|
||||
| AC-16-D independent service config | Changed granularity | One app configuration with module settings; DB may be independently configured |
|
||||
| AC-16-E services on separate machines | Incompatible for application modules | Same app binary supports local or remote PostgreSQL with configured reachable endpoint; module distribution is not offered |
|
||||
| AC-16-F independently manage each feature service | Incompatible | Independently manage application and DB; feature modules start/stop together |
|
||||
| AC-16-G separate persistence ownership | Logical ownership retained; separate databases incompatible | One database, owned schemas and migration owners; one restricted application runtime role; no analytics/overview tables |
|
||||
| AC-16-H installation preserves original topology | Incompatible | Installation preserves this newly selected topology in all supported placements |
|
||||
| AC-16-I verify process/endpoints/dependencies/restart/workflow | Retained intent; changed process inventory | Verify one application PID/HTTPS, database/schema access, independent app stop/restart and representative complete flows |
|
||||
|
||||
Addendum PostgreSQL automation, generated passwords, least privilege, protected configuration, HTTPS/certificate generation/replacement, dependency detection, migration, systemd registration/start and clear failure reporting remain required design capabilities. Replace specifically the two separate health databases/service credentials with two owned schemas/migration roles plus one application DML role. Inter-service communication credentials and per-module HTTPS listeners/trust are unnecessary after consolidation; app/database credentials and API certificate remain. Replace individual/multiple/all feature-service selection and five-machine example with application plus local/external DB choices. Installer is an administrative utility, never a new resident service.
|
||||
|
||||
Revised installation must not require manual secret/database/certificate creation in the normal path. It must distinguish supported local and remote DB prerequisites, protect supplied administrative connections, verify selected configuration, and refuse accidental overwrite. No installer code, unit files or migrations are supplied by this architecture assignment.
|
||||
Reference in new issue
Block a user