Merging TTF_T043_NXW branch into TTF_T043

Merging TTF_T043_NXW branch into TTF_T043

Merge request reports

Loading
+35 −35
Changes for MEC011/SRV/APPSAQ/PlatAppServices.robot: 35 added lines, 35 removed lines.
Original line number Diff line number Diff line
@@ -19,9 +19,9 @@ TC_MEC_MEC011_SRV_APPSAQ_001_OK
    ...    Check that the IUT responds with a list of available MEC services
    ...    for a given application instance when queried by a MEC Application
    ...
    ...    Reference    ETSI GS MEC 011 3.2.1, clause 5.2.5,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.1.2.2,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.2.6.3.1
    ...    Reference    ETSI GS MEC 011 clause 5.2.5,
    ...                 ETSI GS MEC 011 clause 8.1.2.2,
    ...                 ETSI GS MEC 011 clause 8.2.6.3.1
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    [Setup]  Create new service    ServiceInfo    ${APP_INSTANCE_ID}
    Set Suite Variable    ${SERVICE_ID}    ${response['body']['serInstanceId']}
@@ -36,9 +36,9 @@ TC_MEC_MEC011_SRV_APPSAQ_001_BR
    ...   Check that the IUT responds with an error when
    ...    a request with incorrect parameters is sent by a MEC Application
    ...
    ...    Reference    ETSI G3.2.1 011 3.2.1, clause 5.2.5,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.1.2.2,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.2.6.3.1
    ...    Reference    ETSI G3.3.1 011 clause 5.2.5,
    ...                 ETSI GS MEC 011 clause 8.1.2.2,
    ...                 ETSI GS MEC 011 clause 8.2.6.3.1
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    # Wrong query parameter name should trigger an error response.
    Get a list of mecService of an application instance with parameters    ${APP_INSTANCE_ID}    ${INSTANCE_ID}    ${FAKE_INSTANCE_ID_VALUE}
@@ -50,9 +50,9 @@ TC_MEC_MEC011_SRV_APPSAQ_002_OK
    ...    Check that the IUT notifies the authorised relevant (subscribed) application
    ...    instances when a new service for a given application instance is registered
    ...
    ...    Reference    ETSI GS MEC 011 3.2.1, clause 5.2.5,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.1.2.2,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.2.6.3.4
    ...    Reference    ETSI GS MEC 011 clause 5.2.5,
    ...                 ETSI GS MEC 011 clause 8.1.2.2,
    ...                 ETSI GS MEC 011 clause 8.2.6.3.4
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    [Setup] 
    Create new service    ServiceInfo    ${APP_INSTANCE_ID}
@@ -70,9 +70,9 @@ TC_MEC_MEC011_SRV_APPSAQ_002_BR
    ...    Check that the IUT responds with an error when
    ...    a request with incorrect parameters is sent by a MEC Application
    ...
    ...    Reference    ETSI GS MEC 011 3.2.1, clause 5.2.5,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.1.2.2,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.2.6.3.4
    ...    Reference    ETSI GS MEC 011 clause 5.2.5,
    ...                 ETSI GS MEC 011 clause 8.1.2.2,
    ...                 ETSI GS MEC 011 clause 8.2.6.3.4
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    Create new service    ServiceInfoError    ${APP_INSTANCE_ID}
    Check HTTP Response Status Code Is    400
@@ -83,9 +83,9 @@ TC_MEC_MEC011_SRV_APPSAQ_002_NF
    ...    Check that the IUT responds with an error when
    ...    a request for an unknown URI is sent by a MEC Application
    ...
    ...    Reference    ETSI GS MEC 011 3.2.1, clause 5.2.5,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.1.2.2,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.2.6.3.4
    ...    Reference    ETSI GS MEC 011 clause 5.2.5,
    ...                 ETSI GS MEC 011 clause 8.1.2.2,
    ...                 ETSI GS MEC 011 clause 8.2.6.3.4
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    [Setup]  Remove individual service    ${NON_EXISTENT_APP_INSTANCE_ID}    ${SERVICE_ID}
    Create new service    ServiceInfo    ${NON_EXISTENT_APP_INSTANCE_ID}
