Commit 30ac6997 authored by YannGarcia's avatar YannGarcia
Browse files

Review LocationAPI typing and Testing with try-mec.etsi.org

parent 85c5cdf8
Loading
Loading
Loading
Loading
−242

File deleted.

+15 −14
Changes for etc/AtsMec/AtsMec_Sandbox.cf_: 15 added lines, 14 removed lines.
Original line number Diff line number Diff line
@@ -14,11 +14,11 @@ LibItsHttp_Pics.PICS_HEADER_CONTENT_TYPE := "application/json"
LibItsHttp_Pics.PICS_USE_TOKEN_HEADER    := true
#LibItsHttp_Pics.PICS_TOKEN_HEADER        := "Basic WrongToken"

LibMec_Pics.PICS_ROOT_API               := "sbxkklnnyi"
LibMec_Pics.PICS_ROOT_API               := "sbxog70p4h" # Need to sign in on https://try-mec.etsi.org/, section 'Try-it from your MEC application'

# LibMex_Pixits
LibMec_Pixits.PX_ME_APP_Q_ZONE_ID_URI     := "/location/v2/zones"
LibMec_Pixits.PX_ME_APP_Q_USERS_LIST_URI  := "/location/v2/users"
# LibMec_Pixits
LibMec_Pixits.PX_ME_APP_Q_ZONE_ID_URI     := "/location/v2/queries/zones"
LibMec_Pixits.PX_ME_APP_Q_USERS_LIST_URI  := "/location/v2/queries/users"
LibMec_Pixits.PX_RNIS_SUBSCRITIONS_URI    := "/rni/v2/subscriptions"
LibMec_Pixits.PX_RNIS_QUERIES_URI         := "/rni/v2/queries"
LibMec_Pixits.PX_MEC_SVC_MGMT_APPS_URI    := "/mec_service_mgmt/v2/applications"
@@ -46,7 +46,7 @@ RnisAPI_Pixits.PX_SUBSCRIPTION_HREF_VALUE := "cell_change"
RnisAPI_Pixits.PX_SUBSCRIPTION_TYPE       := CELL_CHANGE
RnisAPI_Pixits.PX_SUBSCRIPTION_ID         := "7777"
RnisAPI_Pixits.PX_ASSOCIATE_ID_VALUE      := "192.0.0.2"
RnisAPI_Pixits.PX_CELL_ID                 := "0x8080808"
RnisAPI_Pixits.PX_CELL_ID                 := "0x4040404"
RnisAPI_Pixits.PX_C_ID                    := "0xFFFFFFFF"
RnisAPI_Pixits.PX_APP_INS_ID              := "01"
RnisAPI_Pixits.PX_APP_ID                  := "19"
@@ -55,8 +55,9 @@ RnisAPI_Pixits.PX_QCI := 0

# Mec-013 LocationAPI
LocationAPI_Pics.PICS_LOCATION_API_SUPPORTED := true
LocationAPI_Pixits.PX_ZONE_ID                := "zone01"
LocationAPI_Pixits.PX_USER                   := "10.100.0.1"
LocationAPI_Pixits.PX_ZONE_ID                := "zone02"
LocationAPI_Pixits.PX_ACCESS_POINT_ID        := "4g-macro-cell-4"
LocationAPI_Pixits.PX_USER                   := "10.10.0.1"
LocationAPI_Pixits.PX_CLIENT_ID              := "0123"
LocationAPI_Pixits.PX_SUBSCRIPTION_ID        := "subscription0123"

@@ -68,11 +69,11 @@ BwManagementAPI_Pics.PICS_BWMANAGEMENT_API_SUPPORTED := false
# In this section you can specify the name of the log file and the classes of events
# you want to log into the file or display on console (standard error).

LogFile := "../logs/AtsNg112/%e.%h-%r.%s"
#FileMask := LOG_ALL | USER | DEBUG | MATCHING
#ConsoleMask := LOG_ALL | USER | DEBUG | MATCHING
FileMask := ERROR | WARNING | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP | PORTEVENT
ConsoleMask := ERROR | WARNING | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP | PORTEVENT
LogFile := "../logs/AtsMec/%e.%h-%r.%s"
FileMask := LOG_ALL | USER | DEBUG | MATCHING
ConsoleMask := LOG_ALL | USER | DEBUG | MATCHING
#FileMask := ERROR | WARNING | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP | PORTEVENT
#ConsoleMask := ERROR | WARNING | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP | PORTEVENT
LogSourceInfo := Stack
LogEntityName:= Yes
LogEventTypes:= Yes
@@ -116,7 +117,7 @@ system.httpPort.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server=try-m
#AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UETAG_002_PF

# ETSI GS MEC 013
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCLOOK_001_OK
AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCLOOK_001_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCLOOK_001_BR
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCLOOK_001_NF
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCSUB_001_OK
@@ -148,7 +149,7 @@ system.httpPort.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server=try-m
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_UEDISTSUB_002_NF

# ETSI GS MEC 012
AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_011_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_011_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_012_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_011_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_012_BR
+7 −1
Changes for scripts/run_all.bash: 7 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -17,6 +17,12 @@ else
    COUNTER=1
fi

if [ $COUNTER == 0 ]
then
   COUNTER=1
   cd .. && make && cd -
fi

CURPWD=`pwd`
if [ ! "${PWD##*/}" == "scripts" ]
then
@@ -28,7 +34,7 @@ then
    fi
fi

rm ../bin/S1/logs/merged.*.log
rm ../logs/$ATS/*.log

for i in $(seq 1 1 $COUNTER)
do
+6 −2
Changes for ttcn/AtsMec/AtsMec_LocationAPI_TestCases.ttcn: 6 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -73,12 +73,16 @@ module AtsMec_LocationAPI_TestCases {
                              mw_http_response(
                                               mw_http_response_ok(
                                                                   mw_http_message_body_json(
                                                                                             mw_body_json_user_info(
                                                                                                                    mw_user_info(
                                                                                             mw_body_json_user_list(
                                                                                                                    mw_user_list(
                                                                                                                                 ?/*{mw_user_info(
                                                                                                                                              PX_USER,
                                                                                                                                              PX_ACCESS_POINT_ID,
                                                                                                                                              PX_ZONE_ID,
                                                                                                                                              -,
                                                                                                                                              PX_RESOURCE_URL
                                                                                                                                              )}*/,
                                                                                                                                 ?
                                                                                                                                 )))))) {
            tc_ac.stop;
            
+23 −18

File changed.

Preview size limit exceeded, changes collapsed.

Loading