Commit 3dfdb91d authored by Naum Spaseski's avatar Naum Spaseski

Corrected attributeNames in f_getResourceName and resourceIds f_getResourceName

corrected mw_retrieve template to Not check for resourceType and primitiveContent
corrected compilation error for TC_CSE_REG_CRE_013
Signed-off-by: 's avatarNaum Spaseski <naum.spaseski@gmail.com>
parent 19954d4a
......@@ -2340,6 +2340,9 @@ module OneM2M_Functions {
if(ischosen(p_contentResource.remoteCSE)) {
return f_resourceIdCleaner(p_contentResource.remoteCSE.resourceID);
}
if(ischosen(p_contentResource.cSEBase)) {
return f_resourceIdCleaner(p_contentResource.cSEBase.resourceID);
}
log(__SCOPE__&":WARNING: Primitive Content Kind not implemented");
......@@ -2385,6 +2388,9 @@ module OneM2M_Functions {
if(ischosen(p_contentResource.remoteCSE)) {
return p_contentResource.remoteCSE.resourceName;
}
if(ischosen(p_contentResource.cSEBase)) {
return p_contentResource.cSEBase.resourceName;
}
log(__SCOPE__&":WARNING: Primitive Content Kind not implemented");
return "resourceNameNotFound";
......
......@@ -130,8 +130,8 @@ module OneM2M_Templates {
to_ := p_targetResourceAddress,
from_ := ?,
requestIdentifier := ?,
resourceType := ?,
primitiveContent := ?,
resourceType := omit,
primitiveContent := *,
role := *,
originatingTimestamp := *,
requestExpirationTimestamp := *,
......
This diff is collapsed.
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