Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
ATS
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TST
ATS
Commits
37557898
Commit
37557898
authored
7 years ago
by
Miguel Angel Reina Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Small correction for f_cse_postamble_deleteResources
Signed-off-by:
reinaortega
<
miguelangel.reinaortega@etsi.org
>
parent
674b1b76
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!25
Ae fixes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
LibOneM2M/OneM2M_Functions.ttcn
+8
-7
8 additions, 7 deletions
LibOneM2M/OneM2M_Functions.ttcn
with
8 additions
and
7 deletions
LibOneM2M/OneM2M_Functions.ttcn
+
8
−
7
View file @
37557898
...
...
@@ -7,7 +7,7 @@
*
* @author oneM2M
* @version $URL: https://forge.etsi.org/svn/oneM2M/trunk/ttcn/LibOneM2M/OneM2M_Functions.ttcn $
* $Id: OneM2M_Functions.ttcn 27
7
2017-05-18 0
4:51:46
Z reinaortega $
* $Id: OneM2M_Functions.ttcn 27
8
2017-05-18 0
5:37:19
Z reinaortega $
* @desc Module containing functions for oneM2M
*
*/
...
...
@@ -324,12 +324,13 @@ module OneM2M_Functions {
v_request
:=
valueof
(
m_deleteRequest
(
v_resourceAddress
));
//Not needed any longer: PX_SUPER_USER should be able to do all operations
// if(PX_FROM_IS_AE_ID){
// if(ischosen(vc_resourcesList[vc_resourcesIndexToBeDeleted[i]].resource.any_1[0].AE_optional)) {
// v_request.from_ := vc_resourcesList[vc_resourcesIndexToBeDeleted[i]].resource.any_1[0].AE_optional.aE_ID;
// }
// }
//For deletion of AEs, priority is to use AE-ID in From parameter
//For other resources PX_SUPER_USER should be able to do DELETE operation
if
(
PX_FROM_IS_AE_ID
){
if
(
ischosen
(
vc_resourcesList
[
vc_resourcesIndexToBeDeleted
[
i
]].
resource
.
any_1
[
0
].
AE_optional
))
{
v_request
.
from_
:=
vc_resourcesList
[
vc_resourcesIndexToBeDeleted
[
i
]].
resource
.
any_1
[
0
].
AE_optional
.
aE_ID
;
}
}
mcaPort
.
send
(
m_request
(
v_request
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment