Association Role test fails
Status: Beta
Brought to you by:
akash_malhotra,
christiankrause,
georghoesch,
michaelbaumann,
and 2 others
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?
Logged In: YES
user_id=2002123
Originator: YES
Akash: Fixed in OTM
Will verify against OTM 1.0.