Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DCAE microservice components will generate their own Policy Model using TOSCA-Lab in SDC.


Code Block
titleExample Schema for onap.policies.Monitoring.{DCAE-mS-Model}
linenumberstrue
collapsetrue
tosca_definitions_version: tosca_simple_yaml_1_0_0
policy_types:
    onap.policies.Monitoring:
        derived_from: tosca.policies.Root
        description: a base policy type for all policies that govern monitoring provision
    onap.policy.monitoring.mydcaecomponent:
        derived_from: onap.policies.Monitoring
        properties:
            mydcaecomponent_policy:
                type: map
                description: The Policy Body I need
                entry_schema:
					type: onap.datatypes.monitoring.mydatatype
data_types:
    onap.datatypes.monitoring.mydatatype:
        derived_from: tosca.datatypes.Root
        properties:
			my_property_1:
				type: string
				description: A description of this property
				constraints:
					- valid_values:
						- value example 1
						- value example 2



onap.controlloop.Operational model

...