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/ecompportal_att | |
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/ecompportal_att')
4 files changed, 0 insertions, 74 deletions
diff --git a/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/ecompportal_att/EcompPortalPresetsUtils.java b/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/ecompportal_att/EcompPortalPresetsUtils.java deleted file mode 100644 index 5363eac4..00000000 --- a/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/ecompportal_att/EcompPortalPresetsUtils.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.opencomp.simulator.presetGenerator.presets.ecompportal_att; - -import org.opencomp.simulator.presetGenerator.presets.BasePresets.BasePreset; - -import java.util.Arrays; -import java.util.List; - -public class EcompPortalPresetsUtils { - - private final static List<BasePreset> ecompPortalPresets = Arrays.asList( - new PresetGetUserGet(), - new PresetGetSessionSlotCheckIntervalGet(), - new PresetExtendSessionTimeOutsPost()); - - public static List<BasePreset> getEcompPortalPresets() { - return ecompPortalPresets; - } -} diff --git a/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/ecompportal_att/PresetExtendSessionTimeOutsPost.java b/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/ecompportal_att/PresetExtendSessionTimeOutsPost.java deleted file mode 100644 index c8d61df2..00000000 --- a/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/ecompportal_att/PresetExtendSessionTimeOutsPost.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.opencomp.simulator.presetGenerator.presets.ecompportal_att; - -import org.opencomp.simulator.presetGenerator.presets.BasePresets.BaseEcompPortalPreset; -import org.springframework.http.HttpMethod; - -public class PresetExtendSessionTimeOutsPost extends BaseEcompPortalPreset { - public Object getResponseBody() { - return "300000"; - } - - public HttpMethod getReqMethod() { - return HttpMethod.POST; - } - - public String getReqPath() { - return getRootPath() + "//extendSessionTimeOuts"; - } -} diff --git a/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/ecompportal_att/PresetGetSessionSlotCheckIntervalGet.java b/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/ecompportal_att/PresetGetSessionSlotCheckIntervalGet.java deleted file mode 100644 index c35dfcda..00000000 --- a/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/ecompportal_att/PresetGetSessionSlotCheckIntervalGet.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.opencomp.simulator.presetGenerator.presets.ecompportal_att; - -import org.opencomp.simulator.presetGenerator.presets.BasePresets.BaseEcompPortalPreset; -import org.springframework.http.HttpMethod; - -public class PresetGetSessionSlotCheckIntervalGet extends BaseEcompPortalPreset { - public Object getResponseBody() { - return "300000"; - } - - public HttpMethod getReqMethod() { - return HttpMethod.GET; - } - - public String getReqPath() { - return getRootPath() + "//getSessionSlotCheckInterval"; - } -} diff --git a/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/ecompportal_att/PresetGetUserGet.java b/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/ecompportal_att/PresetGetUserGet.java deleted file mode 100644 index b046b77c..00000000 --- a/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/ecompportal_att/PresetGetUserGet.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.opencomp.simulator.presetGenerator.presets.ecompportal_att; - -import org.opencomp.simulator.presetGenerator.presets.BasePresets.BaseEcompPortalPreset; -import org.springframework.http.HttpMethod; - -import java.util.Collections; - -public class PresetGetUserGet extends BaseEcompPortalPreset { - public Object getResponseBody() { - return Collections.EMPTY_LIST; - } - - public HttpMethod getReqMethod() { - return HttpMethod.GET; - } - - public String getReqPath() { - return getRootPath() + "/context/get_user"; - } -} |