Correction for the creation of the response

Signed-off-by: Miguel Angel Reina Ortega's avatarreinaortega <miguelangel.reinaortega@etsi.org>
parent d51d33ea
......@@ -561,8 +561,7 @@ module OneM2M_PermutationFunctions {
//primitives for mcaPortIn
var MsgIn v_request;
var ResponsePrimitive v_responsePrimitive;
var integer v_aeIndex := -1;
var integer v_aeIndex := -1;
var integer v_resourceIndex := -1;
var integer v_parentIndex := -1;
var PrimitiveContent v_modifiedResource;
......@@ -586,10 +585,7 @@ module OneM2M_PermutationFunctions {
v_resourceIndex := f_processCreateRequestPrimitive(v_request.primitive.requestPrimitive);
// set responseStatusCode back to SUT
v_responsePrimitive := valueof(m_responsePrimitive(int2001, v_request.primitive.requestPrimitive.requestIdentifier, omit));
mcaPortIn.send(m_response(v_responsePrimitive));
mcaPortIn.send(m_response(vc_response.primitive.responsePrimitive));
}
[] mcaPortIn.receive(mw_request(?)) -> value v_request {
tc_ac.stop;
......
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