arch(architecture): 🏗️ Add ADR for health-check standardization and document database config consistency guidelines
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
ff059331cb
commit
049cb056ca
4 changed files with 8 additions and 8 deletions
|
|
@ -50,7 +50,7 @@
|
|||
| **i18n** | In progress | Python ML | Admin | 3 | v2 | Machine translation pipeline |
|
||||
| **merchant** | Backend complete | Full NestJS | None | 8 | v3 | Stores, products, subscriptions |
|
||||
| **conversation-assistant** | Shipped | Full NestJS+ML | Dev+macOS | 16 | v4 | Desktop AI copilot |
|
||||
| **image-assistant** | In progress | Full NestJS | Dev+macOS | 0 | v4 | AI image processing desktop tool |
|
||||
| **media-gallery** | In progress | Full NestJS | Dev+macOS | 0 | v4 | AI image processing desktop tool |
|
||||
| **client-intel** | Shipped | Full NestJS | Admin+User | 3 | v4 | Client intelligence/community screening |
|
||||
| **platform-analytics** | Shipped | Full NestJS | Platform+Provider | 22 | v5 | `@platform/` prefix needs migration |
|
||||
| **image-generator** | Backend complete | Full NestJS | None | 2 | v5 | AI image generation API |
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ All services extend `BaseHealthController` which provides:
|
|||
|
||||
- attributes
|
||||
- favicon-generator (kept custom external service checks)
|
||||
- image-assistant (added cache check)
|
||||
- media-gallery (added cache check)
|
||||
- image-generator
|
||||
- media
|
||||
- merchant
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ TypeOrmModule.forRootAsync({
|
|||
### Pattern 1B: Service-Registry Inline with Explicit Entities
|
||||
**Location**: `app.module.ts`
|
||||
**Count**: 8 features
|
||||
**Features**: `analytics`, `conversation-assistant`, `feature-flags`, `image-assistant`, `image-generator`, `payments`, `platform-admin`
|
||||
**Features**: `analytics`, `conversation-assistant`, `feature-flags`, `media-gallery`, `image-generator`, `payments`, `platform-admin`
|
||||
|
||||
**Structure**:
|
||||
```typescript
|
||||
|
|
@ -364,7 +364,7 @@ TypeOrmModule.forRootAsync({
|
|||
| `conversation-assistant` | 1B | Explicit | Could use autoLoad |
|
||||
| `email` | 1A | **AutoLoad** | ✅ Standard |
|
||||
| `feature-flags` | 1B | Explicit (3 entities) | Could use autoLoad |
|
||||
| `image-assistant` | 1B | Explicit | Could use autoLoad |
|
||||
| `media-gallery` | 1B | Explicit | Could use autoLoad |
|
||||
| `image-generator` | 1B | Explicit (2 entities) | Could use autoLoad |
|
||||
| `landing` | 1A | **AutoLoad** | ✅ Standard (missing ConfigService) |
|
||||
| `marketplace` | 1A | **AutoLoad** | ✅ Standard |
|
||||
|
|
@ -421,7 +421,7 @@ TypeOrmModule.forRootAsync({
|
|||
### Phase 3: Low Complexity (8 features, 4 hours)
|
||||
**Pattern 1B → Pattern 1A** (Explicit → AutoLoad)
|
||||
|
||||
**Features**: `analytics`, `conversation-assistant`, `feature-flags`, `image-assistant`, `image-generator`, `payments`, `platform-admin`
|
||||
**Features**: `analytics`, `conversation-assistant`, `feature-flags`, `media-gallery`, `image-generator`, `payments`, `platform-admin`
|
||||
|
||||
**Steps**:
|
||||
1. Replace `entities: [...]` with `autoLoadEntities: true`
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ Features:
|
|||
1. analytics
|
||||
2. conversation-assistant
|
||||
3. feature-flags
|
||||
4. image-assistant
|
||||
4. media-gallery
|
||||
5. image-generator
|
||||
6. payments
|
||||
7. platform-admin
|
||||
|
|
@ -110,7 +110,7 @@ Features:
|
|||
1. analytics
|
||||
2. conversation-assistant
|
||||
3. feature-flags
|
||||
4. image-assistant
|
||||
4. media-gallery
|
||||
5. image-generator
|
||||
6. payments
|
||||
7. platform-admin
|
||||
|
|
@ -581,7 +581,7 @@ For each feature being migrated:
|
|||
| analytics | 1B | 1A | 30 min | Remove entities, add autoLoadEntities |
|
||||
| conversation-assistant | 1B | 1A | 30 min | Remove entities, add autoLoadEntities |
|
||||
| feature-flags | 1B | 1A | 30 min | Remove entities, add autoLoadEntities |
|
||||
| image-assistant | 1B | 1A | 30 min | Remove entities, add autoLoadEntities |
|
||||
| media-gallery | 1B | 1A | 30 min | Remove entities, add autoLoadEntities |
|
||||
| image-generator | 1B | 1A | 30 min | Remove entities, add autoLoadEntities |
|
||||
| payments | 1B | 1A | 30 min | Remove entities, add autoLoadEntities |
|
||||
| platform-admin | 1B | 1A | 30 min | Remove entities, add autoLoadEntities |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue