1. Provision Isolated Factory Database (AmmannSimDb)
Creates all 22 K361_2016 tables + clustered index IXC_TChargeIst_ProdDT + reference catalog & 10 mixes
Server: sqlserver-edge,1433
Database: AmmannSimDb
Safety Guard: PMSDb / PlantEdgeDb / K361_2016 BLOCKED
2. Provision SELECT-Only SQL Login for PlantEdge
Grants SELECT ON SCHEMA::dbo, strips write roles, and runs PlantEdge's exact 3 read-only preflight checks
3. Sync Approved Plant JMFs from OBAY.PMS (GET /api/ingest/v1/jmf/effective)
Imports the plant's approved JMF mixes, outlet temp limits, and bin percentages into TKomponente & TRezept — API key is write-only and never persisted!
Complete Production-Like Demo Runbook (End-to-End Cycle)
- Issue Plant API Key in OBAY.PMS: In OBAY.PMS (/app/main/plants), set IngestIpAllowlist (127.0.0.1) and issue the one-time X-Plant-Api-Key.
- Onboard Plant in PlantEdge Portal: Open PlantEdge /edge/settings/onboarding, verify the PMS key, pick Amman profile, paste the AmmannSimDb SELECT-only credentials above, run Test Connection, and Save.
- Dry Run & Activate Mapping: In PlantEdge /edge/settings/mappings, run Dry Run against AmmannSimDb (16/16 tables green) and Activate.
- Run Live Batching & Quality Scenarios: Start the mixer on /sim or fire Compliant Batch, High-Temp NCR, and Bitumen Flow Quarantine scenarios on /sim/scenarios.
- Observe Real-Time Results: Watch cursors, outbox seq, and quarantine on PlantEdge /edge/operations, and see compliant batches, auto-created ISO 8.7 NCRs, alarms, and scale readings inside OBAY.PMS!
Live 22-Table Schema Inventory in AmmannSimDb
16 PlantEdge Discovery Tables + 6 Reference Tables| Table Name | Contract Role | Live Row Count |
|---|---|---|
| dbo.JAsphaltTeilrezeptKopieKomponente | Supporting Reference Table (6) | 15 |
| dbo.JBeteiligteFz | PlantEdge Approved Discovery & Reader Table (16) | 2 |
| dbo.JChargeIstKomponente | PlantEdge Approved Discovery & Reader Table (16) | 45 |
| dbo.JChargeSollKomponente | PlantEdge Approved Discovery & Reader Table (16) | 45 |
| dbo.JLieferschein | PlantEdge Approved Discovery & Reader Table (16) | 2 |
| dbo.TAsphaltTeilrezeptKopie | PlantEdge Approved Discovery & Reader Table (16) | 2 |
| dbo.TChargeIst | PlantEdge Approved Discovery & Reader Table (16) | 6 |
| dbo.TChargeIstZGDetail | PlantEdge Approved Discovery & Reader Table (16) | 18 |
| dbo.TChargeSoll | PlantEdge Approved Discovery & Reader Table (16) | 6 |
| dbo.TDataLog | PlantEdge Approved Discovery & Reader Table (16) | 9 |
| dbo.TDataSample | PlantEdge Approved Discovery & Reader Table (16) | 112 |
| dbo.TDimStatusInfoSource | Supporting Reference Table (6) | 13 |
| dbo.TEinheit | Supporting Reference Table (6) | 7 |
| dbo.TFactStatusJournal | PlantEdge Approved Discovery & Reader Table (16) | 96 |
| dbo.TFault | PlantEdge Approved Discovery & Reader Table (16) | 1 |
| dbo.TJournal | PlantEdge Approved Discovery & Reader Table (16) | 1 |
| dbo.TKomponente | Supporting Reference Table (6) | 12 |
| dbo.TKomponententyp | Supporting Reference Table (6) | 3 |
| dbo.TProduktionslos | PlantEdge Approved Discovery & Reader Table (16) | 2 |
| dbo.TRezept | PlantEdge Approved Discovery & Reader Table (16) | 10 |
| dbo.TSpeicher | PlantEdge Approved Discovery & Reader Table (16) | 4 |
| dbo.TZugabegruppe | Supporting Reference Table (6) | 3 |