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 444B0200BE8 for ; Fri, 23 Dec 2016 17:16:50 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 42F4A160B1F; Fri, 23 Dec 2016 16:16:50 +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 8C3C9160B0C for ; Fri, 23 Dec 2016 17:16:49 +0100 (CET) Received: (qmail 26694 invoked by uid 500); 23 Dec 2016 16:16:48 -0000 Mailing-List: contact commits-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 commits@atlas.incubator.apache.org Received: (qmail 26685 invoked by uid 99); 23 Dec 2016 16:16:48 -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; Fri, 23 Dec 2016 16:16:48 +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 40E9C1A04BF for ; Fri, 23 Dec 2016 16:16:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.219 X-Spam-Level: X-Spam-Status: No, score=-6.219 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, 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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id h8eBtJtrgZLR for ; Fri, 23 Dec 2016 16:16:47 +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 C49CB5F19B for ; Fri, 23 Dec 2016 16:16:46 +0000 (UTC) Received: (qmail 26670 invoked by uid 99); 23 Dec 2016 16:16:46 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Dec 2016 16:16:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 33234DFBA3; Fri, 23 Dec 2016 16:16:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: madhan@apache.org To: commits@atlas.incubator.apache.org Message-Id: <9ed88eb7cab844f9ac7720cce7fb800a@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-atlas git commit: ATLAS-1412: delete AtlasApiEntities, as it is not used Date: Fri, 23 Dec 2016 16:16:46 +0000 (UTC) archived-at: Fri, 23 Dec 2016 16:16:50 -0000 Repository: incubator-atlas Updated Branches: refs/heads/master 590b38ac5 -> 0e7ef3af9 ATLAS-1412: delete AtlasApiEntities, as it is not used Signed-off-by: Madhan Neethiraj Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/0e7ef3af Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/0e7ef3af Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/0e7ef3af Branch: refs/heads/master Commit: 0e7ef3af9e59584bd9ea87b10d6264a97ba4b41e Parents: 590b38a Author: David Radley Authored: Fri Dec 23 07:38:17 2016 -0800 Committer: Madhan Neethiraj Committed: Fri Dec 23 07:38:17 2016 -0800 ---------------------------------------------------------------------- .../org/apache/atlas/api/AtlasApiEntities.java | 54 -------------------- 1 file changed, 54 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/0e7ef3af/intg/src/main/java/org/apache/atlas/api/AtlasApiEntities.java ---------------------------------------------------------------------- diff --git a/intg/src/main/java/org/apache/atlas/api/AtlasApiEntities.java b/intg/src/main/java/org/apache/atlas/api/AtlasApiEntities.java deleted file mode 100644 index 8eb4604..0000000 --- a/intg/src/main/java/org/apache/atlas/api/AtlasApiEntities.java +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.atlas.api; - -import java.util.List; -import java.util.Map; - -import org.apache.atlas.exception.AtlasBaseException; -import org.apache.atlas.model.SearchFilter; -import org.apache.atlas.model.instance.AtlasClassification; -import org.apache.atlas.model.instance.AtlasEntity; -import org.apache.atlas.model.instance.AtlasEntity.AtlasEntities; -import org.apache.atlas.model.instance.AtlasObjectId; - -/** - * API to work with CRUD of Atlas entities. - */ -public interface AtlasApiEntities { - AtlasEntity createEntity(AtlasEntity entity) throws AtlasBaseException; - - AtlasEntity getEntity(AtlasObjectId objId) throws AtlasBaseException; - - AtlasEntity updateEntity(AtlasObjectId objId, AtlasEntity entity) throws AtlasBaseException; - - AtlasEntity updateEntityAttributes(AtlasObjectId objId, Map attributes) throws AtlasBaseException; - - void deleteEntity(AtlasObjectId objId) throws AtlasBaseException; - - AtlasEntities searchEntities(SearchFilter filter) throws AtlasBaseException; - - - void addEntityClassification(AtlasObjectId entityId, AtlasClassification classification) throws AtlasBaseException; - - void removeEntityClassification(AtlasObjectId entityId, String classificationName) throws AtlasBaseException; - - List getEntityClassifications(AtlasObjectId entityId) throws AtlasBaseException; - - List getEntityClassificationNames(AtlasObjectId entityId) throws AtlasBaseException; -}