Update DBSerializer for relationships retrieving 45/75145/1
authorHarish Venkata Kajur <vk250x@att.com>
Fri, 28 Dec 2018 22:25:05 +0000 (17:25 -0500)
committerHarish Venkata Kajur <vk250x@att.com>
Fri, 28 Dec 2018 22:30:03 +0000 (17:30 -0500)
commit69c5de8f6d5f4f05e152094bc1e40c03922dcd72
treeb71cc7efe674b24b393ec4a79b2400483d9f5042
parente42c7cf9d25b5a5ec3e3bf2cbb5e04441ec45359
Update DBSerializer for relationships retrieving

Enhance the code for how the db serializer works
when it comes to dealing with the relationships
For a particular vertex, when retrieving its relationship vertexes
it doesn't need to get all the properties of the relationship vertex
as it only cares about the aai-uri and named properties
so only partially retrieving those props that is needed for relationships

Issue-ID: AAI-1987
Change-Id: I1440c561d187ff180a599a3f52ac5c8715d5c8e3
Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
aai-core/src/main/java/org/onap/aai/serialization/db/DBSerializer.java
aai-core/src/test/java/org/onap/aai/serialization/db/DbSerializerTest.java