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 88822200C2B for ; Thu, 16 Feb 2017 05:19:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 872A5160B5E; Thu, 16 Feb 2017 04:19:01 +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 D1531160B70 for ; Thu, 16 Feb 2017 05:19:00 +0100 (CET) Received: (qmail 34685 invoked by uid 500); 16 Feb 2017 04:19:00 -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 34671 invoked by uid 99); 16 Feb 2017 04:18:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2017 04:18:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0F60E1A014E for ; Thu, 16 Feb 2017 04:18:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.817 X-Spam-Level: X-Spam-Status: No, score=-3.817 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, 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-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id FiqG5j57Zcrc for ; Thu, 16 Feb 2017 04:18:57 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id C07615FB49 for ; Thu, 16 Feb 2017 04:18:56 +0000 (UTC) Received: (qmail 34144 invoked by uid 99); 16 Feb 2017 04:18:56 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2017 04:18:56 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id BF62031F53B; Thu, 16 Feb 2017 04:18:54 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============1937421873476792076==" MIME-Version: 1.0 Subject: Re: Review Request 56672: ATLAS-1370: Atlas REST documentation From: Apoorv Naik To: Vimal Sharma , Sarath Subramanian , Ashutosh Mestry , Madhan Neethiraj Cc: Apoorv Naik , atlas Date: Thu, 16 Feb 2017 04:18:54 -0000 Message-ID: <20170216041854.31018.64375@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/56672/ X-Sender: Apoorv Naik References: <20170216025104.13056.92654@reviews.apache.org> In-Reply-To: <20170216025104.13056.92654@reviews.apache.org> Reply-To: Apoorv Naik X-ReviewRequest-Repository: atlas archived-at: Thu, 16 Feb 2017 04:19:01 -0000 --===============1937421873476792076== 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/56672/ ----------------------------------------------------------- (Updated Feb. 16, 2017, 4:18 a.m.) Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, Sarath Subramanian, Suma Shivaprasad, and Vimal Sharma. Changes ------- Added V2 rest link in index page of twiki Older api docs will be moved under legacy link Bugs: ATLAS-1370 https://issues.apache.org/jira/browse/ATLAS-1370 Repository: atlas Description ------- Currently there's no easy way of figuring the REST interactions for atlas unless you know the exact place where to look the REST interfaces. Enunciate is a build plugin that allows a project to create such html docs for easier understanding of the REST endpoints. Currently the enunciate version being used has some limitations when building with JDK8 thus it's activated using a profile called jdk7. The latest version of enunciate has no such limitation and hence the profile activation might not be necessary (added a skipEnunciate property for enable/disable control). This review is mainly for the TypesREST, LineageREST and DiscoveryREST. HOWTO: mvn clean install -DskipTests -DskipSite=false -DskipEnunciate=false Docs generated under webapp/target/api/v2/ (open the index.html page in your favorite browser) Diffs (updated) ----- build-tools/src/main/resources/enunciate.xml 777b496a docs/src/site/twiki/index.twiki d45f4dae intg/src/main/java/org/apache/atlas/AtlasErrorCode.java ae6be843 pom.xml 834ecae0 webapp/pom.xml 5dc74019 webapp/src/main/java/org/apache/atlas/web/resources/AdminResource.java 440d75ce webapp/src/main/java/org/apache/atlas/web/rest/DiscoveryREST.java 48d8d493 webapp/src/main/java/org/apache/atlas/web/rest/LineageREST.java 0904b693 webapp/src/main/java/org/apache/atlas/web/rest/TypesREST.java 3203b712 Diff: https://reviews.apache.org/r/56672/diff/ Testing ------- No testing needed as there's no functionality change. Will run mvn clean install -DskipTests for build sanity. Thanks, Apoorv Naik --===============1937421873476792076==--