From 85baeee8c837dbf4483f74c9088d4cd7778273c6 Mon Sep 17 00:00:00 2001 From: Rodrigo Lima Date: Tue, 15 Sep 2020 16:46:21 -0400 Subject: Add ownercheck side effect to enrichData method in dbserializer Issue-ID: AAI-3184 Signed-off-by: Rodrigo Lima Change-Id: I3c8b3d33613c5345fc767fb03f1c4be79a321acc --- aai-core/pom.xml | 2 +- aai-core/src/main/java/org/onap/aai/serialization/db/DBSerializer.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'aai-core') diff --git a/aai-core/pom.xml b/aai-core/pom.xml index cf387c1b..60ef462e 100644 --- a/aai-core/pom.xml +++ b/aai-core/pom.xml @@ -26,7 +26,7 @@ limitations under the License. org.onap.aai.aai-common aai-parent - 1.7.1-SNAPSHOT + 1.7.2-SNAPSHOT ../aai-parent/pom.xml aai-core diff --git a/aai-core/src/main/java/org/onap/aai/serialization/db/DBSerializer.java b/aai-core/src/main/java/org/onap/aai/serialization/db/DBSerializer.java index 5b274ee2..14621e83 100644 --- a/aai-core/src/main/java/org/onap/aai/serialization/db/DBSerializer.java +++ b/aai-core/src/main/java/org/onap/aai/serialization/db/DBSerializer.java @@ -2287,7 +2287,8 @@ public class DBSerializer { private void enrichData(Introspector obj, Vertex self) throws AAIException { SideEffectRunner runner = - new SideEffectRunner.Builder(this.engine, this).addSideEffect(DataLinkReader.class).build(); + new SideEffectRunner.Builder(this.engine, this).addSideEffect(DataLinkReader.class) + .addSideEffect(OwnerCheck.class).build(); runner.execute(obj, self); } -- cgit 1.2.3-korg