juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Brown (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] Created: (JUDDI-400) findQualifiers are not working correctly on find_relatedBusiness queries
Date Tue, 25 May 2010 19:12:24 GMT
findQualifiers are not working correctly on find_relatedBusiness queries
------------------------------------------------------------------------

                 Key: JUDDI-400
                 URL: https://issues.apache.org/jira/browse/JUDDI-400
             Project: jUDDI
          Issue Type: Bug
          Components: core
    Affects Versions: 3.0.2
         Environment: tomcat 6.0.10, PostgreSQL 8.4
            Reporter: Jason Brown
            Assignee: Kurt T Stam


findQualifiers are not working correctly on find_relatedBusiness queries.

INPUTS:

save the following businesses:

 <businessEntity businessKey="uddi:businesstest:01">
        <name>businesstest:01</name>
    </businessEntity>
    <businessEntity businessKey="uddi:businesstest:02">
        <name>businesstest:02</name>
    </businessEntity>
    <businessEntity businessKey="uddi:businesstest:03">
        <name>businesstest:03</name>
</businessEntity>

save the following publisherAssertions:

<add_publisherAssertions xmlns="urn:uddi-org:api_v3">
    <publisherAssertion>
        <fromKey>uddi:businesstest:01</fromKey>
        <toKey>uddi:businesstest:02</toKey>
        <keyedReference tModelKey="uddi:uddi.org:relationships"  keyName="assertionTesting01"
keyValue="parent-child"/>
    </publisherAssertion>
<publisherAssertion>
        <fromKey>uddi:businesstest:01</fromKey>
        <toKey>uddi:businesstest:03</toKey>
        <keyedReference tModelKey="uddi:uddi.org:relationships"  keyName="assertionTesting02"
keyValue="parent-child"/>
    </publisherAssertion>
</add_publisherAssertions>

perform the following queries:

<find_relatedBusinesses xmlns="urn:uddi-org:api_v3">
	<findQualifiers>
		<findQualifier>sortByNameDesc</findQualifier>
	</findQualifiers>
	<businessKey>uddi:businesstest:01</businessKey>
</find_relatedBusinesses>

(returns keys in ascending order)

<find_relatedBusinesses xmlns="urn:uddi-org:api_v3">
    <findQualifiers>
        <findQualifier>approximateMatch</findQualifier>
    </findQualifiers>
    
    <businessKey>uddi:businesstest:01</businessKey>
    <keyedReference tModelKey="uddi:uddi.org:relationships"  keyName="assertionTesting_1"
keyValue="parent-child"/>
</find_relatedBusinesses>

(returns nothing)

<find_relatedBusinesses xmlns="urn:uddi-org:api_v3">
    <findQualifiers>
        <findQualifier>caseInsensitiveMatch</findQualifier>
    </findQualifiers>
    
    <businessKey>uddi:businesstest:01</businessKey>
    <keyedReference tModelKey="uddi:uddi.org:relationships"  keyName="assertionTesting01"
keyValue="parent-CHILD"/>
</find_relatedBusinesses>

(returns nothing)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message