Menu

#76 Association Role test fails

v1.0.6
open
nobody
6
2008-04-03
2008-04-03
No

This defect is related to bug #1912150 and is being opened here to track it separately.

OTM 0.96 on RI 1.0.6 returns the following:

"[PULL] wsen:Items is NULL"

Discussion

  • Navin Boppuri

    Navin Boppuri - 2008-04-03
    • priority: 5 --> 6
     
  • Thomas Weber

    Thomas Weber - 2008-04-04

    Logged In: YES
    user_id=1857294
    Originator: NO

    I've had another look into WS-Protocol/AssociationRole test (OTM 0.9.6,
    RI 1.0.6) and after debugging RI I am not quite sure if your test case
    is correct.

    CIM Binding says:
    If the Role element is present, the results shall include only instances
    of association classes that refer to the source object through a
    property whose name matches the value of this parameter.

    OTM request looks like:
    ...
    <wsmb:AssociationInstances>
    <wsmb:Object>

    <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
    <wsa:ReferenceParameters>

    <wsman:ResourceURI>http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem</wsman:ResourceURI>
    <wsman:SelectorSet>
    <wsman:Selector
    Name="__cimnamespace">root/dri</wsman:Selector>
    <wsman:Selector
    Name="CreationClassName">DRI_ComputerSystem</wsman:Selector>
    <wsman:Selector Name="Name">mkl-desktop</wsman:Selector>
    </wsman:SelectorSet>
    </wsa:ReferenceParameters>
    </wsmb:Object>
    <wsmb:Role>ConformantStandard</wsmb:Role>
    </wsmb:AssociationInstances>
    ...

    Now my question is, what is meant by "refer to the source object through
    a property whose name matches the value of this parameter"?
    In ECTP, CIM_ComputerSystem plays the ManagedElement role while the
    ConformantStandard is the associated profile. Should the
    WS-Protocol/AssociationRole filter for Role ManagedElement instead of
    ConformantStandard?

     
  • Navin Boppuri

    Navin Boppuri - 2008-04-04

    Logged In: YES
    user_id=2002123
    Originator: YES

    Akash: Fixed in OTM

    Will verify against OTM 1.0.

     

Log in to post a comment.