Adding 'name' to yamls and json in model
[policy/models.git] / models-examples / src / main / resources / policytypes / onap.policies.controlloop.guard.common.FrequencyLimiter.yaml
index af8efe8..dadef6f 100644 (file)
@@ -4,6 +4,7 @@ policy_types:
         derived_from: onap.policies.controlloop.guard.Common
         type_version: 1.0.0
         version: 1.0.0
+        name: onap.policies.controlloop.guard.common.FrequencyLimiter
         description: Supports limiting the frequency of actions being taken by a Actor.
         properties:
             timeWindow:
@@ -13,6 +14,7 @@ policy_types:
             timeUnits:
                 type: string
                 description: The units of time the window is counting.
+                required: true
                 constraints:
                 - valid_values: ["second", "minute", "hour", "day", "week", "month", "year"]
             limit: