Commit eb7ff85b500333eed5048779755309860da83116

Authored by Miguel Angel Reina Ortega
1 parent 7c2eca77

Setting a correct acpid on the right resource for TC_CSE_DIS_005

Signed-off-by: reinaortega <miguelangel.reinaortega@etsi.org>
... ... @@ -10684,6 +10684,7 @@ module OneM2M_Testcases_CSE_Release_1 {
10684 10684  
10685 10685 function f_CSE_DIS_005() runs on AeSimu {
10686 10686 // Local variables
  10687 + var RequestPrimitive v_requestPrimitive := m_createContainerBase;
10687 10688 var integer v_aeIndex := -1;
10688 10689 var integer v_resourceIndex := -1;
10689 10690 var RequestPrimitive v_request;
... ... @@ -10703,11 +10704,13 @@ module OneM2M_Testcases_CSE_Release_1 {
10703 10704 // Test adapter configuration
10704 10705  
10705 10706 // Preamble
10706   - v_acpAuxIndex := f_cse_preamble_createAcpAux(-, int31);//c_CRUDN)
  10707 + v_acpAuxIndex := f_cse_preamble_createAcpAux(-, int61);//c_CRUDN)
10707 10708  
10708   - v_aeIndex := f_cse_preamble_registerAe({f_getResourceId(vc_resourcesList[v_acpAuxIndex].resource)});//AE1 is registred;
  10709 + v_aeIndex := f_cse_preamble_registerAe();//AE1 is registred;
10709 10710  
10710   - v_resourceIndex := f_cse_createResource(c_containerResourceType, m_createContainerBase, v_aeIndex);
  10711 + v_requestPrimitive := f_setAcpId(v_requestPrimitive, {f_getResourceId(vc_resourcesList[v_acpAuxIndex].resource)});
  10712 +
  10713 + v_resourceIndex := f_cse_createResource(c_containerResourceType, v_requestPrimitive, v_aeIndex);
10711 10714 v_childResourceIndex := f_cse_createResource(c_containerResourceType, m_createContainerBase, v_resourceIndex);
10712 10715 v_request := valueof(m_retrieveFilterUsageOption(f_getResourceAddress(v_resourceIndex), f_getOriginator(v_resourceIndex), int1));
10713 10716 mcaPort.send(f_getMsgOutPrimitive(m_request(v_request)));
... ...