@@ -97,9 +97,9 @@ TC_MEC_MEC011_SRV_APPSAQ_003_OK
    ...    Check that the IUT responds with the information on a specific service
    ...    for a given application instance when queried by a MEC Application
    ...
    ...    Reference ETSI GS MEC 011 3.2.1, clause 5.2.5,
    ...              ETSI GS MEC 011 3.2.1, clause 8.1.2.2,
    ...              ETSI GS MEC 011 3.2.1, clause 8.2.7.3.1
    ...    Reference ETSI GS MEC 011 clause 5.2.5,
    ...              ETSI GS MEC 011 clause 8.1.2.2,
    ...              ETSI GS MEC 011 clause 8.2.7.3.1
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    [Setup]  Create new service    ServiceInfo    ${APP_INSTANCE_ID} 
    Set Suite Variable    ${SERVICE_ID}    ${response['body']['serInstanceId']}
@@ -115,9 +115,9 @@ TC_MEC_MEC011_SRV_APPSAQ_003_NF
    ...    Check that the IUT responds with an error when
    ...    a request for an unknown URI is sent by a MEC Application
    ...
    ...    Reference ETSI GS MEC 011 3.2.1, clause 5.2.5,
    ...              ETSI GS MEC 011 3.2.1, clause 8.1.2.2,
    ...              ETSI GS MEC 011 3.2.1, clause 8.2.7.3.1
    ...    Reference ETSI GS MEC 011 clause 5.2.5,
    ...              ETSI GS MEC 011 clause 8.1.2.2,
    ...              ETSI GS MEC 011 clause 8.2.7.3.1
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    [Setup]  Remove individual service    ${NON_EXISTENT_APP_INSTANCE_ID}    ${SERVICE_ID}
    Get individual service    ${APP_INSTANCE_ID}    ${NON_EXISTENT_SERVICE_ID}
@@ -129,9 +129,9 @@ TC_MEC_MEC011_SRV_APPSAQ_004_OK
    ...    Check that the IUT updates a service information for a given
    ...    application instance when commanded by a MEC Application
    ...
    ...    Reference    ETSI GS MEC 011 3.2.1, clause 5.2.4,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.1.2.2,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2
    ...    Reference    ETSI GS MEC 011 clause 5.2.4,
    ...                 ETSI GS MEC 011 clause 8.1.2.2,
    ...                 ETSI GS MEC 011 clause 8.2.7.3.2
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    [Setup]  Create new service    ServiceInfo    ${APP_INSTANCE_ID} 
    Set Suite Variable    ${SERVICE_ID}    ${response['body']['serInstanceId']}
@@ -147,9 +147,9 @@ TC_MEC_MEC011_SRV_APPSAQ_004_BR
    ...    Check that the IUT responds with an error when
    ...    a request with incorrect parameters is sent by a MEC Application
    ...
    ...    Reference    ETSI GS MEC 011 3.2.1, clause 5.2.4,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.1.2.2,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2
    ...    Reference    ETSI GS MEC 011 clause 5.2.4,
    ...                 ETSI GS MEC 011 clause 8.1.2.2,
    ...                 ETSI GS MEC 011 clause 8.2.7.3.2
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    [Setup]  Create new service    ServiceInfo    ${APP_INSTANCE_ID}
    Set Suite Variable    ${SERVICE_ID}    ${response['body']['serInstanceId']}
@@ -163,9 +163,9 @@ TC_MEC_MEC011_SRV_APPSAQ_004_NF
    ...    Check that the IUT responds with an error when
    ...    a request for an unknown URI is sent by a MEC Application
    ...
    ...    Reference    ETSI GS MEC 011 3.2.1, clause 5.2.4,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.1.2.2,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2
    ...    Reference    ETSI GS MEC 011 clause 5.2.4,
    ...                 ETSI GS MEC 011 clause 8.1.2.2,
    ...                 ETSI GS MEC 011 clause 8.2.7.3.2
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    [Setup]  Remove individual service    ${APP_INSTANCE_ID}    ${NON_EXISTENT_SERVICE_ID}
    Update service    ${APP_INSTANCE_ID}    ${NON_EXISTENT_SERVICE_ID}    ServiceInfoUpdated
