Return-Path: X-Original-To: apmail-atlas-dev-archive@minotaur.apache.org Delivered-To: apmail-atlas-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DEB2218ADB for ; Mon, 3 Aug 2015 17:00:17 +0000 (UTC) Received: (qmail 28828 invoked by uid 500); 3 Aug 2015 17:00:14 -0000 Delivered-To: apmail-atlas-dev-archive@atlas.apache.org Received: (qmail 28790 invoked by uid 500); 3 Aug 2015 17:00:14 -0000 Mailing-List: contact dev-help@atlas.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.incubator.apache.org Delivered-To: mailing list dev@atlas.incubator.apache.org Delivered-To: moderator for dev@atlas.incubator.apache.org Received: (qmail 47977 invoked by uid 99); 3 Aug 2015 07:19:16 -0000 X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.971 X-Spam-Level: *** X-Spam-Status: No, score=3.971 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Content-Type: multipart/alternative; boundary="===============0196206273094298075==" MIME-Version: 1.0 Subject: Re: Review Request 36615: ATLAS-79 Unique constraint is not honoured From: "Shwetha GS" To: "atlas" , "Shwetha GS" Date: Mon, 03 Aug 2015 07:19:13 -0000 Message-ID: <20150803071913.4206.61653@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Shwetha GS" X-ReviewGroup: atlas X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/36615/ X-Sender: "Shwetha GS" References: <20150803064840.4205.52581@reviews.apache.org> In-Reply-To: <20150803064840.4205.52581@reviews.apache.org> Reply-To: "Shwetha GS" X-ReviewRequest-Repository: atlas --===============0196206273094298075== 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/36615/ ----------------------------------------------------------- (Updated Aug. 3, 2015, 7:19 a.m.) Review request for atlas. Changes ------- addressed review comments Bugs: ATLAS-79 https://issues.apache.org/jira/browse/ATLAS-79 Repository: atlas Description ------- Atlas supports attributes where they are marked as unique. But this constraint is not enforced and atlas allows 2 entities with same value for this unique attribute Diffs (updated) ----- repository/src/main/java/org/apache/atlas/repository/Constants.java fe43ad0 repository/src/main/java/org/apache/atlas/repository/graph/GraphBackedSearchIndexer.java c43c64f webapp/src/test/java/org/apache/atlas/web/resources/EntityJerseyResourceIT.java 7361173 Diff: https://reviews.apache.org/r/36615/diff/ Testing ------- UTs Thanks, Shwetha GS --===============0196206273094298075==--