Skip to content

Latest commit

 

History

History
 
 

translator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Translator Service

This is a WIP application

The Translator service is a Spring Boot application that converts the CALM specification into alternative formats.

Building & running the application

./mvnw install
./mvnw spring-boot:run

Using the translators

Using Swagger

The OpenAPI Specification is available at /v3/api-docs and the Swagger UI is available at /swagger-ui/index.html

Using Bruno

Supported translations

Format Endpoint Description
Structurizr-C4 /translate/c4 Produces a Workspace json object with generated default views that can be imported into https://structurizr.com/
curl -X 'POST' 'http://localhost:8080/translate/c4' -H 'accept: */*' -H 'Content-Type: application/json' -d "@./src/test/resources/traderx-calm.json"
k8s Manifest N/A Work in progress, will produce k8s manifests