cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhinandan Prateek (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CLOUDSTACK-1179) API searches for names should not be fuzzy / wildcards
Date Fri, 08 Mar 2013 12:30:14 GMT

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

Abhinandan Prateek reassigned CLOUDSTACK-1179:
----------------------------------------------

    Assignee: Min Chen
    
> API searches for names should not be fuzzy / wildcards
> ------------------------------------------------------
>
>                 Key: CLOUDSTACK-1179
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1179
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>    Affects Versions: 4.0.0, 4.0.1, 4.1.0
>            Reporter: Wido den Hollander
>            Assignee: Min Chen
>             Fix For: 4.2.0
>
>
> During some API work I found that when you query for a 'name' with
> ListDomains, ListAccounts and/or ListVolumes this search is fuzzy (with
> a wildcard).
> For example when listing domains:
>         if (domainName != null) {
>             sc.setParameters("name", "%" + domainName + "%");
>         }
> Or when listing volumes:
>         if (name != null) {
>             sc.setParameters("name", "%" + name + "%");
>         }
> This search is always a wildcard.
> So if you want to know if domain 'customerX' exists you query for that,
> but your results can also contain 'customerXY' and 'customerXX'.
> command=listDomains&name=customerX
> I'm taking the listing of domains again and you can also use the
> 'keyword' parameter like:
> command=listDomains&name=customerX&keyword=customerX
> On the mailinglist it seems that we agree that these queries should not be fuzzy but
should be exact matches.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message