juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avinash Ganpat Mahajan (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] [Commented] (JUDDI-633) Building a Find Qualifiers for comparison operator such as "greater then" and "less than".
Date Fri, 16 Aug 2013 14:48:48 GMT

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

Avinash Ganpat Mahajan commented on JUDDI-633:
----------------------------------------------

By Using:

find_service.CategoryBag.KeyedReferences.Add("UDDI-WSMInfo-QoS-cost_of_service", service_cost,
"cost_of_service");
find_service.CategoryBag.KeyedReferences.Add("UDDI-WSMInfo-QoS-service_provider", service_provider,
"service_provider");
find_service.CategoryBag.KeyedReferences.Add("UDDI-WSMInfo-QoS-service_location", service_location,
"service_location");

I am not getting any services.

And By Using:

find_service.FindTModel.CategoryBag.KeyedReferences.Add("UDDI-WSMInfo-QoS-cost_of_service",
service_cost, "cost_of_service");
find_service.FindTModel.CategoryBag.KeyedReferences.Add("UDDI-WSMInfo-QoS-service_provider",
service_provider, "service_provider");
find_service.FindTModel.CategoryBag.KeyedReferences.Add("UDDI-WSMInfo-QoS-service_location",
service_location, "service_location");

I am getting the service having QoS values exactly same as given by user.
Such as if user give value for service cost as 30 location IND and provider as google then
it will strictly give back service having this QoS values.

if user give values such as cost 20 location UK and provider oracle then it will not present
any service.

It will be a bad searching if we get only exact match as i have to rank services.
Because if their is a service costing 20 pounds then it will not be discovered due to stringent
search.

How to deal with such cases if we want to get other services having slight change in values.?


                
> Building a Find Qualifiers for comparison operator such as "greater then" and "less than".
> ------------------------------------------------------------------------------------------
>
>                 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.1.5
>
>   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 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