From dev-return-23053-archive-asf-public=cust-asf.ponee.io@atlas.apache.org Wed May 2 00:57:22 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 188621807A3 for ; Wed, 2 May 2018 00:57:21 +0200 (CEST) Received: (qmail 83388 invoked by uid 500); 1 May 2018 22:57:21 -0000 Mailing-List: contact dev-help@atlas.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.apache.org Delivered-To: mailing list dev@atlas.apache.org Received: (qmail 82792 invoked by uid 99); 1 May 2018 22:57:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2018 22:57:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 12393C74F9 for ; Tue, 1 May 2018 22:48:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id oA7fQDiUL6v9 for ; Tue, 1 May 2018 22:48:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 43A545F1F0 for ; Tue, 1 May 2018 22:48:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id CF35AE0F22 for ; Tue, 1 May 2018 22:48:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 395922129D for ; Tue, 1 May 2018 22:48:00 +0000 (UTC) Date: Tue, 1 May 2018 22:48:00 +0000 (UTC) From: "Apoorv Naik (JIRA)" To: dev@atlas.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (ATLAS-2628) Restrict update to qualifiedName of AtlasGlossary MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ATLAS-2628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apoorv Naik resolved ATLAS-2628. -------------------------------- Resolution: Fixed Committed to master : https://git-wip-us.apache.org/repos/asf?p=atlas.git;a=commit;h=d8d9b127042c67e89b04656574badcf9f7800672 > Restrict update to qualifiedName of AtlasGlossary > ------------------------------------------------- > > Key: ATLAS-2628 > URL: https://issues.apache.org/jira/browse/ATLAS-2628 > Project: Atlas > Issue Type: Bug > Affects Versions: 1.0.0 > Reporter: Apoorv Naik > Assignee: Apoorv Naik > Priority: Major > Fix For: 1.0.0 > > > h2. Description > 1. Create a glossary "org" with following information : > {code:java} > displayName: "org", > shortDescription: "org", > longDescription: "organisation" > {code} > GUID and qualifiedName "org" is assigned to the glossary org. > 2. Create a glossary "orgn" with following information: > {code:java} > displayName: "orgn", > shortDescription: "orgn", > longDescription: "organisation" > {code} > GUID and qualifiedName "orgn" is assigned to the glossary. > Now update the "orgn" and modify its qualifiedName and other attributes as : > {code:java} > { > "guid": "", > "displayName": "org", > "shortDescription": "org", > "longDescription": "organisation", > "qualifiedName": "org" > } > {code} > Hence now 2 glossaries with same displayName , same qualifiedName are present. > The above PUT request should fail with exception message "Glossary with same qualifiedName org exists". > During duplicate glossary creation , it is thrown. While update also it should be thrown. -- This message was sent by Atlassian JIRA (v7.6.3#76005)