6.2.5.37. Architecture-ScriptedArchitecture

Architecture modelling via Python scripts for both mapping and architecture

Required inputs: RFG

Offers a way to specify architecture models and a mapping to the code using predefined Python types like Architecture, Mapping, Component and ComponentWithInterface. The types are found in the module bauhaus.architecture.scripted_architecture. Please refer to the online documentation ("Example 3: Architecture-As-Code" in "Modeling using CASE tools and Architecture-As-Code" in the "Architecture" section of "Analysis Configuration") for an example project and more detailed explanations.

Possible Messages

This rule has no predefined messages.

Options

architecture_files

architecture_files : list[bauhaus.analysis.config.LayerRelativePath] = []

List of python files containing declarative model and mapping info.
 

export_warnings

export_warnings : bool = True

Export output messages to the analysis database.
 

loglevel

loglevel : LogLevel = 'WARNING'

Logging mode. WARNING only outputs errors and warnings, INFO additionally prints info messages, DEBUG additionally outputs info and debug messages.
 

Option Types

These types are used by options listed above:

LogLevel

An enumeration.
 
  • WARNING

  • INFO

  • DEBUG