@@ -177,9 +177,9 @@ TC_MEC_MEC011_SRV_APPSAQ_004_PF
    ...    Check that the IUT responds with an error when
    ...    a request sent by a MEC Application doesn't comply with a required condition
    ...
    ...    Reference    ETSI GS MEC 011 3.2.1, clause 5.2.4,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.1.2.2,
    ...                 ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2
    ...    Reference    ETSI GS MEC 011 clause 5.2.4,
    ...                 ETSI GS MEC 011 clause 8.1.2.2,
    ...                 ETSI GS MEC 011 clause 8.2.7.3.2
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    [Setup]  Create new service    ServiceInfo    ${APP_INSTANCE_ID} 
    Set Suite Variable    ${SERVICE_ID}    ${response['body']['serInstanceId']}
@@ -193,7 +193,7 @@ TC_MEC_MEC011_SRV_APPSAQ_005_OK
    ...    Check that the IUT executes the deletion of a service 
    ...    for a given application instance when requested by a MEC Application
    ...
    ...    Reference ETSI GS MEC 011 3.2.1, clause 8.2.7.3.5
    ...    Reference ETSI GS MEC 011 clause 8.2.7.3.5
   [Tags]    PIC_MEC_PLAT    PIC_SERVICES
   [Setup]  Create new service    ServiceInfo    ${APP_INSTANCE_ID} 
   Set Suite Variable    ${SERVICE_ID}    ${response['body']['serInstanceId']}
@@ -206,7 +206,7 @@ TC_MEC_MEC011_SRV_APPSAQ_005_NF
    ...    Check that the IUT responds with an error when
    ...    a request for deletion of a unknown service is sent by a MEC Application
    ...
    ...    Reference ETSI GS MEC 011 3.2.1, clause 8.2.7.3.5
    ...    Reference ETSI GS MEC 011 clause 8.2.7.3.5
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    [Setup]  Remove individual service    ${APP_INSTANCE_ID}    ${NON_EXISTENT_SERVICE_ID}   
    Remove individual service    ${APP_INSTANCE_ID}    ${NON_EXISTENT_SERVICE_ID}
+2 −2
Changes for MEC011/SRV/APPSUB/jsons/AppTerminationNotificationSubscription.json: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
{
  "subscriptionType": "AppTerminationNotificationSubscription",
  "subscriptionType": "SerAvailabilityNotificationSubscription",
  "callbackReference": "https://somewhere.com/mecAppSuptApi/example",
  "_links": {
    "self": {
      "href": "https://somewhere.com/mecAppSuptApi/example"
    }
  },
  "appInstanceId": "f1e4d448-e277-496b-bf63-98391cfd20fb"
  "appInstanceId": "298b2c0c-7efa-45d3-8b47-8ab3c009b845"
}
 No newline at end of file
+16 −16
Changes for MEC011/SRV/APPSUB/PlatAppSubscriptions.robot: 16 added lines, 16 removed lines.
Original line number Diff line number Diff line
@@ -18,8 +18,8 @@ TC_MEC_MEC011_SRV_APPSUB_001_OK
    ...    Check that the IUT responds with a list of subscriptions for notifications
    ...    on services availability when queried by a MEC Application
    ...
    ...    Reference          "ETSI GS MEC 011 3.2.1, clause 5.2.6",
    ...                       "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.1"
    ...    Reference          "ETSI GS MEC 011 clause 5.2.6",
    ...                       "ETSI GS MEC 011 clause 7.2.3.3.1"
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    [Setup]  Create new subscription    ${APP_INSTANCE_ID}    AppTerminationNotificationSubscription
    ${elements} =  Split String    ${response['body']['_links']['self']['href']}     /
