Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
ATS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Merge requests
!3
Reg
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Reg
REG
into
master
Overview
0
Commits
7
Pipelines
0
Changes
3
Merged
Miguel Angel Reina Ortega
requested to merge
REG
into
master
9 years ago
Overview
0
Commits
7
Pipelines
0
Changes
3
Expand
0
0
Merge request reports
Viewing commit
382fa8ba
Prev
Next
Show latest version
3 files
+
79
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
382fa8ba
Added serviceSubscribeAppRule type and template and added mcc port to config function
· 382fa8ba
Naum Spaseski
authored
9 years ago
OneM2M_Functions.ttcn
+
5
−
3
Options
@@ -33,6 +33,7 @@ module OneM2M_Functions {
// Map
map
(
self
:
mcaPort
,
system
:
mcaPort
);
map
(
self
:
mccPort
,
system
:
mccPort
);
map
(
self
:
acPort
,
system
:
acPort
);
activate
(
a_default
());
@@ -113,13 +114,13 @@ module OneM2M_Functions {
var
M2MResponsePrimitive
v_response
;
var
integer
v_cseBaseAuxIndex
:=
-
1
;
var
integer
v_acpAuxIndex
:=
-
1
;
var
ServiceSubscribedAppRule
v_serviceSubscribedAppRule
;
var
ServiceSubscribedAppRule
_optional
v_serviceSubscribedAppRule
;
v_serviceSubscribedAppRule
.
applicableCredIDs
:=
{
"None"
};
v_serviceSubscribedAppRule
.
allowedApp_IDs
:=
{
PX_APP_ID
};
v_serviceSubscribedAppRule
.
allowedAEs
:=
valueof
(
p_allowedAEs
);
mcaPort
.
send
(
m_request
(
m_create
CSEBas
e
(
v_serviceSubscribedAppRule
)));
mcaPort
.
send
(
m_request
(
m_create
ServiceSubscribedAppRul
e
(
v_serviceSubscribedAppRule
)));
tc_ac
.
start
;
alt
{
@@ -197,7 +198,8 @@ module OneM2M_Functions {
function
f_postamble_default
()
runs
on
M2M
{
unmap
(
self
:
mcaPort
,
system
:
mcaPort
);
unmap
(
self
:
mcaPort
,
system
:
mcaPort
);
unmap
(
self
:
mccPort
,
system
:
mccPort
);
unmap
(
self
:
acPort
,
system
:
acPort
);
//stop;
}
Loading