# technologyenhancedlearning/aiccserver architecture

> Architecture diagram of the GitHub repository technologyenhancedlearning/aiccserver, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/technologyenhancedlearning/aiccserver
- Repository: https://github.com/technologyenhancedlearning/aiccserver

## Overview

AICCServer is an ASP.NET service that relays AICC course traffic between course content and an LMS. Its main workflow creates a relay session and redirects the learner to content, then forwards the content’s AICC requests to the LMS and returns its responses. PutParam/GetParam payloads are parsed for structured logging; GetParam results can also undergo configured ab-initio status interception. The excerpts show controller, cache, parser, and settings wiring; other repository capabilities are not described in the README.

Main entry points: [`Controllers/AICCController.cs`](https://github.com/technologyenhancedlearning/aiccserver/blob/main/Controllers/AICCController.cs) (AICC controller), [`Program.cs`](https://github.com/technologyenhancedlearning/aiccserver/blob/main/Program.cs) (ASP.NET host), [`Helpers/AICCDataParser.cs`](https://github.com/technologyenhancedlearning/aiccserver/blob/main/Helpers/AICCDataParser.cs) (AICC data parser), [`Models/AICCSettings.cs`](https://github.com/technologyenhancedlearning/aiccserver/blob/main/Models/AICCSettings.cs) (Relay settings)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_relay["AICC Relay"]
  node_aicc_controller["AICC controller<br/>[AICCController.cs]"]
end

subgraph group_support["Relay Support"]
  node_session_cache[("Session cache")]
  node_data_parser["AICC data parser<br/>[AICCDataParser.cs]"]
  node_aicc_data["Parsed AICC data<br/>[AICCData.cs]"]
  node_log_entry["AICC log entry<br/>[AICCLogEntry.cs]"]
end

subgraph group_runtime["Application Runtime"]
  node_settings["Relay settings<br/>[AICCSettings.cs]"]
  node_app_host["ASP.NET host<br/>[Program.cs]"]
end

node_learner(("Learner / content"))
node_lms(("LMS endpoint"))

node_learner -->|"initializes / relays"| node_aicc_controller
node_aicc_controller -->|"redirects to content"| node_learner
node_aicc_controller -->|"stores / reads session"| node_session_cache
node_aicc_controller -->|"forwards AICC forms"| node_lms
node_lms -->|"returns response"| node_aicc_controller
node_aicc_controller -->|"parses payload"| node_data_parser
node_data_parser -->|"creates model"| node_aicc_data
node_aicc_controller -->|"creates log details"| node_log_entry
node_app_host -->|"maps controllers"| node_aicc_controller
node_app_host -->|"binds configuration"| node_settings
node_aicc_controller -->|"reads relay options"| node_settings

click node_aicc_controller "https://github.com/technologyenhancedlearning/aiccserver/blob/main/Controllers/AICCController.cs"
click node_data_parser "https://github.com/technologyenhancedlearning/aiccserver/blob/main/Helpers/AICCDataParser.cs"
click node_aicc_data "https://github.com/technologyenhancedlearning/aiccserver/blob/main/Models/AICCData.cs"
click node_log_entry "https://github.com/technologyenhancedlearning/aiccserver/blob/main/Models/AICCLogEntry.cs"
click node_settings "https://github.com/technologyenhancedlearning/aiccserver/blob/main/Models/AICCSettings.cs"
click node_app_host "https://github.com/technologyenhancedlearning/aiccserver/blob/main/Program.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_aicc_controller toneBlue
class node_session_cache,node_data_parser,node_aicc_data,node_log_entry toneAmber
class node_settings,node_app_host toneMint
class node_learner,node_lms toneIndigo
```

## Components

### AICC Relay

- [AICC controller](https://github.com/technologyenhancedlearning/aiccserver/blob/main/Controllers/AICCController.cs): `Controllers/AICCController.cs`

### Relay Support

- **Session cache**
- [AICC data parser](https://github.com/technologyenhancedlearning/aiccserver/blob/main/Helpers/AICCDataParser.cs): `Helpers/AICCDataParser.cs`
- [Parsed AICC data](https://github.com/technologyenhancedlearning/aiccserver/blob/main/Models/AICCData.cs): `Models/AICCData.cs`
- [AICC log entry](https://github.com/technologyenhancedlearning/aiccserver/blob/main/Models/AICCLogEntry.cs): `Models/AICCLogEntry.cs`

### Application Runtime

- [Relay settings](https://github.com/technologyenhancedlearning/aiccserver/blob/main/Models/AICCSettings.cs): `Models/AICCSettings.cs`
- [ASP.NET host](https://github.com/technologyenhancedlearning/aiccserver/blob/main/Program.cs): `Program.cs`

### Other components

- **Learner / content**
- **LMS endpoint**

## Connections

- Learner / content → AICC controller: initializes / relays (evidence: `Controllers/AICCController.cs`)
- AICC controller → Learner / content: redirects to content (evidence: `Controllers/AICCController.cs`)
- AICC controller → Session cache: stores / reads session (evidence: `Controllers/AICCController.cs`)
- AICC controller → LMS endpoint: forwards AICC forms (evidence: `Controllers/AICCController.cs`)
- LMS endpoint → AICC controller: returns response (evidence: `Controllers/AICCController.cs`)
- AICC controller → AICC data parser: parses payload (evidence: `Controllers/AICCController.cs`)
- AICC data parser → Parsed AICC data: creates model (evidence: `Helpers/AICCDataParser.cs`)
- AICC controller → AICC log entry: creates log details (evidence: `Controllers/AICCController.cs`)
- ASP.NET host → AICC controller: maps controllers (evidence: `Program.cs`)
- ASP.NET host → Relay settings: binds configuration (evidence: `Program.cs`)
- AICC controller → Relay settings: reads relay options (evidence: `Controllers/AICCController.cs`)
