Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7C35210767 for ; Thu, 20 Nov 2014 17:57:34 +0000 (UTC) Received: (qmail 8244 invoked by uid 500); 20 Nov 2014 17:57:34 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 8212 invoked by uid 500); 20 Nov 2014 17:57:34 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 8201 invoked by uid 500); 20 Nov 2014 17:57:34 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 8198 invoked by uid 99); 20 Nov 2014 17:57:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Nov 2014 17:57:34 +0000 Date: Thu, 20 Nov 2014 17:57:34 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-7954) ListTags API is ignoring the resourceID and displaying all the tags of all resources MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-7954?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D14219672#comment-14219672 ]=20 ASF subversion and git services commented on CLOUDSTACK-7954: ------------------------------------------------------------- Commit 66e0f049db0a996476a2e6bbf3dd9041ef1ace1a in cloudstack's branch refs= /heads/4.5 from [~minchen07] [ https://git-wip-us.apache.org/repos/asf?p=3Dcloudstack.git;h=3D66e0f04 ] CLOUDSTACK-7954:ListTags API is ignoring the resourceID and displaying all the tags of all resources. > ListTags API is ignoring the resourceID and displaying all the tags of al= l resources > -------------------------------------------------------------------------= ----------- > > Key: CLOUDSTACK-7954 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-795= 4 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: API > Affects Versions: 4.2.0 > Reporter: Min Chen > Assignee: Min Chen > Fix For: 4.5.0 > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Steps to reproduce: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Deployed First VM > Created three resource tags on the First VM > On Clicking on the first VM: > {code} > http://localhost:8080/client/api?command=3DlistTags&response=3Djson&sessi= onkey=3Dlja4Hf9zlnMFiMwNl6L8g1TFpok%3D&resourceId=3De22ae536-4711-4570-b4fa= -834179e6bc1b&resourceType=3DUserVm&listAll=3Dtrue&_=3D1416009164305 > { "listtagsresponse" : { "count":3 ,"tag" : [ {"key":"description","valu= e":"puppetdb","resourcetype":"UserVm","resourceid":"e22ae536-4711-4570-b4fa= -834179e6bc1b","account":"atoms","domainid":"96ce6f7e-142b-11e4-a917-06e27a= 00073f","domain":"ROOT"}, {"key":"group","value":"ops","resourcetype":"User= Vm","resourceid":"e22ae536-4711-4570-b4fa-834179e6bc1b","account":"atoms","= domainid":"96ce6f7e-142b-11e4-a917-06e27a00073f","domain":"ROOT"}, {"key":"= owner","value":"klaemm","resourcetype":"UserVm","resourceid":"e22ae536-4711= -4570-b4fa-834179e6bc1b","account":"atoms","domainid":"96ce6f7e-142b-11e4-a= 917-06e27a00073f","domain":"ROOT"} ] } } > {code} > Deployed Second VM > Created two more resource tags on the newly deployed VM > On Clicking on the Second VM: > {code} > http://localhost:8080/client/api?command=3DlistTags&response=3Djson&sessi= onkey=3Dlja4Hf9zlnMFiMwNl6L8g1TFpok%3D&resourceId=3D3cd7d704-580d-4f5b-8155= -684da7237502&resourceType=3DUserVm&listAll=3Dtrue&_=3D1416009422177 > { "listtagsresponse" : { "count":5 ,"tag" : [ {"key":"description","valu= e":"puppetdb","resourcetype":"UserVm","resourceid":"e22ae536-4711-4570-b4fa= -834179e6bc1b","account":"atoms","domainid":"96ce6f7e-142b-11e4-a917-06e27a= 00073f","domain":"ROOT"}, {"key":"group","value":"ops","resourcetype":"User= Vm","resourceid":"e22ae536-4711-4570-b4fa-834179e6bc1b","account":"atoms","= domainid":"96ce6f7e-142b-11e4-a917-06e27a00073f","domain":"ROOT"}, {"key":"= owner","value":"klaemm","resourcetype":"UserVm","resourceid":"e22ae536-4711= -4570-b4fa-834179e6bc1b","account":"atoms","domainid":"96ce6f7e-142b-11e4-a= 917-06e27a00073f","domain":"ROOT"}, {"key":"parrot","value":"bird","resourc= etype":"UserVm","resourceid":"3cd7d704-580d-4f5b-8155-684da7237502","accoun= t":"atoms","domainid":"96ce6f7e-142b-11e4-a917-06e27a00073f","domain":"ROOT= "}, {"key":"elephant","value":"animal","resourcetype":"UserVm","resourceid"= :"3cd7d704-580d-4f5b-8155-684da7237502","account":"atoms","domainid":"96ce6= f7e-142b-11e4-a917-06e27a00073f","domain":"ROOT"} ] } } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)