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

Alex O'Ree commented on JUDDI-633:
----------------------------------

Find qualifiers isn't going to help in this case. If your services have 
bindingtemplates with tmodelinstanceInfo's appended representing the 
performance metrics, then you need code such as this.

FindBinding fb = new FindBinding();
        fb.setAuthInfo(token);
        fb.setTModelBag(new TModelBag());
        
fb.getTModelBag().getTModelKey().add(WSDMQosConstants.METRIC_FAULT_COUNT_KEY);
        return inquiry.findBinding(fb);

That will return all bindings with a QoS metric of for fault counts.

The same code works for find_service too. So that will at least get you the 
data.

> Building a Find Qualifiers for comparison operator such as "greater then" and 
> "less than" for QoS queries
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JUDDI-633
>                 URL: https://issues.apache.org/jira/browse/JUDDI-633
>             Project: jUDDI
>          Issue Type: New Feature
>          Components: juddi-tomcat
>    Affects Versions: 3.1.5
>         Environment: Windows 8 Pro.
> Tomcat 7.0
> MySQL 5.6
>            Reporter: Avinash Ganpat Mahajan
>            Assignee: Kurt T Stam
>              Labels: features
>             Fix For: 3.3
>
>   Original Estimate: 1,224h
>  Remaining Estimate: 1,224h
>
> I am trying to implement QoS aware UDDI searching mechanism.
> As QoS attributes are stored in KeyedReferences so needs to have some 
> qualifiers to give flexibility for searching such as for cost.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to