cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-7954) ListTags API is ignoring the resourceID and displaying all the tags of all resources
Date Thu, 20 Nov 2014 17:57:34 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-7954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14219672#comment-14219672
] 

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=cloudstack.git;h=66e0f04 ]

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 all resources
> ------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7954
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7954
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>    Affects Versions: 4.2.0
>            Reporter: Min Chen
>            Assignee: Min Chen
>             Fix For: 4.5.0
>
>
> ================
> Steps to reproduce:
> ================
> Deployed First VM
> Created three resource tags on the First VM
> On Clicking on the first VM:
> {code}
> http://localhost:8080/client/api?command=listTags&response=json&sessionkey=lja4Hf9zlnMFiMwNl6L8g1TFpok%3D&resourceId=e22ae536-4711-4570-b4fa-834179e6bc1b&resourceType=UserVm&listAll=true&_=1416009164305
> { "listtagsresponse" : { "count":3 ,"tag" : [  {"key":"description","value":"puppetdb","resourcetype":"UserVm","resourceid":"e22ae536-4711-4570-b4fa-834179e6bc1b","account":"atoms","domainid":"96ce6f7e-142b-11e4-a917-06e27a00073f","domain":"ROOT"},
{"key":"group","value":"ops","resourcetype":"UserVm","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-a917-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=listTags&response=json&sessionkey=lja4Hf9zlnMFiMwNl6L8g1TFpok%3D&resourceId=3cd7d704-580d-4f5b-8155-684da7237502&resourceType=UserVm&listAll=true&_=1416009422177
> { "listtagsresponse" : { "count":5 ,"tag" : [  {"key":"description","value":"puppetdb","resourcetype":"UserVm","resourceid":"e22ae536-4711-4570-b4fa-834179e6bc1b","account":"atoms","domainid":"96ce6f7e-142b-11e4-a917-06e27a00073f","domain":"ROOT"},
{"key":"group","value":"ops","resourcetype":"UserVm","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-a917-06e27a00073f","domain":"ROOT"},
{"key":"parrot","value":"bird","resourcetype":"UserVm","resourceid":"3cd7d704-580d-4f5b-8155-684da7237502","account":"atoms","domainid":"96ce6f7e-142b-11e4-a917-06e27a00073f","domain":"ROOT"},
{"key":"elephant","value":"animal","resourcetype":"UserVm","resourceid":"3cd7d704-580d-4f5b-8155-684da7237502","account":"atoms","domainid":"96ce6f7e-142b-11e4-a917-06e27a00073f","domain":"ROOT"}
] } }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message