send unqiue request ids to MSO in async instantiation
[vid.git] / vid-automation / src / main / java / org / onap / simulator / presetGenerator / presets / BasePresets / BaseMSOPreset.java
index 1cfdd88..7c4ce03 100644 (file)
@@ -48,7 +48,9 @@ public abstract class BaseMSOPreset extends BasePreset {
     public Map<String, String> getRequestHeaders() {
         Map<String, String> 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-ECOMP-RequestID", UUID_REGEX);
+        map.put("X-InvocationID", UUID_REGEX);
+        map.put("X-ONAP-RequestID", UUID_REGEX);
         return map;
     }
 }