[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jessica Wang reassigned CLOUDSTACK-5732:
----------------------------------------

    Assignee: Prachi Damle  (was: Jessica Wang)

Prachi,

I've checked in UI fix to send keyword parameter to API.
However, API ignores keyword parameter (i.e. still returns entries that doesn't 
include keyword).

http://10.215.3.26:8080/client/api?command=listAffinityGroups&response=json&sessionkey=MW1E6DUQQnqFh6E90g43JFCrzXI%3D&keyword=bbbbb&listAll=true&page=1&pagesize=20&_=1389217932537

{
    "listaffinitygroupsresponse": {
        "count": 2,
        "affinitygroup": [
            {
                "id": "37825d2f-add1-4cd0-8bc7-167e4f60e685",
                "name": "aaAfinityGroup2",
                "account": "aaa_user",
                "domainid": "1b2475ba-0a2f-47ac-b4a7-13131526ade6",
                "domain": "aaa",
                "type": "host anti-affinity"
            },
            {
                "id": "228e4339-8e45-4662-bd8b-f256314d5533",
                "name": "aaaAfinityGroup1",
                "account": "aaa_user",
                "domainid": "1b2475ba-0a2f-47ac-b4a7-13131526ade6",
                "domain": "aaa",
                "type": "host anti-affinity"
            }
        ]
    }
}

Jessica

> [UI] Search is not working in Affinity Groups panel 
> ----------------------------------------------------
>
>                 Key: CLOUDSTACK-5732
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5732
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: UI
>    Affects Versions: 4.3.0
>            Reporter: Rayees Namathponnan
>            Assignee: Prachi Damle
>            Priority: Critical
>             Fix For: 4.3.0
>
>
> Steps to reproduce 
> Step 1 : Create advanced 
> Step 2 : Create few Affinity Groups
> Step 3 : got Affinity Groups panel and enter XXXXXXX in search box and search 
> Expected result 
> Nothing should be returned here
> Actual Result 
> same Affinity Groups items are displayed; and search is not working here
> Send - Firebug
> http://10.223.XXX.XXX:8080/client/api?command=listAffinityGroups&listAll=true&response=json&sessionkey=gXioLBGWYE65FYTruFxMifJDQUY%3D&_=1388706975790
> Response - Firebug
> { "listaffinitygroupsresponse" : { "count":2 ,"affinitygroup" : [  
> {"id":"6f7af4c2-a1ce-41de-8c87-b127f71f06a7","name":"webvms","account":"test-TestDeployVmWithAffinityGroup-NQ72GX","domainid":"3c82f7a8-73ed-11e3-9c62-52b2d980df8a","domain":"ROOT","type":"host
>  
> anti-affinity","virtualmachineIds":["874bec42-2da0-42d5-b985-6357944d2ec1","6c836dc3-76e3-43f9-94af-77149e04f2c2"]}
>  ] } }



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to