aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2019-11-10 15:30:17 +0200
committerEylon Malin <eylon.malin@intl.att.com>2019-11-10 15:30:17 +0200
commit15fd2ac8d6aef0f5bdefef6f5b18d15c710ee970 (patch)
treeb4e6fc4df0c39010847c219be303df6dd7b5f6f5 /vid-app-common/src
parente172eb389d56dced4fa649a43d73516827c2c153 (diff)
fix identification of port mirroring service
Issue-ID: VID-701 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I56e4c9502724f271810b44ea946cd56f4013c543
Diffstat (limited to 'vid-app-common/src')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/asdc/parser/VidNotionsBuilder.java2
-rw-r--r--vid-app-common/src/test/resources/csars/portMirroringService.zipbin30857 -> 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
index b8c919d34..c074f31bd 100644
--- a/vid-app-common/src/test/resources/csars/portMirroringService.zip
+++ b/vid-app-common/src/test/resources/csars/portMirroringService.zip
Binary files differ