# kgcorner/automee architecture

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

- Interactive diagram: https://gitdiagram.com/kgcorner/automee
- Repository: https://github.com/kgcorner/automee

## Overview

#### Purpose
Automee is a declarative test-automation solution for REST APIs. The repository is organized as a multi-module Maven project, with modules separating configuration, test definition parsing, test-data generation, execution, and result running/orchestration.

#### Build and Entry Points
The root Maven reactor is the primary repository entry point: `pom.xml`. It coordinates module builds and dependency relationships. Each major capability is independently packaged through its own Maven descriptor, including `runner/pom.xml` and `test-executor/pom.xml`.

#### Test Automation Pipeline
The intended control flow is a staged REST-test pipeline:

1. Test definitions are interpreted by `test-parser/pom.xml`.
2. Supporting/generated request or test data is provided by `data-generator/pom.xml`.
3. Parsed tests and data are executed against REST APIs through `test-executor/pom.xml`.
4. Higher-level invocation or orchestration is supplied by `runner/pom.xml`.

The parser/executor boundary isolates declarative test representation from live API interaction; generated data is a separate upstream concern.

#### Configuration Boundary
Configuration is isolated in `config/pom.xml`, indicating that environment, endpoint, or execution settings are intended to be shared without coupling them directly to parsing or execution. This module is likely consumed by the runner and executor rather than owning test workflow control.

#### Shared Platform Components
Cross-cutting code is separated into reusable modules:

- `common/pom.xml` is the shared domain/platform layer for concepts used across pipeline stages.
- `utility/pom.xml` provides general reusable support functionality.
- `config/pom.xml` provides centralized configuration concerns.

These modules form dependency foundations rather than primary workflow stages.

#### Runtime and Infrastructure
The concrete build/runtime infrastructure visible in the repository is Maven, rooted at `pom.xml` and module-level `pom.xml` files. The system’s external integration target is REST APIs, as stated by the project purpose. No source directories, executable main classes, test resources, CI configuration, container deployment files, or specific HTTP/client libraries are present in the supplied tree; runtime invocation details and external service contracts cannot be determined from this snapshot.

Main entry points: [`pom.xml`](https://github.com/kgcorner/automee/blob/master/pom.xml) (Maven Reactor), [`test-executor/pom.xml`](https://github.com/kgcorner/automee/blob/master/test-executor/pom.xml) (Test Executor), [`runner/pom.xml`](https://github.com/kgcorner/automee/blob/master/runner/pom.xml) (Runner), [`test-parser/pom.xml`](https://github.com/kgcorner/automee/blob/master/test-parser/pom.xml) (Test Parser)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pipeline["REST Test Pipeline"]
  node_runner["Runner<br/>orchestration module<br/>[pom.xml]"]
  node_parser["Test Parser<br/>definition parser<br/>[pom.xml]"]
  node_data_generator["Data Generator<br/>test-data module<br/>[pom.xml]"]
  node_executor["Test Executor<br/>REST execution module<br/>[pom.xml]"]
end

subgraph group_foundation["Shared Foundation"]
  node_common["Common<br/>shared domain module<br/>[pom.xml]"]
  node_utility["Utility<br/>shared support module<br/>[pom.xml]"]
  node_config["Config<br/>[pom.xml]"]
end

node_reactor{{"Maven Reactor<br/>build root<br/>[pom.xml]"}}
node_rest_apis(("Target REST APIs<br/>external service"))

node_reactor -->|"builds"| node_runner
node_reactor -->|"builds"| node_parser
node_reactor -->|"builds"| node_data_generator
node_reactor -->|"builds"| node_executor
node_reactor -->|"builds"| node_common
node_reactor -->|"builds"| node_utility
node_reactor -->|"builds"| node_config
node_runner -->|"invokes"| node_parser
node_runner -->|"requests data"| node_data_generator
node_runner -->|"orchestrates"| node_executor
node_parser -->|"parsed tests"| node_executor
node_data_generator -->|"test data"| node_executor
node_executor -->|"REST requests"| node_rest_apis
node_config -.->|"settings"| node_runner
node_config -.->|"settings"| node_executor
node_common -.->|"shared domain"| node_parser
node_common -.->|"shared domain"| node_executor
node_utility -.->|"support"| node_parser
node_utility -.->|"support"| node_executor

click node_reactor "https://github.com/kgcorner/automee/blob/master/pom.xml"
click node_runner "https://github.com/kgcorner/automee/blob/master/runner/pom.xml"
click node_parser "https://github.com/kgcorner/automee/blob/master/test-parser/pom.xml"
click node_data_generator "https://github.com/kgcorner/automee/blob/master/data-generator/pom.xml"
click node_executor "https://github.com/kgcorner/automee/blob/master/test-executor/pom.xml"
click node_common "https://github.com/kgcorner/automee/blob/master/common/pom.xml"
click node_utility "https://github.com/kgcorner/automee/blob/master/utility/pom.xml"
click node_config "https://github.com/kgcorner/automee/blob/master/config/pom.xml"

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_runner,node_parser,node_data_generator,node_executor toneBlue
class node_common,node_utility,node_config toneAmber
class node_reactor,node_rest_apis toneNeutral
```

## Components

### REST Test Pipeline

Staged declarative REST-test workflow.

- [Runner](https://github.com/kgcorner/automee/blob/master/runner/pom.xml): orchestration module · Supplies higher-level test invocation. · `runner/pom.xml`
- [Test Parser](https://github.com/kgcorner/automee/blob/master/test-parser/pom.xml): definition parser · Interprets declarative test definitions. · `test-parser/pom.xml`
- [Data Generator](https://github.com/kgcorner/automee/blob/master/data-generator/pom.xml): test-data module · Provides supporting generated request or test data. · `data-generator/pom.xml`
- [Test Executor](https://github.com/kgcorner/automee/blob/master/test-executor/pom.xml): REST execution module · Executes parsed tests against target APIs. · `test-executor/pom.xml`

### Shared Foundation

Reusable modules consumed across capabilities.

- [Common](https://github.com/kgcorner/automee/blob/master/common/pom.xml): shared domain module · Shared concepts used across pipeline stages. · `common/pom.xml`
- [Utility](https://github.com/kgcorner/automee/blob/master/utility/pom.xml): shared support module · General reusable support functionality. · `utility/pom.xml`
- [Config](https://github.com/kgcorner/automee/blob/master/config/pom.xml): configuration module · Centralizes environment and execution settings. · `config/pom.xml`

### Other components

- [Maven Reactor](https://github.com/kgcorner/automee/blob/master/pom.xml): build root · Coordinates multi-module builds and dependencies. · `pom.xml`
- **Target REST APIs**: external service · Systems under test.

## Connections

- Maven Reactor → Runner: builds
- Maven Reactor → Test Parser: builds
- Maven Reactor → Data Generator: builds
- Maven Reactor → Test Executor: builds
- Maven Reactor → Common: builds
- Maven Reactor → Utility: builds
- Maven Reactor → Config: builds
- Runner → Test Parser: invokes
- Runner → Data Generator: requests data
- Runner → Test Executor: orchestrates
- Test Parser → Test Executor: parsed tests
- Data Generator → Test Executor: test data
- Test Executor → Target REST APIs: REST requests
- Config → Runner: settings
- Config → Test Executor: settings
- Common → Test Parser: shared domain
- Common → Test Executor: shared domain
- Utility → Test Parser: support
- Utility → Test Executor: support
