summaryrefslogtreecommitdiffstats
path: root/aai-core/src
diff options
context:
space:
mode:
authorRodrigo Lima <rodrigo.lima@yoppworks.com>2020-09-15 16:46:21 -0400
committerRodrigo Lima <rodrigo.lima@yoppworks.com>2020-09-15 17:22:26 -0400
commit85baeee8c837dbf4483f74c9088d4cd7778273c6 (patch)
tree0f526475d8bfbfaf0be6c570c13121c29b5ed83c /aai-core/src
parent2452dbffb99f66b0bfe4108879ac9b7273746161 (diff)
Add ownercheck side effect to enrichData method in dbserializer
Issue-ID: AAI-3184 Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com> Change-Id: I3c8b3d33613c5345fc767fb03f1c4be79a321acc
Diffstat (limited to 'aai-core/src')
-rw-r--r--aai-core/src/main/java/org/onap/aai/serialization/db/DBSerializer.java3
1 files changed, 2 insertions, 1 deletions
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);
}