diff options
author | Eylon Malin <eylon.malin@intl.att.com> | 2019-11-10 15:30:17 +0200 |
---|---|---|
committer | Eylon Malin <eylon.malin@intl.att.com> | 2019-11-10 15:30:17 +0200 |
commit | 15fd2ac8d6aef0f5bdefef6f5b18d15c710ee970 (patch) | |
tree | b4e6fc4df0c39010847c219be303df6dd7b5f6f5 | |
parent | e172eb389d56dced4fa649a43d73516827c2c153 (diff) |
fix identification of port mirroring service
Issue-ID: VID-701
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I56e4c9502724f271810b44ea946cd56f4013c543
-rw-r--r-- | vid-app-common/src/main/java/org/onap/vid/asdc/parser/VidNotionsBuilder.java | 2 | ||||
-rw-r--r-- | vid-app-common/src/test/resources/csars/portMirroringService.zip | bin | 30857 -> 31295 bytes |
2 files changed, 1 insertions, 1 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/asdc/parser/VidNotionsBuilder.java b/vid-app-common/src/main/java/org/onap/vid/asdc/parser/VidNotionsBuilder.java index 5ed5f6a58..786f74f25 100644 --- a/vid-app-common/src/main/java/org/onap/vid/asdc/parser/VidNotionsBuilder.java +++ b/vid-app-common/src/main/java/org/onap/vid/asdc/parser/VidNotionsBuilder.java @@ -242,7 +242,7 @@ public class VidNotionsBuilder { private boolean isPortMirroringService(ServiceModel serviceModel) { return (serviceModel.getService()!=null && - StringUtils.equals(serviceModel.getService().getServiceType(), "portMirroring")); + StringUtils.equals(serviceModel.getService().getServiceType(), "PORT-MIRROR")); } private boolean isVlanTaggingService(ServiceModel serviceModel) { diff --git a/vid-app-common/src/test/resources/csars/portMirroringService.zip b/vid-app-common/src/test/resources/csars/portMirroringService.zip Binary files differindex b8c919d34..c074f31bd 100644 --- a/vid-app-common/src/test/resources/csars/portMirroringService.zip +++ b/vid-app-common/src/test/resources/csars/portMirroringService.zip |