Fix a potential bug in DBSerializer 46/84446/1
authorKajur, Harish (vk250x) <vk250x@att.com>
Sun, 7 Apr 2019 23:24:53 +0000 (19:24 -0400)
committerKajur, Harish (vk250x) <vk250x@att.com>
Sun, 7 Apr 2019 23:24:53 +0000 (19:24 -0400)
commit31b7af4804219e5f03faeecef55f041f48adb6d5
treea2f82f3d2f756254e3c16f1c6b83cf6ff57becb9
parent08c1bd4d78a0504e7531876869a7ae0cd9c448df
Fix a potential bug in DBSerializer

where the assumption is the aai-node-type property will
exist on the node types. There is a case where a vertex
is in the process of being deleted and during that time
the vertex will be missing some properties and during
that time the GET with depth all will result in exception
This is possible because of our database being
an eventually consistent database

Issue-ID: AAI-2330
Change-Id: I2b11c9a2ec5c3b6bffd2690a0c075962e80781cc
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
aai-core/src/main/java/org/onap/aai/serialization/db/DBSerializer.java