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 20931200BB6 for ; Fri, 21 Oct 2016 07:03:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1F40A160AF5; Fri, 21 Oct 2016 05:03:04 +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 6E0BC160AE0 for ; Fri, 21 Oct 2016 07:03:03 +0200 (CEST) Received: (qmail 75752 invoked by uid 500); 21 Oct 2016 05:03:02 -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 Received: (qmail 75733 invoked by uid 99); 21 Oct 2016 05:03:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2016 05:03:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id E333FC0C69 for ; Fri, 21 Oct 2016 05:03:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.567 X-Spam-Level: X-Spam-Status: No, score=-3.567 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, KAM_LOTSOFHASH=0.25, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id fi4wwRNOcA8a for ; Fri, 21 Oct 2016 05:03:00 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id E55715F39A for ; Fri, 21 Oct 2016 05:02:59 +0000 (UTC) Received: (qmail 75565 invoked by uid 99); 21 Oct 2016 05:02:37 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2016 05:02:37 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id EB50325BBFA; Fri, 21 Oct 2016 05:02:36 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3920438554904151220==" MIME-Version: 1.0 Subject: Re: Review Request 52995: Error Catalog enhancement From: Apoorv Naik To: Sarath Subramanian , Madhan Neethiraj , Shwetha GS Cc: Apoorv Naik , atlas Date: Fri, 21 Oct 2016 05:02:36 -0000 Message-ID: <20161021050236.1642.21574@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Apoorv Naik X-ReviewGroup: atlas X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/52995/ X-Sender: Apoorv Naik References: <20161021031107.1643.28974@reviews.apache.org> In-Reply-To: <20161021031107.1643.28974@reviews.apache.org> X-ReviewBoard-Diff-For: intg/src/main/java/org/apache/atlas/AtlasErrorCode.java Reply-To: Apoorv Naik X-ReviewRequest-Repository: atlas archived-at: Fri, 21 Oct 2016 05:03:04 -0000 --===============3920438554904151220== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On Oct. 21, 2016, 3:11 a.m., Madhan Neethiraj wrote: > > webapp/src/main/java/org/apache/atlas/web/rest/TypesREST.java, line 67 > > > > > > atlasTypeRegistry does not seem to be used/needed here. Please review. Don't know why this showed up as my change. Will clean up. - Apoorv ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/52995/#review153493 ----------------------------------------------------------- On Oct. 21, 2016, 2:50 a.m., Apoorv Naik wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/52995/ > ----------------------------------------------------------- > > (Updated Oct. 21, 2016, 2:50 a.m.) > > > Review request for atlas, Madhan Neethiraj, Sarath Subramanian, Shwetha GS, and Suma Shivaprasad. > > > Bugs: ATLAS-1200 > https://issues.apache.org/jira/browse/ATLAS-1200 > > > Repository: atlas > > > Description > ------- > > Enhanced AtlasBaseException class to accept AtlasErrorCode enum and parameters for the formatted error message. > AtlasErrorCode enum captures all AtlasErrors identified by a unique code such as AtlasE4001 etc. > > Each error code has a error message/description which is mapped under errorMessage.properties (for I18N) and can be parameterized to provide more context about the failure. > > > Diffs > ----- > > common/src/main/java/org/apache/atlas/AtlasConstants.java 8521f630e202adc3024d7fd7a94a76c5a52771fa > intg/src/main/java/org/apache/atlas/AtlasErrorCode.java PRE-CREATION > intg/src/main/java/org/apache/atlas/exception/AtlasBaseException.java 3538f41355b23b60e79be4179cc7a05100bd7817 > intg/src/main/java/org/apache/atlas/model/typedef/AtlasTypesDef.java 5d3f4a38a7a34a973dc7bd43c3913c7b7925265b > repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java 12047bfd80c6fb37b61dfd401b35f9e3dfb41043 > repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasClassificationDefStoreV1.java 7b6e08a8b86889b64c57c82d53c55d0a9370e3b1 > repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityDefStoreV1.java 308a5294607ffb7d8c5938b9cde9f828da5043ee > repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEnumDefStoreV1.java 5c55d421a43a3579595b76a84360b4cd5dfcc7c9 > repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasStructDefStoreV1.java eeb08d0a4bdb4592e4837df410eb3097bd55d26a > repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasTypeDefGraphStoreV1.java 663470790dda87ea982ab63f22b94d3d576fd4ee > webapp/src/main/java/org/apache/atlas/web/errors/LoggingExceptionMapper.java 9830269d35aed961f0eecdfa6a57edf93e982de5 > webapp/src/main/java/org/apache/atlas/web/rest/TypesREST.java 065836143b3f2604ea6e3754069afea77e87f9c1 > webapp/src/main/webapp/WEB-INF/web.xml c5518142492dab0e343caf4cedbe8eb1a645364a > > Diff: https://reviews.apache.org/r/52995/diff/ > > > Testing > ------- > > Tested will REST API calls. > Unit Tests coverage will be added as a part of the UT review request for TypesREST stores. > > > Thanks, > > Apoorv Naik > > --===============3920438554904151220==--