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 05A18200C14 for ; Tue, 24 Jan 2017 01:55:15 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 04333160B53; Tue, 24 Jan 2017 00:55:15 +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 4E2E1160B49 for ; Tue, 24 Jan 2017 01:55:14 +0100 (CET) Received: (qmail 77175 invoked by uid 500); 24 Jan 2017 00:55:13 -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 77163 invoked by uid 99); 24 Jan 2017 00:55:13 -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; Tue, 24 Jan 2017 00:55:13 +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 C54861A04A4 for ; Tue, 24 Jan 2017 00:55:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.816 X-Spam-Level: X-Spam-Status: No, score=-3.816 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, URIBL_BLOCKED=0.001] 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 T53JQf4tINYD for ; Tue, 24 Jan 2017 00:55:08 +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 D0E095F46D for ; Tue, 24 Jan 2017 00:55:07 +0000 (UTC) Received: (qmail 75407 invoked by uid 99); 24 Jan 2017 00:55:07 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2017 00:55:07 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id B6152316DF9; Tue, 24 Jan 2017 00:55:05 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============1400494644848506268==" MIME-Version: 1.0 Subject: Re: Review Request 55358: [ATLAS-1312] Update QuickStart to use the new APIs for type and entities creation From: Sarath Subramanian To: Apoorv Naik , Madhan Neethiraj , Ashutosh Mestry Cc: Sarath Subramanian , atlas , David Radley , Vimal Sharma Date: Tue, 24 Jan 2017 00:55:05 -0000 Message-ID: <20170124005505.13408.62283@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Sarath Subramanian X-ReviewGroup: atlas X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/55358/ X-Sender: Sarath Subramanian References: <20170123224259.13409.32565@reviews.apache.org> In-Reply-To: <20170123224259.13409.32565@reviews.apache.org> X-ReviewBoard-Diff-For: client/src/main/java/org/apache/atlas/AtlasLineageClientV2.java X-ReviewBoard-Diff-For: webapp/src/main/java/org/apache/atlas/examples/QuickStartV2.java X-ReviewBoard-Diff-For: webapp/src/test/java/org/apache/atlas/examples/QuickStartV2IT.java X-ReviewBoard-Diff-For: distro/src/bin/quick_start_v1.py Reply-To: Sarath Subramanian X-ReviewRequest-Repository: atlas archived-at: Tue, 24 Jan 2017 00:55:15 -0000 --===============1400494644848506268== 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/55358/ ----------------------------------------------------------- (Updated Jan. 23, 2017, 4:55 p.m.) Review request for atlas, Apoorv Naik, Ashutosh Mestry, Madhan Neethiraj, and Suma Shivaprasad. Bugs: ATLAS-1312 https://issues.apache.org/jira/browse/ATLAS-1312 Repository: atlas Description ------- The quick start currently uses old APIs to create types and entities. This needs to be updated to use the v2 APIs for types and entities. Diffs (updated) ----- client/src/main/java/org/apache/atlas/AtlasBaseClient.java d055b78 client/src/main/java/org/apache/atlas/AtlasLineageClientV2.java PRE-CREATION distro/src/bin/quick_start.py 14c8464 distro/src/bin/quick_start_v1.py PRE-CREATION intg/src/main/java/org/apache/atlas/type/AtlasTypeUtil.java c866946 webapp/src/main/java/org/apache/atlas/examples/QuickStart.java 8322bc6 webapp/src/main/java/org/apache/atlas/examples/QuickStartV2.java PRE-CREATION webapp/src/test/java/org/apache/atlas/examples/QuickStartV2IT.java PRE-CREATION webapp/src/test/java/org/apache/atlas/web/resources/BaseResourceIT.java 51be64c Diff: https://reviews.apache.org/r/55358/diff/ Testing ------- Tested using POstman REST Client and new ITs added Thanks, Sarath Subramanian --===============1400494644848506268==--