@@ -35,8 +35,8 @@ TC_MEC_MEC011_SRV_APPSUB_001_NF
    ...    Check that the IUT responds with an error when
    ...    a request for an unknown URI is sent by a MEC Application
    ...
    ...    Reference          "ETSI GS MEC 011 3.2.1, clause 5.2.6",
    ...                       "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.1"
    ...    Reference          "ETSI GS MEC 011 clause 5.2.6",
    ...                       "ETSI GS MEC 011 clause 7.2.3.3.1"
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    [Setup]   Remove subscription   ${NON_EXISTENT_APP_INSTANCE_ID}    ${SUB_ID}
    Get Subscriptions list    ${NON_EXISTENT_APP_INSTANCE_ID}
@@ -48,8 +48,8 @@ TC_MEC_MEC011_SRV_APPSUB_002_OK
    ...    Check that the IUT acknowledges the subscription by a MEC Application
    ...    to notifications on service availability events
    ...
    ...    Reference   "ETSI GS MEC 011 3.2.1, clause 5.2.6",
    ...                "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.4"
    ...    Reference   "ETSI GS MEC 011 clause 5.2.6",
    ...                "ETSI GS MEC 011 clause 7.2.3.3.4"
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    
    Create new subscription    ${APP_INSTANCE_ID}    AppTerminationNotificationSubscription
@@ -69,8 +69,8 @@ TC_MEC_MEC011_SRV_APPSUB_002_BR
    ...    Check that the IUT responds with the information on a specific subscription
    ...    when queried by a MEC Application
    ...
    ...    Reference   "ETSI GS MEC 011 3.2.1, clause 5.2.6",
    ...                "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.4"
    ...    Reference   "ETSI GS MEC 011 clause 5.2.6",
    ...                "ETSI GS MEC 011 clause 7.2.3.3.4"
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    Create new subscription    ${APP_INSTANCE_ID}    AppTerminationNotificationSubscriptionBR
    Check HTTP Response Status Code Is    400
@@ -81,8 +81,8 @@ TC_MEC_MEC011_SRV_APPSUB_003_OK
    ...    Check that the IUT responds with the information on a specific subscription
    ...    when queried by a MEC Application
    ...
    ...    Reference    "ETSI GS MEC 011 3.2.1, clause 5.2.6",
    ...                 "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.1"
    ...    Reference    "ETSI GS MEC 011 clause 5.2.6",
    ...                 "ETSI GS MEC 011 clause 7.2.4.3.1"
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    [Setup]   Create new subscription    ${APP_INSTANCE_ID}    AppTerminationNotificationSubscription
    ${elements} =  Split String    ${response['body']['_links']['self']['href']}     /
@@ -98,8 +98,8 @@ TC_MEC_MEC011_SRV_APPSUB_003_NF
    ...    Check that the IUT responds with an error when
    ...    a request for an unknown URI is sent by a MEC Application
    ...
    ...    Reference    "ETSI GS MEC 011 3.2.1, clause 5.2.6",
    ...                 "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.1"
    ...    Reference    "ETSI GS MEC 011 clause 5.2.6",
    ...                 "ETSI GS MEC 011 clause 7.2.4.3.1"
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    [Setup]   Remove subscription   ${APP_INSTANCE_ID}    ${NON_EXISTENT_SUBSCRIPTION_ID}
    Get individual subscription    ${APP_INSTANCE_ID}    ${NON_EXISTENT_SUBSCRIPTION_ID}
@@ -111,8 +111,8 @@ TC_MEC_MEC011_SRV_APPSUB_004_OK
    ...    Check that the IUT acknowledges the unsubscribe from service availability event notifications
    ...    when commanded by a MEC Application
    ...
    ...    Reference    "ETSI GS MEC 011 3.2.1, clause 5.2.6",
    ...                 "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.5"
    ...    Reference    "ETSI GS MEC 011 clause 5.2.6",
    ...                 "ETSI GS MEC 011 clause 7.2.4.3.5"
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    [Setup]   Create new subscription    ${APP_INSTANCE_ID}    AppTerminationNotificationSubscription
    ${elements} =  Split String    ${response['body']['_links']['self']['href']}     /
