Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MEC - Multi-access Edge Computing
MEC TTCN-3 Test Suite
Commits
9b4a46eb
Commit
9b4a46eb
authored
May 29, 2019
by
YannGarcia
Browse files
Validate first BwManagementAPI test
parent
4c484eb3
Changes
9
Hide whitespace changes
Inline
Side-by-side
scripts/mec_generate_makefile.bash
View file @
9b4a46eb
...
...
@@ -52,7 +52,7 @@ find .. -type f -name "*.bak" -exec rm {} \;
find ..
-type
f
-name
"*.log"
-exec
rm
{}
\;
# Build JSON files if any and put them in objs directory
REFERENCES
=
"LibCommon LibHttp LibMec LibMec/LocationAPI LibMec/RnisAPI LibMec/UEidentityAPI"
REFERENCES
=
"LibCommon LibHttp LibMec LibMec/LocationAPI LibMec/RnisAPI LibMec/UEidentityAPI
LibMec/BwManagementAPI
"
for
i
in
${
REFERENCES
}
do
# TTCN code
...
...
scripts/merge_mec_project.bash
View file @
9b4a46eb
...
...
@@ -158,7 +158,7 @@ done
echo
'Update TTCN-3 files'
TTCN_3_ORG_PATH
=
${
SRC_MEC_PATH
}
/ttcn
TTCN_3_DST_PATH
=
${
PATH_DEV_MEC
}
/src
TTCN_3_ATS_LIST
=
'AtsNg112 LibMec LibMec/LocationAPI LibMec/UEidentityAPI LibMec/RnisAPI LibHttp LibCommon'
TTCN_3_ATS_LIST
=
'AtsNg112 LibMec LibMec/LocationAPI LibMec/UEidentityAPI LibMec/RnisAPI
LibMec/BwManagementAPI
LibHttp LibCommon'
for
i
in
${
TTCN_3_ATS_LIST
}
do
# TTCN-3 files
...
...
scripts/update_mec_project.bash
View file @
9b4a46eb
...
...
@@ -125,7 +125,7 @@ do
done
# Update libraries & CC files
TTCN_3_LIB_LIST
=
'LibMec LibMec/LocationAPI LibMec/UEidentityAPI LibMec/RnisAPI LibHttp LibCommon'
TTCN_3_LIB_LIST
=
'LibMec LibMec/LocationAPI LibMec/UEidentityAPI LibMec/RnisAPI
LibMec/BwManagementAPI
LibHttp LibCommon'
for
i
in
${
TTCN_3_LIB_LIST
}
do
if
[
!
-d
${
TTCN_3_DST_PATH
}
/
$i
]
...
...
@@ -147,6 +147,10 @@ do
cp
${
TTCN_3_ORG_PATH
}
/
$i
/ttcn/
*
.ttcn
${
TTCN_3_DST_PATH
}
/
$i
/ttcn
cp
${
TTCN_3_ORG_PATH
}
/
$i
/json/
*
.json
${
TTCN_3_DST_PATH
}
/
$i
/json
elif
[
"
$i
"
==
"LibMec/RnisAPI"
]
then
cp
${
TTCN_3_ORG_PATH
}
/
$i
/ttcn/
*
.ttcn
${
TTCN_3_DST_PATH
}
/
$i
/ttcn
cp
${
TTCN_3_ORG_PATH
}
/
$i
/json/
*
.json
${
TTCN_3_DST_PATH
}
/
$i
/json
elif
[
"
$i
"
==
"LibMec/BwManagementAPI"
]
then
cp
${
TTCN_3_ORG_PATH
}
/
$i
/ttcn/
*
.ttcn
${
TTCN_3_DST_PATH
}
/
$i
/ttcn
cp
${
TTCN_3_ORG_PATH
}
/
$i
/json/
*
.json
${
TTCN_3_DST_PATH
}
/
$i
/json
...
...
ttcn/LibMec/BwManagementA
pi
/json/BwManagementApi.json
→
ttcn/LibMec/BwManagementA
PI
/json/BwManagementApi.json
View file @
9b4a46eb
File moved
ttcn/LibMec/BwManagementA
pi
/ttcn/BwManagementAPI_Pics.ttcn
→
ttcn/LibMec/BwManagementA
PI
/ttcn/BwManagementAPI_Pics.ttcn
View file @
9b4a46eb
File moved
ttcn/LibMec/BwManagementA
pi
/ttcn/BwManagementAPI_Pixits.ttcn
→
ttcn/LibMec/BwManagementA
PI
/ttcn/BwManagementAPI_Pixits.ttcn
View file @
9b4a46eb
File moved
ttcn/LibMec/BwManagementA
pi
/ttcn/BwManagementAPI_Templates.ttcn
→
ttcn/LibMec/BwManagementA
PI
/ttcn/BwManagementAPI_Templates.ttcn
View file @
9b4a46eb
File moved
ttcn/LibMec/BwManagementA
pi
/ttcn/BwManagementAPI_TypesAndValues.ttcn
→
ttcn/LibMec/BwManagementA
PI
/ttcn/BwManagementAPI_TypesAndValues.ttcn
View file @
9b4a46eb
File moved
ttcn/LibMec/RnisAPI/ttcn/RnisAPI_Pixits.ttcn
View file @
9b4a46eb
...
...
@@ -8,6 +8,6 @@ module RnisAPI_Pixits {
modulepar
JSON
.
String
PX_SUBSCRIPTION_ID
:=
"7777"
;
modulepar
Link
PX_LINKS_SELF
:=
{
self_
:=
"http://
meAppServer.
example.com/rni/v
1
/subscriptions"
};
modulepar
Link
PX_LINKS_SELF
:=
{
self_
:=
"http://example.com/
exampleAPI/
rni/v
2
/subscriptions
/
"
};
}
// End of module RnisAPI_Pixits
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment