From 06e584f80beaa11ff180ed0348202287574a208c Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Fri, 20 Mar 2020 13:13:37 +0100 Subject: [PATCH] Fix unparsable json files Fixing json files that had been malformed and had syntax issues. Change-Id: I36f28d17eb8bbe8432f26785958d348092699336 Issue-ID: INT-1482 Signed-off-by: Bartek Grzybowski --- vnfs/VES5.0/evel/evel-library/code/VESreporting_fault/flt_config.json | 4 ++-- vnfs/VES5.0/evel/evel-library/code/VESreporting_vFW/meas_config.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vnfs/VES5.0/evel/evel-library/code/VESreporting_fault/flt_config.json b/vnfs/VES5.0/evel/evel-library/code/VESreporting_fault/flt_config.json index 90654ef5..efe892b0 100644 --- a/vnfs/VES5.0/evel/evel-library/code/VESreporting_fault/flt_config.json +++ b/vnfs/VES5.0/evel/evel-library/code/VESreporting_fault/flt_config.json @@ -12,7 +12,7 @@ "tmp_device": ["lo", "enp0s3", "docker0"] }, - "tmp_indirectParameters": [ + "tmp_indirectParameters": { "tmp_faultInstance01": { "eventName": "Fault_vFirewall-AT&T_linkDownError", "eventCategory": "link", @@ -67,5 +67,5 @@ "alarmCondition": "service up trap_alarm" } } - ] + } } diff --git a/vnfs/VES5.0/evel/evel-library/code/VESreporting_vFW/meas_config.json b/vnfs/VES5.0/evel/evel-library/code/VESreporting_vFW/meas_config.json index bbd3e453..14f98650 100644 --- a/vnfs/VES5.0/evel/evel-library/code/VESreporting_vFW/meas_config.json +++ b/vnfs/VES5.0/evel/evel-library/code/VESreporting_vFW/meas_config.json @@ -33,7 +33,7 @@ "transmittedTotalPacketsDelta": "$(tmp_t1PacketsOut - tmp_t0PacketsOut)", "valuesAreSuspect": "true", "vNicIdentifier": "$tmp_device" - } + }, "cpuUsage": { "tmp_cpuuse_command": { "tmp_cpuUseCmd": "/usr/bin/top -bn 2 -d 0.01 | grep '^%Cpu' | tail -n 1 | cut -d ':' -f2", -- 2.16.6