diff options
author | 2018-08-13 12:42:35 +0200 | |
---|---|---|
committer | 2018-08-13 12:46:44 +0200 | |
commit | 5015d4aa2a7ba17d5e7024bf9ef344e7b320b9ab (patch) | |
tree | 785a347ef14348ee75746dc8e465b629819719dd /vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/model/RegistrationRequest.java | |
parent | 5ac1100c02912f7a45d2949d94cd33d054283139 (diff) |
Renaming vid-automation #2
Change-Id: Ide2d71658369e0f0d953e1aa1752f48e9a4bbe96
Issue-ID: VID-205
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
Diffstat (limited to 'vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/model/RegistrationRequest.java')
-rw-r--r-- | vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/model/RegistrationRequest.java | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/model/RegistrationRequest.java b/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/model/RegistrationRequest.java deleted file mode 100644 index 2b1cdeb5..00000000 --- a/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/model/RegistrationRequest.java +++ /dev/null @@ -1,54 +0,0 @@ -package org.opencomp.simulator.presetGenerator.presets.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import org.springframework.http.HttpMethod; - -import java.util.List; -import java.util.Map; - -public class RegistrationRequest { - - public static class SimulatorRequest { - public final HttpMethod method; - public final String path; - - @JsonInclude(JsonInclude.Include.NON_NULL) - public final Map<String,List> queryParams; - - @JsonInclude(JsonInclude.Include.NON_NULL) - public final Object body; - - public SimulatorRequest(HttpMethod method, String path, Map<String, List> queryParams, Object body) { - this.method = method; - this.path = path; - this.queryParams = queryParams; - this.body = body; - } - } - - public static class SimulatorResponse { - public final int responseCode; - public final Map<String,String> responseHeaders; - - @JsonInclude(JsonInclude.Include.NON_NULL) - public final Object body; - - @JsonInclude(JsonInclude.Include.NON_NULL) - public final String file; - - public SimulatorResponse(int responseCode, Map<String, String> responseHeaders, Object body, String file) { - this.responseCode = responseCode; - this.responseHeaders = responseHeaders; - this.body = body; - this.file = file; - } - } - - public SimulatorRequest simulatorRequest; - public SimulatorResponse simulatorResponse; - - public RegistrationRequest(SimulatorRequest simulatorRequest, SimulatorResponse simulatorResponse) { - this.simulatorRequest = simulatorRequest; - this.simulatorResponse = simulatorResponse; - } -} |