diff options
author | kurczews <krzysztof.kurczewski@nokia.com> | 2018-08-13 12:04:07 +0200 |
---|---|---|
committer | kurczews <krzysztof.kurczewski@nokia.com> | 2018-08-13 12:06:02 +0200 |
commit | 5ac1100c02912f7a45d2949d94cd33d054283139 (patch) | |
tree | 162e996dcaa5dd1e7db73ce3d0ac8adca08d8233 /vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetPortMirroringSourcePortsError.java | |
parent | ccfb3ba1fbeb9f2807fa498686ce4441ac5cfc21 (diff) |
Renaming vid-automation #1
Change-Id: Ib5b576a931e37930119e440e965e491b1711d073
Issue-ID: VID-205
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
Diffstat (limited to 'vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetPortMirroringSourcePortsError.java')
-rw-r--r-- | vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetPortMirroringSourcePortsError.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetPortMirroringSourcePortsError.java b/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetPortMirroringSourcePortsError.java new file mode 100644 index 000000000..e8a4d3b8a --- /dev/null +++ b/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetPortMirroringSourcePortsError.java @@ -0,0 +1,18 @@ +package org.onap.simulator.presetGenerator.presets.aai; + +public class PresetAAIGetPortMirroringSourcePortsError extends PresetAAIGetPortMirroringSourcePorts { + + public PresetAAIGetPortMirroringSourcePortsError(String configurationId, String interfaceId, String interfaceName, boolean isPortMirrored) { + super(configurationId, interfaceId, interfaceName, isPortMirrored); + } + + @Override + public int getResponseCode() { + return 503; + } + + @Override + public Object getResponseBody() { + return "You are not allowed to do things"; + } +} |