aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com>2018-10-03 21:54:37 -0400
committerMohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com>2018-10-03 21:54:48 -0400
commit37b70abf0c61f990b5f4c119f3c0f2bce8eb56f6 (patch)
tree12a0d1e939761c5821adda56ff4609a6883b3523
parent40e303b44f40704ece690f5f1fd87c5091e38b00 (diff)
Remove nfcNamingCode field from ND CNTXTB output
Issue-ID: LOG-702 Change-Id: I1a221277531e307e21fad992ee457b46a426171f Signed-off-by: Mohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com>
-rw-r--r--src/main/java/org/onap/pomba/contextbuilder/networkdiscovery/service/SpringServiceImpl.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/onap/pomba/contextbuilder/networkdiscovery/service/SpringServiceImpl.java b/src/main/java/org/onap/pomba/contextbuilder/networkdiscovery/service/SpringServiceImpl.java
index 4d22a92..2fc4d33 100644
--- a/src/main/java/org/onap/pomba/contextbuilder/networkdiscovery/service/SpringServiceImpl.java
+++ b/src/main/java/org/onap/pomba/contextbuilder/networkdiscovery/service/SpringServiceImpl.java
@@ -465,6 +465,7 @@ public class SpringServiceImpl implements SpringService {
for (VFModule vfModule : vf.getVfModules()) {
for (VM vm : vfModule.getVms() ) {
ndresourceList.add(new NdResource(vm.getNfcNamingCode(), vm.getUuid()));
+ vm.setNfcNamingCode(null);
}
for (Network network : vfModule.getNetworks()) {
ndresourceList.add(new NdResource(network.getType(), network.getUuid()));