2
0
Fork 0
mirror of https://github.com/Mallne/DC-AreaAssist-Codex.git synced 2026-11-22 20:43:19 +01:00
No description
  • Kotlin 97.9%
  • Dockerfile 2.1%
Find a file
Gamaliel Krauße 418fd4cf82
Merge pull request #111 from Mallne/renovate/dependency.analysis.v
chore(deps): update dependency com.autonomousapps.dependency-analysis to v3.20.4
2026-11-18 09:16:25 +01:00
.ai Migrate server configuration from YAML to HOCON, remove ktor-server-config-yaml dependency. 2026-11-03 23:20:10 +01:00
.forgejo/workflows Add Actions workflows for PR checks, releases, and snapshots across multiple projects 2026-10-22 16:07:07 +02:00
.github/workflows Merge pull request #55 from Mallne/renovate/docker-metadata-action-6.x 2026-09-24 17:10:22 +02:00
gradle chore(deps): update dependency com.autonomousapps.dependency-analysis to v3.20.4 2026-11-18 04:21:19 +00:00
src test(areaassist): add Catalyst discovery contract test and Saxony-Anhalt WFS bbox test 2026-11-09 16:06:03 +01:00
.dockerignore Add Dockerfile, GitHub Actions workflow, and Nexus repository config for AreaAssist 2026-09-22 16:55:01 +02:00
.env.example Add Catalyst public service host configuration options 2026-10-16 13:48:27 +02:00
.gitignore Refactor database and routing architecture with scope management 2025-05-27 17:43:17 +02:00
AGENTS.md Update setup documentation for AreaAssist server and backend integration 2026-11-02 10:49:38 +01:00
build.gradle.kts Migrate server configuration from YAML to HOCON, remove ktor-server-config-yaml dependency. 2026-11-03 23:20:10 +01:00
docker-compose.yml Integrate Koin DI framework and refine sync service logic 2026-03-23 15:51:52 +01:00
Dockerfile chore(deps): update eclipse-temurin:25-alpine docker digest to c7c3d0b 2026-11-09 07:27:59 +00:00
gradle.properties chore: bump version to 1.1.7-SNAPSHOT [skip ci] 2026-10-02 06:22:08 +00:00
gradlew Please provide the corresponding diff so I can assist in generating the appropriate commit message. 2026-09-24 16:50:31 +02:00
gradlew.bat UI Frontpage 2025-01-22 16:25:43 +01:00
http-client.env.json **Introduce Builtin Service Enhancements and Weather Catalyst Filter** 2026-11-04 16:27:29 +01:00
LICENSE Add Readme and Agents Files 2026-03-19 21:50:54 +01:00
README.md Add Readme and Agents Files 2026-03-19 21:40:11 +01:00
renovate.json chore(ci): remove drone and teamcity from renovate auto-merge list 2026-11-17 12:26:13 +01:00
settings.gradle.kts aviator: restructure client plugins under plugins/client/ 2026-11-17 13:13:40 +01:00
test.http Refactor configuration handling to use SynapseConfig and add CodexConfig integration 2026-06-05 23:24:44 +02:00

DiCentra AreaAssist Codex

DiCentra Kotlin License

AreaAssist Codex is the central discovery and service management hub for the DiCentra Application Framework. Built on the Synapse core, it provides a high-performance, secure registry for managing and discovering services across the ecosystem.


What it Does

Codex acts as the "Source of Truth" for all services within an AreaAssist environment. Its primary responsibilities include:

  • Service Registry: A centralized database (PostgreSQL) storing service definitions, locators, and metadata.
  • Dynamic Discovery: Smart endpoints that filter available services based on user authentication, roles (admin, superadmin), and assigned scopes.
  • Catalyst Integration: A specialized interface designed for LLM agents. It supports:
    • Aggregation: Sending requests to multiple service locators simultaneously.
    • MCP Server: Native support for the Model Context Protocol (MCP), allowing AI agents to interact with the service registry directly.
  • Self-Documenting API: Automatically generates discovery responses that tell clients exactly what endpoints and operations are available.

Prerequisites

  • JDK 17 or higher
  • Docker & Docker Compose (for the PostgreSQL database)

Quick Start

1. Start the Database

Codex requires a PostgreSQL instance. Use the provided docker-compose.yml to spin it up:

docker-compose up -d

2. Configure the Environment

The server uses environment variables for configuration. You can set these in your shell or via a .env file.

Essential Variables:

  • DATA_URL: JDBC URL (e.g., jdbc:postgresql://localhost:5432/codex)
  • DATA_USER / DATA_PASSWORD: Database credentials.
  • SECURITY_ENABLED: Set to true to enable OIDC authentication.
  • SECURITY_ISSUER: Your OIDC provider URL (if security is enabled).

Advanced Variables:

  • CATALYST_ENABLED: Toggle the LLM/MCP interface (default: true).
  • CORS_ALL: Set to true for development if you encounter CORS issues.
  • AUTORELEASEVERSION: Toggle auto-versioning in discovery responses.

See GEMINI.md for a full list of available variables.

3. Run the Server

Use the Gradle wrapper to start the server in development mode:

./gradlew run

The server will be available at http://localhost:8080.


Key Endpoints

  • GET /services: Retrieve all registered services (requires Admin/SuperAdmin).
  • GET /services/builtin: List of hardcoded system services.
  • GET /catalyst/mcp: The MCP (Model Context Protocol) entry point for LLM agents.
  • GET /health: System health and database connectivity check.

Building for Production

To create a standalone executable JAR containing all dependencies:

./gradlew shadowJar

The resulting JAR will be located in build/libs/.


Development & Contribution

  • Architecture: Ktor with Koin for Dependency Injection.
  • Migrations: Managed via SQL scripts in src/main/resources/db/migration/.
  • Testing: Run ./gradlew test to execute the test suite.

Built with ❤️ by Mallne under the DiCentra umbrella