diff options
author | Rodrigo Lima <rodrigo.lima@yoppworks.com> | 2020-09-15 16:46:21 -0400 |
---|---|---|
committer | Rodrigo Lima <rodrigo.lima@yoppworks.com> | 2020-09-15 17:22:26 -0400 |
commit | 85baeee8c837dbf4483f74c9088d4cd7778273c6 (patch) | |
tree | 0f526475d8bfbfaf0be6c570c13121c29b5ed83c /aai-core | |
parent | 2452dbffb99f66b0bfe4108879ac9b7273746161 (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')
-rw-r--r-- | aai-core/pom.xml | 2 | ||||
-rw-r--r-- | aai-core/src/main/java/org/onap/aai/serialization/db/DBSerializer.java | 3 |
2 files changed, 3 insertions, 2 deletions
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. <parent> <groupId>org.onap.aai.aai-common</groupId> <artifactId>aai-parent</artifactId> - <version>1.7.1-SNAPSHOT</version> + <version>1.7.2-SNAPSHOT</version> <relativePath>../aai-parent/pom.xml</relativePath> </parent> <artifactId>aai-core</artifactId> 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); } |