DeMAF Type Definitions¶
In this repository we provide the definitions of abstract component and relation types the DeMAF uses to create EDMM models either as
- EDMM Yaml files
- or corresponding definitions of TOSCA node types and relationship types
The DeMAF Type Definitions are loosely based on a mix of
- the types defined in the EDMM modeling repository
- and the normative types of the TOSCA Simple Profile v1.3 as defined in the Standard and the GitHub Repository
The DeMAF Type Definitions may be modified and extended in the future.
Examples¶
We provide some examples of technology-specific deployment models and their corresponding EDMM model using the type system in examples. In examples/winery we provide TOSCA models generated from the EDMM models for importing and viewing them in Eclipse Winery. The deployment models in the examples are based on third-party projects and are subject to their respective licenses, see examples/README.md.
YAML Schema¶
In yamlSchema we provide a JSON Schema for the YAML serialization of the EDMM models created by the DeMAF and a script that checks EDMM models against it and further constraints.
Component Types¶
The following diagram shows the Component Type hierarchy, including concrete types that may be generated by the DeMAF based on the input deployment model:
Component Type Descriptions¶
- Compute: An infrastructural component that offers computing capabilities, such as a virtual machine (an EC2 instance) or a serverless function (a Lambda function). Concrete types follow DeMAF's standard
<token>-Computenaming convention, such asinstance-Computefor an EC2 instance andlambda-Computefor a Lambda function. Currently, these components connect directly to the cloud provider with nothing more specific in between. This may change if we add more detailed host information like VPC or subnet. - Platform: This type includes managed platform services where the provider operates the underlying machine, operating system, and runtime. The user only supplies application code or configuration and does not control or need to model a separate host. Concrete types use the
<token>-Platformnaming convention, such aselasticbeanstalk-Platform,apprunner-Platform, andamplify-Platform. Like Compute, these components are hosted directly on the root CloudProvider component because none of the mapped services include an explicit host reference.
Relation Types¶
The following diagram shows the Relation Type hierarchy: