TC_CSE_GMG_006 - Setting acpi in containers to provide required access rights

Signed-off-by: Miguel Angel Reina Ortega's avatarreinaortega <miguelangel.reinaortega@etsi.org>
parent e27e3e22
......@@ -7409,6 +7409,8 @@ module OneM2M_PermutationFunctions {
var ListOfURIs v_memberIDs;
var AcpType v_acpIds;
var template RequestPrimitive v_createAcp := m_createAcp("PermissionForEveryone", -, -);
var template RequestPrimitive v_createContainerInAE1 := m_createContainerBase;
var template RequestPrimitive v_createContainerInAE2 := m_createContainerBase;
// Test control
if(not(PICS_ACP_SUPPORT)) {
......@@ -7438,9 +7440,11 @@ module OneM2M_PermutationFunctions {
v_ae2LocalIndex := f_getLatestResource(vc_ae2);
v_containerIndex_1 := f_cse_createResource(int3, m_createContainerBase, v_aeIndex_1); // AE1 child resource
v_createContainerInAE1 := f_setAcpId(v_createContainerInAE1, v_acpIds);
v_containerIndex_1 := f_cse_createResource(int3, v_createContainerInAE1, v_aeIndex_1); // AE1 child resource
vc_ae2.start(f_cse_createResource(int3, m_createContainerBase, v_aeIndex_2));
v_createContainerInAE2 := f_setAcpId(v_createContainerInAE2, v_acpIds);
vc_ae2.start(f_cse_createResource(int3, v_createContainerInAE2, v_aeIndex_2));
f_aeSimu_checkComponentDoneAndGetVerdict(vc_ae2);
......
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