@@ -126,8 +126,8 @@ TC_MEC_MEC011_SRV_APPSUB_004_NF
    ...    Check that the IUT responds with an error when
    ...    a request for an unknown URI is sent by a MEC Application
    ...
    ...    Reference    "ETSI GS MEC 011 3.2.1, clause 5.2.6",
    ...                 "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.5"
    ...    Reference    "ETSI GS MEC 011 clause 5.2.6",
    ...                 "ETSI GS MEC 011 clause 7.2.4.3.5"
    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    [Setup]   Remove subscription   ${NON_EXISTENT_APP_INSTANCE_ID}    ${SUBSCRIPTION_ID}
    Remove subscription    ${NON_EXISTENT_APP_INSTANCE_ID}    ${SUBSCRIPTION_ID}
+24 −0
Changes for MEC011/SRV/CAPIF/environment/variables.txt: 24 added lines, 0 removed lines.
Original line number Diff line number Diff line
*** Variables ***
# Generic variables
${SCHEMA}                   http
${HOST}                     127.0.0.1
${PORT}                     8081
${response}                         {}
${TOKEN}                            Basic YWxhZGRpbjpvcGVuc2VzYW1l
${apiRoot}        
${apiName}          service-apis
${publApiName}      published-apis  
${capifSubApiName}  capif-events
${apiVersion}       v1

# Specific variables
${API_NAME_QUERY_PARAM}                mec015-1
${API_ID_QUERY_PARAM}                  mec015-1
${UNKNOWN_MEC_SRV_SER_NAME}            UNKNOWN_MEC_SRV_SER_NAME
${MEC_SRV_INSTANCE_ID}                 MEC_SRV_SER_INSTANCE_ID
${NOT_EXISTING_MEC_SRV_INSTANCE_ID}    NOT_EXISTING_MEC_SRV_INSTANCE_ID
${SERVICE_API_ID}                      SERVICE_API_ID
${UNKNOWN_SERVICE_API_ID}              UNKNOWN_SERVICE_API_ID
${UNKNOWN_MEC_SRV_INSTANCE_ID}         UNKNOWN_MEC_SRV_INSTANCE_ID
${SUBSCRIPTION_ID}         			   SUBSCRIPTION_ID
${UNKNOWN_SUBSCRIPTION_ID}             UNKNOWN_SUBSCRIPTION_ID
+30 −0
Changes for MEC011/SRV/CAPIF/environment/variables_sandbox.txt: 30 added lines, 0 removed lines.
Original line number Diff line number Diff line
*** Variables ***


####Env variable for the ETSI MEC Sandbox
${SCHEMA}                   https
${HOST}                     try-mec.etsi.org
${PORT}                     443
${TOKEN}                            Basic YWxhZGRpbjpvcGVuc2VzYW1l
${apiRoot}		  /sbxnr8fp0o/mep1 
${apiName}        service-apis
${apiVersion}     v1



# Generic variables
${response}                         {}
${capifSubApiName}  capif-events
${apiVersion}       v1

# Specific variables
${API_NAME_QUERY_PARAM}                mec015-1
${API_ID_QUERY_PARAM}                  mec015-1
${UNKNOWN_MEC_SRV_SER_NAME}            UNKNOWN_MEC_SRV_SER_NAME
${MEC_SRV_INSTANCE_ID}                 MEC_SRV_SER_INSTANCE_ID
${NOT_EXISTING_MEC_SRV_INSTANCE_ID}    NOT_EXISTING_MEC_SRV_INSTANCE_ID
${SERVICE_API_ID}                      SERVICE_API_ID
${UNKNOWN_SERVICE_API_ID}              UNKNOWN_SERVICE_API_ID
${UNKNOWN_MEC_SRV_INSTANCE_ID}         UNKNOWN_MEC_SRV_INSTANCE_ID
${SUBSCRIPTION_ID}         			   SUBSCRIPTION_ID
${UNKNOWN_SUBSCRIPTION_ID}             UNKNOWN_SUBSCRIPTION_ID
Loading
Loading