diff options
author | 2019-03-20 14:03:36 +0000 | |
---|---|---|
committer | 2019-03-20 14:03:36 +0000 | |
commit | 9e9f17ce23167e8b5fe85597048d39985d8a5277 (patch) | |
tree | 1f6c3476c52e65bcf4d9ce2126694a4dd2584f6e /vid-ext-services-simulator/src/main/java/org/onap/simulator/model/SimulatorRequest.java | |
parent | 03359a5641dfb26f93d630a1b1232c0ffc6ec51c (diff) | |
parent | cb8baa2054a427becd39e4031798375efcc9027c (diff) |
Merge "Merge simulator from ECOMP's repository"
Diffstat (limited to 'vid-ext-services-simulator/src/main/java/org/onap/simulator/model/SimulatorRequest.java')
-rw-r--r-- | vid-ext-services-simulator/src/main/java/org/onap/simulator/model/SimulatorRequest.java | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/vid-ext-services-simulator/src/main/java/org/onap/simulator/model/SimulatorRequest.java b/vid-ext-services-simulator/src/main/java/org/onap/simulator/model/SimulatorRequest.java index 9e298b916..713c318a2 100644 --- a/vid-ext-services-simulator/src/main/java/org/onap/simulator/model/SimulatorRequest.java +++ b/vid-ext-services-simulator/src/main/java/org/onap/simulator/model/SimulatorRequest.java @@ -2,7 +2,6 @@ package org.onap.simulator.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.JsonNode; - import java.util.List; import java.util.Map; @@ -12,6 +11,9 @@ public class SimulatorRequest { private String method; private String path; private String body; + private boolean strict; + private Map<String,String> headers; + private Map<String, List<String>> queryParams; public Map<String, List<String>> getQueryParams() { @@ -54,6 +56,22 @@ public class SimulatorRequest { this.body = body.isTextual() ? body.textValue() : body.toString(); } + public boolean getStrict() { + return strict; + } + + public void setStrict(boolean strict) { + this.strict = strict; + } + + public Map<String, String> getHeaders() { + return headers; + } + + public void setHeaders(Map<String, String> headers) { + this.headers = headers; + } + @Override public String toString() { return "SimulatorRequest{" + |