From 5417f56b89f4780b3c43e5430aa38cc1035a2f1c Mon Sep 17 00:00:00 2001 From: Alexey Sandler Date: Thu, 31 Oct 2019 09:42:12 +0200 Subject: register SyncRestClient to work with new MetricLogClient Filter Issue-ID: VID-253 add API test that checks request headers logged tometrics log Signed-off-by: Alexey Sandler Change-Id: Ic2bfb99d40482b939ddaa4ba5c694f1042c3dd69 Signed-off-by: Alexey Sandler --- .../simulator/presetGenerator/presets/BasePresets/BaseMSOPreset.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vid-automation/src/main') diff --git a/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/BasePresets/BaseMSOPreset.java b/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/BasePresets/BaseMSOPreset.java index 1cfdd8866..a36d35e91 100644 --- a/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/BasePresets/BaseMSOPreset.java +++ b/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/BasePresets/BaseMSOPreset.java @@ -49,6 +49,8 @@ public abstract class BaseMSOPreset extends BasePreset { Map map = super.getRequestHeaders(); map.put("X-ONAP-PartnerName", "VID.VID"); map.put("X-ECOMP-RequestID", "[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}"); + map.put("X-ONAP-InvocationID", "[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}"); + map.put("X-ONAP-RequestID", "[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}"); return map; } } -- cgit 1.2.3-korg