Skip to content

Latest commit

 

History

History

core

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MagaLu Core

This provides the core with generic elements to create a Software Development Kit (SDK) to be shared between code generator, TerraForm and command line (CLI).

Architecture

The solution works by ingesting the OpenAPI descriptions of the products to build an intermediate structure that will then be used to generate the CLI commands and TF components.

The intermediate structure is a tree made up of two types of nodes:

  • Grouper: can contain other groups and actions;
  • Executor: execute and retain information about HTTP requests.
graph TD;
    g1[Grouper] --> a1[Executor];
    g1[Grouper] --> g2[Grouper];
    g2[Grouper] --> a2[Executor];
    g2[Grouper] --> a3[Executor];

    g1:::gstyle
    g2:::gstyle
    a1:::astyle
    a2:::astyle
    a3:::astyle

    classDef gstyle stroke:#7BC1CF
    classDef astyle stroke:#D54552
Loading