From 24f148a50514c8cc8af283beacda6720e7f7491a Mon Sep 17 00:00:00 2001 From: Antonio Garcia-Dominguez Date: Mon, 9 Dec 2024 15:02:35 +0000 Subject: [PATCH] README: mention caching of `*2plantuml` endpoints --- core/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/README.md b/core/README.md index 738e72b..bf284b6 100644 --- a/core/README.md +++ b/core/README.md @@ -6,8 +6,12 @@ This is a Micronaut library project which implements the core microservices used * `POST /emfatic2plantuml`: transforms a metamodel written in [Emfatic](https://eclipse.dev/emfatic/) to a [PlantUML class diagram](https://plantuml.com/class-diagram). * `POST /flexmi2plantuml`: transforms a model written in [Flexmi](https://eclipse.dev/epsilon/doc/flexmi/) that conforms to a metamodel written in Emfatic to a PlantUML class diagram. +* `POST /xmi2plantuml`: transforms a model written in XMI that conforms to a metamodel written in Emfatic to a PlantUML class diagram. * `POST /epsilon`: runs an Epsilon script against a given set of metamodels (written in Emfatic) and models (written in Flexmi or XMI). The first model can alternatively be a JSON document. +The `*2plantuml` endpoints use in-memory caches to avoid rendering the same diagram multiple times. +These caches are limited in size by default: for further configuration, consult the [Micronaut Cache](https://micronaut-projects.github.io/micronaut-cache/latest/guide/) documentation. + ## Configuration options Besides the default [Micronaut options](https://docs.micronaut.io/latest/guide/index.html), the endpoints can be configured through these environment variables: