Uploaded image for project: 'Scout (Retired)'
  1. Scout (Retired)
  2. SCOUT-129

Querying using 'specifications' is not implemented correctly.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.6
    • None
    • None

    Description

      The spec seems vague on this:

      findServiceBindings(Key serviceKey, java.util.Collection findQualifiers, java.util.Collection classifications, java.util.Collection specifications)

      Finds all ServiceBindings that match ALL of the criteria specified by the parameters of this call.

      and

      specifications - a Collection of RegistryObjects that represent (proxy) a technical specification. It is analogous to a tModelBag in UDDI. Unless otherwise specified in findQualifiers, this is a logical AND and requires a match on ALL specified Specifications to qualify as a match for this criteria.

      and the specs' javadoc seems to suggest it should be a concept
      specifications - a Collection of RegistryObjects that represent (proxy) a technical specification. It is analogous to a tModelBag in the UDDI specification. In the case of a UDDI provider, the RegistryObject is a specification Concept. In the case of an ebXML provider, the RegistryObject is likely to be an ExtrinsicObject. Unless otherwise specified in findQualifiers, this is a logical AND, and a match on all specified Specifications qualifies as a match for this criterion.

      Scout currently assumes it contains a list of SpecificationLink, however the TCK fails with this, when a Concept is used it passes.

      I"m checking this change in for UDDIv3, and will also make sure the TCK is happy with a similar change for UDDIv2 before check in a chnage there.

      Attachments

        Activity

          People

            kurtstam Kurt T Stam
            kurtstam Kurt T Stam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: