Skip to content

Latest commit

 

History

History
133 lines (108 loc) · 2.52 KB

README.md

File metadata and controls

133 lines (108 loc) · 2.52 KB

EDMM in YAML Specification

Deployment Model definition

version: <version>
description: <deployment_model_description>
metadata:
  <map_of_string>
properties:
  <property_definitions>
relation_types:
  <relation_type_definitions>
component_types:
  <component_type_definitions>
components:
  <component_assignments>

Property definition

<property_name>:
  type: <property_type>
  description: <property_description>
  metadata:
    <map_of_string>
  required: <property_required>
  default_value: <default_value>

Operation definition

<operation_name>: <artifact_file_uri>
<operation_name>:
  description: <operation_description>
  metadata:
    <map_of_string>
  artifacts:
    - <artifact_assignments>

Relation Type definition

<relation_type_name>:
  extends: <parent_relation_type_name>
  description: <relation_type_description>
  metadata:
    <map_of_string>
  properties:
    <property_definitions>
  operations:
    <operation_definitions>

Component Type definition

<component_type_name>:
  extends: <parent_component_type_name>
  description: <component_type_description>
  metadata:
    <map_of_string>
  properties:
    <property_definitions>
  operations:
    <operation_definitions>

Component assignment

<component_name>:
  type: <component_type_name>
  description: <component_description>
  metadata:
    <map_of_string>
  properties:
    <property_assignments>
  operations:
    <operation_definitions>
  artifacts:
    - <artifact_assignments>
  relations:
    - <relation_assignments>

Property assignment

<property_name>: <property_value> | { <value_expression> }

Artifact assignment

<artifact_type_name>: <artifact_file_uri>

Relation assignment

<relation_type_name>: <target_component_name>
<relation_type_name>:
  description: <relation_description>
  metadata:
    <map_of_string>
  target: <component_name>
  properties:
    <property_assignments>
  operations:
    <operation_definitions>

Value expressions

entity = <component_name> | SELF | SOURCE | TARGET | HOST | GLOBAL
${<entity>.<property_name>}

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.