Commit f73c2c51 authored by Yann Garcia's avatar Yann Garcia
Browse files

review MEC 011

parent ee14df8c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -171,6 +171,10 @@ def main():
        # End of 'with' statement
    # End of 'with' statement

    # Check if file is not empty
    if os.path.getsize(OUT_FILE_PATH) == 0:
        logger.error(f'Empty result, please check that FileMask is properly set: ERROR | WARNING | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP | PORTEVENT | TIMEROP | TESTCASE')
    else:
        os.system('java -DPLANTUML_LIMIT_SIZE=8192 -jar ./plantuml.jar -svg {}'.format(OUT_FILE_PATH))
# End of main function

+1 −1
Original line number Diff line number Diff line
#!/bin/bash
#set -e
set -vx
#set -vx

clear

+1167 −211

File changed.

Preview size limit exceeded, changes collapsed.

+84 −0
Original line number Diff line number Diff line
@@ -12,6 +12,90 @@ module AtsMec_EdgePlatformApplicationEnablementAPI_TestControl {
  control {
    
    if (PICS_MEC_PLAT and PICS_SERVICES) {
      if (PICS_APP_ENABLEMENT_API_SUPPORTED) {
        execute(TC_MEC_MEC011_SRV_APPSAQ_001_OK());
        execute(TC_MEC_MEC011_SRV_APPSAQ_001_BR());
        execute(TC_MEC_MEC011_SRV_APPSAQ_002_OK());
        execute(TC_MEC_MEC011_SRV_APPSAQ_002_BR());
        execute(TC_MEC_MEC011_SRV_APPSAQ_002_NF());
        execute(TC_MEC_MEC011_SRV_APPSAQ_003_OK());
        execute(TC_MEC_MEC011_SRV_APPSAQ_003_NF());
        execute(TC_MEC_MEC011_SRV_APPSAQ_004_OK());
        execute(TC_MEC_MEC011_SRV_APPSAQ_004_BR());
        execute(TC_MEC_MEC011_SRV_APPSAQ_004_NF());
        execute(TC_MEC_MEC011_SRV_APPSAQ_004_PF());

        execute(TC_MEC_MEC011_SRV_APPSUB_001_OK());
        execute(TC_MEC_MEC011_SRV_APPSUB_001_NF());
        execute(TC_MEC_MEC011_SRV_APPSUB_002_OK());
        execute(TC_MEC_MEC011_SRV_APPSUB_002_BR());
        execute(TC_MEC_MEC011_SRV_APPSUB_003_OK());
        execute(TC_MEC_MEC011_SRV_APPSUB_003_NF());
        execute(TC_MEC_MEC011_SRV_APPSUB_004_OK());
        execute(TC_MEC_MEC011_SRV_APPSUB_004_NF());

        execute(TC_MEC_MEC011_SRV_CONFTASK_001_OK());
        execute(TC_MEC_MEC011_SRV_CONFTASK_001_NF());
        execute(TC_MEC_MEC011_SRV_CONFTASK_002_OK());
        execute(TC_MEC_MEC011_SRV_CONFTASK_002_NF());

        execute(TC_MEC_MEC011_SRV_DNS_001_OK());
        execute(TC_MEC_MEC011_SRV_DNS_001_NF());
        execute(TC_MEC_MEC011_SRV_DNS_002_OK());
        execute(TC_MEC_MEC011_SRV_DNS_002_NF());
        execute(TC_MEC_MEC011_SRV_DNS_003_OK());
        execute(TC_MEC_MEC011_SRV_DNS_003_BR());
        execute(TC_MEC_MEC011_SRV_DNS_003_NF());
        execute(TC_MEC_MEC011_SRV_DNS_003_PF());

        execute(TC_MEC_MEC011_SRV_MSL_001_OK());
        execute(TC_MEC_MEC011_SRV_MSL_001_NF());
        execute(TC_MEC_MEC011_SRV_MSL_002_OK());
        execute(TC_MEC_MEC011_SRV_MSL_002_BR());

        execute(TC_MEC_MEC011_SRV_REGAPPS_001_OK_01());
        execute(TC_MEC_MEC011_SRV_REGAPPS_001_OK_02());
        execute(TC_MEC_MEC011_SRV_REGAPPS_001_OK_03());
        execute(TC_MEC_MEC011_SRV_REGAPPS_001_BR_01());
        execute(TC_MEC_MEC011_SRV_REGAPPS_001_BR_02());
        execute(TC_MEC_MEC011_SRV_REGAPPS_001_BR_03());
        execute(TC_MEC_MEC011_SRV_REGAPPS_001_BR_04());
        execute(TC_MEC_MEC011_SRV_REGAPPS_001_BR_05());
        execute(TC_MEC_MEC011_SRV_REGAPPS_001_BR_06());
        execute(TC_MEC_MEC011_SRV_REGAPPS_002_OK());
        execute(TC_MEC_MEC011_SRV_REGAPPS_002_NF());
        execute(TC_MEC_MEC011_SRV_REGAPPS_003_OK());
        execute(TC_MEC_MEC011_SRV_REGAPPS_003_NF());
        execute(TC_MEC_MEC011_SRV_REGAPPS_004_OK());
        execute(TC_MEC_MEC011_SRV_REGAPPS_004_NF());

        execute(TC_MEC_MEC011_SRV_SAQ_001_OK());
        execute(TC_MEC_MEC011_SRV_SAQ_001_BR());
        execute(TC_MEC_MEC011_SRV_SAQ_002_OK());
        execute(TC_MEC_MEC011_SRV_SAQ_002_NF());

        execute(TC_MEC_MEC011_SRV_SRVSUB_001_OK());
        execute(TC_MEC_MEC011_SRV_SRVSUB_001_NF());
        execute(TC_MEC_MEC011_SRV_SRVSUB_002_OK());
        execute(TC_MEC_MEC011_SRV_SRVSUB_002_BR());
        execute(TC_MEC_MEC011_SRV_SRVSUB_003_OK());
        execute(TC_MEC_MEC011_SRV_SRVSUB_003_NF());
        execute(TC_MEC_MEC011_SRV_SRVSUB_004_OK());
        execute(TC_MEC_MEC011_SRV_SRVSUB_004_NF());

        execute(TC_MEC_MEC011_SRV_TIME_001_OK());
        execute(TC_MEC_MEC011_SRV_TIME_002_OK());

        execute(TC_MEC_MEC011_SRV_TRAF_001_OK());
        execute(TC_MEC_MEC011_SRV_TRAF_001_NF());
        execute(TC_MEC_MEC011_SRV_TRAF_002_OK());
        execute(TC_MEC_MEC011_SRV_TRAF_003_OK());
        execute(TC_MEC_MEC011_SRV_TRAF_003_BR());
        execute(TC_MEC_MEC011_SRV_TRAF_003_NF());
        execute(TC_MEC_MEC011_SRV_TRAF_003_PF());

        execute(TC_MEC_MEC011_SRV_TRANS_001_OK());
      }
    }

  } // End of 'control' statement
+6 −6
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ module ApplicationMobilityServiceAPI_Templates {
                                                                                in template (omit) Json.AnyURI p_callbackReference := omit,
                                                                                in template (omit) ApplicationMobilityServiceAPI_TypesAndValues.Links p_links := omit,
                                                                                in template (omit) AdjacentFilterCriteria p_filterCriteria := omit,
                                                                                in template (omit) ApplicationMobilityServiceAPI_TypesAndValues.TimeStamp p_expiryDeadline := omit,
                                                                                in template (omit) TimeStamp p_expiryDeadline := omit,
                                                                                in template (omit) Json.Bool p_requestTestNotification := omit,
                                                                                in template (omit) ApplicationMobilityServiceAPI_TypesAndValues.WebsockNotifConfig p_websockNotifConfig := omit
  ) := {
@@ -113,7 +113,7 @@ module ApplicationMobilityServiceAPI_Templates {
                                                                                   template Json.AnyURI p_callbackReference := *,
                                                                                   template ApplicationMobilityServiceAPI_TypesAndValues.Links p_links := *,
                                                                                   template AdjacentFilterCriteria p_filterCriteria := *,
                                                                                   template ApplicationMobilityServiceAPI_TypesAndValues.TimeStamp p_expiryDeadline := *,
                                                                                   template TimeStamp p_expiryDeadline := *,
                                                                                   template Json.Bool p_requestTestNotification := *,
                                                                                   template ApplicationMobilityServiceAPI_TypesAndValues.WebsockNotifConfig p_websockNotifConfig := *
  ) := {
@@ -131,7 +131,7 @@ module ApplicationMobilityServiceAPI_Templates {
                                                                                   in template (value) Links_Notification p_links,
                                                                                   in template (value) AssociateId p_associateId,
                                                                                   in template (value) MobilityStatus p_mobilityStatus,
                                                                                   in template (omit) ApplicationMobilityServiceAPI_TypesAndValues.TimeStamp p_timeStamp := omit,
                                                                                   in template (omit) TimeStamp p_timeStamp := omit,
                                                                                   in template (omit) TargetAppInfo p_targetAppInfo	:= omit
                                                                                   ) := {
    notificationType := p_notificationType,
@@ -147,7 +147,7 @@ module ApplicationMobilityServiceAPI_Templates {
                                                                                      template (present) Links_Notification p_links := ?,
                                                                                      template (present) AssociateId p_associateId := ?,
                                                                                      template (present) MobilityStatus p_mobilityStatus := ?,
                                                                                      template ApplicationMobilityServiceAPI_TypesAndValues.TimeStamp p_timeStamp := *,
                                                                                      template TimeStamp p_timeStamp := *,
                                                                                      template TargetAppInfo p_targetAppInfo	:= *
                                                                                      ) := {
    notificationType := p_notificationType,
@@ -160,7 +160,7 @@ module ApplicationMobilityServiceAPI_Templates {

  template (omit) ApplicationMobilityServiceAPI_TypesAndValues.ExpiryNotification m_expire_notification(
                                                                                                        in Json.String p_notificationType,
                                                                                                        in template (omit) ApplicationMobilityServiceAPI_TypesAndValues.TimeStamp p_timestamp  := omit,
                                                                                                        in template (omit) TimeStamp p_timestamp  := omit,
                                                                                                        in template (omit) ApplicationMobilityServiceAPI_TypesAndValues.Links p_links := omit
                                                                                                        ) := {
    notificationType := p_notificationType,
@@ -170,7 +170,7 @@ module ApplicationMobilityServiceAPI_Templates {

  template (present) ApplicationMobilityServiceAPI_TypesAndValues.ExpiryNotification mw_expire_notification(
                                                                                                            template (present) Json.String p_notificationType := ?,
                                                                                                            template ApplicationMobilityServiceAPI_TypesAndValues.TimeStamp p_timestamp  := *,
                                                                                                            template TimeStamp p_timestamp  := *,
                                                                                                            template ApplicationMobilityServiceAPI_TypesAndValues.Links p_links := *
                                                                                                            ) := {
    notificationType := p_notificationType,
Loading