Skip to content

Add ElastiCORE to Code Generators - #1385

Open
xsko wants to merge 2 commits into
akullpp:mainfrom
xsko:add-elasticore
Open

xsko wants to merge 2 commits into
akullpp:mainfrom
xsko:add-elasticore

Conversation

@xsko

@xsko xsko commented Nov 17, 2026 •

Copy link
Copy Markdown

Adds ElastiCORE to Code Generators.

ElastiCORE is a Gradle plugin and runtime for Spring Boot. Entities, DTOs and business rules (access, ownership, lifecycles, derived values, validation) are written in a YAML model, and each build regenerates the Spring code that enforces them. A request that breaks a rule gets a defined answer (401, 403, 409 or 400) with an error code.

How it differs from the generators already listed: the model stays the source for the life of the service. The code is regenerated on every build, not scaffolded once, and the business rules come from the model, not only the CRUD layers.

  • Hand edits to generated files are kept: the next build merges them with the model's changes (three-way merge).
  • AI coding assistants: the DSL guides are copied into the project on every build, so an assistant reads the grammar of the version in use. An optional agent kit (elasticore-agent-kit) for Claude Code, opencode and Codex CLI makes the agent change the YAML instead of the generated Java.
  • BI: an optional build rule (ossie-export) writes the model as an Apache Ossie (Incubating) semantic model, with the measures and the codes the database stores.
  • Stack: Java or Kotlin; layered, DDD or hexagonal; JPA or MyBatis; Spring Boot 3 or 4; a typed TypeScript client; GraphQL beside REST.

Apache-2.0, on Maven Central (io.elasticore). 3.0 is the first stable version (2026-11-17). Documentation is in English.

Disclosure: I work on ElastiCORE.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

View guided diff | Re-trigger cubic

@xsko
xsko force-pushed the add-elasticore branch 3 times, most recently from 7de8c16 to 4f4bffb Compare November 18, 2026 00:36

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 1 file (changes from recent commits).

Tip: Review your code locally with the cubic CLI to iterate faster.

View guided diff | Re-trigger cubic

Comment thread README_SOURCE.md Resolved
Comment thread README_SOURCE.md Resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants