Commit a5e592af authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Added generic checking for group creation


Signed-off-by: Miguel Angel Reina Ortega's avatarreinaortega <miguelangel.reinaortega@etsi.org>
parent a819673c
......@@ -1395,6 +1395,11 @@ module OneM2M_Functions {
v_resourceIndex := f_setResource(vc_response.primitive.responsePrimitive.primitiveContent, p_resourceType, p_parentIndex);
if(p_resourceType == int2) {
vc_aeAuxIndex := v_resourceIndex;
} else if (p_resourceType == int9) {
//Check that group members are correctly in the group
if(not(match(p_requestPrimitive.primitiveContent.group_.memberIDs, vc_response.primitive.responsePrimitive.primitiveContent.group_.memberIDs))) {
setverdict(inconc, __SCOPE__&":INFO: Wrong number of members in group");
}
}
}
[] mcaPort.receive(mw_response(mw_responsePrimitiveKO)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment