Commit ca65db46 authored by Naum Spaseski's avatar Naum Spaseski
Browse files

STF531: corrected CSE/REG/CRE/010

parent da136c8e
......@@ -958,7 +958,9 @@ module OneM2M_Functions {
setverdict(pass, __SCOPE__ & ":INFO: Announcement received");
//TODO Save resource and generate required attributes
v_responsePrimitive := f_getCreateResponsePrimitive(v_request.primitive.requestPrimitive.resourceType, v_request.primitive.requestPrimitive);
mccPort.send(m_response(v_responsePrimitive));
mccPort.send(m_response(v_responsePrimitive));
f_checkAttributesToBeSaved(v_request.primitive.requestPrimitive.resourceType, v_request, vc_response.primitive.responsePrimitive);
f_setResource(vc_response.primitive.responsePrimitive.primitiveContent, v_request.primitive.requestPrimitive.resourceType, vc_remoteCseIndex);
}
[] mccPort.receive{
tc_ac.stop;
......
......@@ -1168,7 +1168,9 @@ module OneM2M_Testcases {
vc_cseSimu.start(f_cse_resourceAnnouncementHandler());
//TODO Deregister
//f_cse_deleteResource(v_aeIndex);
v_request := valueof(m_delete(f_getResourceAddress(v_aeIndex), f_getOriginator(v_aeIndex)));
mcaPort.send(m_request(v_request));
//Test Body
f_cse_createResource(int2, m_createAe(PX_APP_ID, omit, f_getResourceId(vc_resourcesList[v_aeIndex].resource)));
......
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