Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B705F200D40 for ; Sat, 14 Oct 2017 01:20:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B5909160BE5; Fri, 13 Oct 2017 23:20:45 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0F6E91609E9 for ; Sat, 14 Oct 2017 01:20:44 +0200 (CEST) Received: (qmail 22580 invoked by uid 500); 13 Oct 2017 23:20:44 -0000 Mailing-List: contact dev-help@atlas.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.apache.org Delivered-To: mailing list dev@atlas.apache.org Received: (qmail 22569 invoked by uid 99); 13 Oct 2017 23:20:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Oct 2017 23:20:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 21491180117 for ; Fri, 13 Oct 2017 23:20:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.999 X-Spam-Level: ** X-Spam-Status: No, score=2.999 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id iZV_g_HDY9KP for ; Fri, 13 Oct 2017 23:20:41 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 2A1DE5F3E3 for ; Fri, 13 Oct 2017 23:20:41 +0000 (UTC) Received: from reviews.apache.org (unknown [10.41.0.12]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7A1A4E059C; Fri, 13 Oct 2017 23:20:40 +0000 (UTC) Received: from reviews-vm2.apache.org (localhost [IPv6:::1]) by reviews.apache.org (ASF Mail Server at reviews-vm2.apache.org) with ESMTP id 9CEA2C401C1; Fri, 13 Oct 2017 23:20:39 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============0269099314045065664==" MIME-Version: 1.0 Subject: Re: Review Request 62175: [ATLAS-2119]: Implement update and delete operations for RelationshipREST From: Madhan Neethiraj To: Madhan Neethiraj , atlas , Sarath Subramanian Date: Fri, 13 Oct 2017 23:20:38 -0000 Message-ID: <20171013232038.21000.15948@reviews-vm2.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Madhan Neethiraj X-ReviewGroup: atlas X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/62175/ X-Sender: Madhan Neethiraj References: <20170907221638.39549.78435@reviews-vm2.apache.org> In-Reply-To: <20170907221638.39549.78435@reviews-vm2.apache.org> Reply-To: Madhan Neethiraj X-ReviewRequest-Repository: atlas archived-at: Fri, 13 Oct 2017 23:20:45 -0000 --===============0269099314045065664== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62175/#review188042 ----------------------------------------------------------- notification/pom.xml Line 1 (original), 1 (patched) This file has only whitespace changes; please revert. repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1.java Lines 251 (patched) tagPropagation is not set in createRelationship() above. Please review. repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1.java Lines 266 (patched) Update of relationships should send out notifications for changes in propagated tags - if any. repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1.java Lines 431 (patched) Why not use tagPropagation setting from the relationShipType? - Madhan Neethiraj On Sept. 7, 2017, 10:16 p.m., Sarath Subramanian wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/62175/ > ----------------------------------------------------------- > > (Updated Sept. 7, 2017, 10:16 p.m.) > > > Review request for atlas. > > > Bugs: ATLAS-2119 > https://issues.apache.org/jira/browse/ATLAS-2119 > > > Repository: atlas > > > Description > ------- > > * Implement update and delete relationship in RelationshipREST > * Add propagateTags information to each relationship instance > > > Diffs > ----- > > intg/src/main/java/org/apache/atlas/AtlasErrorCode.java bf098062 > intg/src/main/java/org/apache/atlas/model/instance/AtlasRelationship.java ec6161c0 > notification/pom.xml 9b369403 > repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java 639077dd > repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasGraphUtilsV1.java 1eb41832 > repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1.java 9b273193 > repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java b0940f67 > repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java 36cd980f > repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1Test.java 94cc5b93 > > > Diff: https://reviews.apache.org/r/62175/diff/4/ > > > Testing > ------- > > validated using POSTMAN Rest client. > > Integration/Unit Tests in progress > > > Thanks, > > Sarath Subramanian > > --===============0269099314045065664==--