diff --git a/LibOneM2M/OneM2M_Templates.ttcn b/LibOneM2M/OneM2M_Templates.ttcn index d5e194faf902a25716b2fc4acfd52c9ba9eca54f..5d09c5e4b8f8f32b9806e5982c7f54356c3c89e8 100644 --- a/LibOneM2M/OneM2M_Templates.ttcn +++ b/LibOneM2M/OneM2M_Templates.ttcn @@ -3013,8 +3013,7 @@ module OneM2M_Templates { template Notification mw_contentNotificationVerification modifies mw_contentNotificationBase := { verificationRequest := true, - //creator := ? //Temporal change, do not commit! - creator := * + creator := ? } diff --git a/OneM2M_Testcases.ttcn b/OneM2M_Testcases.ttcn index 52af4525b0c299f7f0cc1025d48788fa936dc108..ee52475e09c5d597a25e73ff3113fd551d5edfd4 100644 --- a/OneM2M_Testcases.ttcn +++ b/OneM2M_Testcases.ttcn @@ -2218,13 +2218,14 @@ module OneM2M_Testcases { p_parentRequestPrimitive.primitiveContent.subscription.notificationURI := {f_getResourceAddress(v_ae2Index)}; p_notifyHandler.start(f_cse_notifyProcedure_subscriptionVerificationHandler(v_parentIndex)); } - v_parentIndex := f_cse_createResource(valueof(p_parentRequestPrimitive.resourceType), p_parentRequestPrimitive, v_parentIndex); - if(ischosen(p_parentRequestPrimitive.primitiveContent.group_)){ f_cse_preamble_registerAe(); - + } + v_parentIndex := f_cse_createResource(valueof(p_parentRequestPrimitive.resourceType), p_parentRequestPrimitive, v_parentIndex); + + } else {//Resource under CSEBase @@ -3306,6 +3307,8 @@ module OneM2M_Testcases { var MsgIn v_response; var RequestPrimitive v_request; var integer v_aeIndex := -1; + var integer v_ae2Index := -1; + var CseTester v_notifyHandler; // Test control @@ -3316,6 +3319,8 @@ module OneM2M_Testcases { // Preamble v_aeIndex := f_cse_preamble_registerAe();//c_CRUDNDi); + + f_cse_preamble_subscriptionVerification(v_notifyHandler, v_aeIndex, v_ae2Index, p_requestPrimitive, p_resourceType); // Test Body v_request := f_getCreateRequestPrimitive(p_resourceType, p_requestPrimitive, v_aeIndex);