Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -9,6 +9,8 @@
|
||||
| **Status** | geplant · 🟠 **block-2 (Partner-API offen, agil)** |
|
||||
|
||||
> 🟠 **block-2 — Partner-API offen, agil:** Der konkrete KWP-API-Vertrag (Auth/Endpoints/Webhook-Support/Rate-Limits/Versionierung/Doc-API) ist noch offen — **KWP-API-Zugang ~19./20.07.** ist der härteste Kalender-Anker (das v2-Hauptverkaufsargument). Detail-Planung pro Milestone erst gegen die echte API-Doku (→ `VEXT-1`). Bau startet, sobald der Zugang aktiv ist; Reihenfolge/Umfang sind agil. **`kwpsync.exe` wird NICHT gebaut** (3→2-Komponenten, Recut bindend, M089 obsolet als Windows-Client).
|
||||
>
|
||||
> 🟢 **Update 2026-06-25 — Zugang eingetroffen (früher):** Auth-Frage geklärt → **`type='oauth2'`** (Keycloak-OIDC `kwp-federated`, Auth-Code + PKCE/S256, Confidential Client + `offline_access`/Refresh; Multi-Tenant über `tenant`-Param + ClientId/Secret je Mandant). Resource-API = RPC-artige Action-API, basePath `/relay/kwp3/pwa` (Swagger `…/swagger/v1/swagger.json`). Endpoint-/Webhook-/Rate-Limit-Details + `Vorgang`/`Termin`/`Archiv` laufen weiter in `VEXT-1` (Spike). **Bleibt v2; `blocked-by R-P5` (M33a-Interface) unverändert.**
|
||||
|
||||
## Abhängigkeiten & Parallelität
|
||||
- **Blocked by:** `R-P5` (v1-Apps-Engine M33a-Adapter-Interface `connect/disconnect/validateConnection/syncPull/syncPush/handleWebhook` — KWP ist der **erste konkrete Adapter** dahinter), `VEXT-1` (KWP-API-Zugang aktiv + Recut-Detailplanung gegen die echte Doku)
|
||||
@@ -32,7 +34,7 @@ Den **KWP-API-Connector** als ersten konkreten Adapter hinter dem M33a-Interface
|
||||
- [ ] **Connection-Health-Probe** (generisch, statt Heartbeat) + Re-Connect
|
||||
- [ ] **Push-Queue** via Cloud-Outbox + **Rate-Limited-Replay** (Replay-Rate aus KWP-Rate-Limits), idempotent über `AppSyncItem`
|
||||
- [ ] Push „Won→Auftrag" als Automation-Action (`kwp.push_auftrag`) andockbar
|
||||
- [ ] DataConnection `type='rest-api'`/`'oauth2'` je nach realer KWP-Auth-Methode (aus VEXT-1)
|
||||
- [ ] DataConnection **`type='oauth2'`** (geklärt 2026-06-25: Keycloak-OIDC Auth-Code + PKCE, Confidential Client + `offline_access`)
|
||||
|
||||
## Technische Bausteine
|
||||
- **Entities** (eigene `prisma/schema/appsEngine.prisma` — aus v1 übernommen, AD-21): `App{type:"kwp"}`, `DataConnection{type:"rest-api"|"oauth2", config:<DEK-verschlüsselt>, connection_status, last_health_check}`, `AppSyncRun`, `AppSyncRunLog`, `AppSyncItem` (`entity_type`/`id` HiveGrid ↔ `external_id`, `operation`, `status` — inkl. `rolledBackData` für den M093-Restore in VR-P32b). `KwpErrorReport` für Sync-Log-Fehler.
|
||||
|
||||
Reference in new issue
Block a user