Module loader

Module loader 

Source
Expand description

Model loading functionality

Loads models from storage backends, handling YAML parsing and validation.

Supports both file-based loading (FileSystemStorageBackend, BrowserStorageBackend) and API-based loading (ApiStorageBackend).

§File Naming Convention

All files use a flat naming pattern in the workspace root directory:

  • workspace.yaml - workspace metadata with references to all assets
  • {workspace}_{domain}_{system}_{resource}.odcs.yaml - ODCS table files
  • {workspace}_{domain}_{system}_{resource}.odps.yaml - ODPS product files
  • {workspace}_{domain}_{system}_{resource}.cads.yaml - CADS asset files
  • relationships.yaml - relationship definitions

Where {system} is optional if the resource is at the domain level.

Structs§

DecisionLoadError
Error encountered while loading a decision
DecisionLoadResult
Result of loading decisions
DomainLoadResult
Result of loading domains
KnowledgeLoadError
Error encountered while loading a knowledge article
KnowledgeLoadResult
Result of loading knowledge articles
ModelLoadResult
Result of loading a model
ModelLoader
Model loader that uses a storage backend
RelationshipData
Relationship data loaded from storage
TableData
Table data loaded from storage