From 7b9868db553d2cef98cfe285d98c32f83feecb4f Mon Sep 17 00:00:00 2001 From: Nikolay Stanchev <ns17@it-innovation.soton.ac.uk> Date: Tue, 28 Aug 2018 13:56:18 +0100 Subject: [PATCH] Updates alerts definitions --- .../clmcservice/static/flame_clmc_alerts_definitions.yaml | 6 +----- .../clmc-validator/valid/alerts_test_config-2.yaml | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/service/clmcservice/static/flame_clmc_alerts_definitions.yaml b/src/service/clmcservice/static/flame_clmc_alerts_definitions.yaml index c49a647..4553746 100644 --- a/src/service/clmcservice/static/flame_clmc_alerts_definitions.yaml +++ b/src/service/clmcservice/static/flame_clmc_alerts_definitions.yaml @@ -4,8 +4,4 @@ policy_types: eu.ict-flame.policies.StateChange: - derived_from: tosca.policies.Update - - eu.ict-flame.policies.Alert: - - derived_from: tosca.policies.Root \ No newline at end of file + derived_from: tosca.policies.Update \ No newline at end of file diff --git a/src/service/resources/tosca/test-data/clmc-validator/valid/alerts_test_config-2.yaml b/src/service/resources/tosca/test-data/clmc-validator/valid/alerts_test_config-2.yaml index a44743a..ed9306d 100644 --- a/src/service/resources/tosca/test-data/clmc-validator/valid/alerts_test_config-2.yaml +++ b/src/service/resources/tosca/test-data/clmc-validator/valid/alerts_test_config-2.yaml @@ -13,7 +13,7 @@ topology_template: policies: - high_latency_policy: - type: eu.ict-flame.policies.Alert # Policies of type Alert are also defined + type: eu.ict-flame.policies.StateChange triggers: high_latency: description: This event triggers when the mean network latency in a given location exceeds a given threshold (in ms). -- GitLab