Commit cf7cfca4 authored by Yann Garcia's avatar Yann Garcia Committed by Miguel Angel Reina Ortega
Browse files

End of validation of AtsMec_FederationEnablement

parent 33f6edeb
Loading
Loading
Loading
Loading
+2 −136
Original line number Diff line number Diff line
@@ -379,73 +379,6 @@ Package MEC_MEC040_SRV_FED {
    } // End of TP_MEC_MEC040_SRV_MEF_001_OK_06


    Test Purpose {
        TP Id "TP_MEC_MEC040_SRV_MEF_001_OK_07"

        Test objective
            "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Empty SystemName query parameters"

        Reference 
            "ETSI GS MEC 040 V3.3.1, clause 5.2.2.2",
            "ETSI GS MEC 040 V3.3.1, clause 6.2.2",
            "ETSI GS MEC 040 V3.3.1, clause 7.3.3.1"

        Config Id Config_MEC_7

        PICS Selection PIC_MEC_PLAT and PIC_SERVICES

        Initial conditions  with {
           the IUT entity being_in idle_state and
           the IUT entity is_registered to the MEC_FED entity and
           the MEC_FED entity having a systemInfoList containing
              systemInfo1 indicating value SYSTEM_NAME_1,
              systemInfoN indicating value SYSTEM_NAME_2,
              systemInfoN indicating value SYSTEM_NAME_3
           ;
        }

        // MEC 040 Clause 6.2.2   Type: SystemInfo
        Expected behaviour
            ensure that {
                when {
                    the IUT entity receives a vGET containing
                        uri indicating value "fed_enablement/v1/fed_resources/systems",
                        query_parameters containing
                            systemName indicating value empty
                        ;
                    ;
                    from the MEC_FED entity
                }
                then {
                    // MEC 040 Clause 7.3.3.1
                    the IUT entity sends a HTTP_RESPONSE containing
                        status_code set to "200 OK",
                        body containing
                            systemInfoList containing
                                systemInfo1 containing
                                    systemId indicating value SYSTEM_ID_1,
                                    systemName indicating value SYSTEM_NAME_1,
                                    systemProvider indicating value SYSTEM_PROVIDER_1
                                ;,
                                systemInfo3 containing
                                    systemId indicating value SYSTEM_ID_2,
                                    systemName indicating value SYSTEM_NAME_2,
                                    systemProvider indicating value SYSTEM_PROVIDER_2
                                ;,
                                systemInfo3 containing
                                    systemId indicating value SYSTEM_ID_3,
                                    systemName indicating value SYSTEM_NAME_3,
                                    systemProvider indicating value SYSTEM_PROVIDER_3
                                ;
                            ;
                        ;
                    ;
                    to the MEC_FED entity
                }
            }
    } // End of TP_MEC_MEC040_SRV_MEF_001_OK_07


    Test Purpose {
        TP Id "TP_MEC_MEC040_SRV_MEF_001_OK_08"

@@ -501,11 +434,11 @@ Package MEC_MEC040_SRV_FED {
                    to the MEC_FED entity
                }
            }
    } // End of TP_MEC_MEC040_SRV_MEF_001_OK_08
    } // End of TP_MEC_MEC040_SRV_MEF_001_OK_07


    Test Purpose {
        TP Id "TP_MEC_MEC040_SRV_MEF_001_OK_09"
        TP Id "TP_MEC_MEC040_SRV_MEF_001_OK_08"

        Test objective
            "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Multiple systemProvider query parameters"
@@ -567,73 +500,6 @@ Package MEC_MEC040_SRV_FED {
    } // End of TP_MEC_MEC040_SRV_MEF_001_OK_09


    Test Purpose {
        TP Id "TP_MEC_MEC040_SRV_MEF_001_OK_10"

        Test objective
            "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Empty systemProvider query parameters"

        Reference 
            "ETSI GS MEC 040 V3.3.1, clause 5.2.2.2",
            "ETSI GS MEC 040 V3.3.1, clause 6.2.2",
            "ETSI GS MEC 040 V3.3.1, clause 7.3.3.1"

        Config Id Config_MEC_7

        PICS Selection PIC_MEC_PLAT and PIC_SERVICES

        Initial conditions  with {
           the IUT entity being_in idle_state and
           the IUT entity is_registered to the MEC_FED entity and
           the MEC_FED entity having a systemInfoList containing
              systemInfo1 indicating value SYSTEM_PROVIDER_1,
              systemInfoN indicating value SYSTEM_PROVIDER_2,
              systemInfoN indicating value SYSTEM_PROVIDER_3
           ;
        }

        // MEC 040 Clause 6.2.2   Type: SystemInfo
        Expected behaviour
            ensure that {
                when {
                    the IUT entity receives a vGET containing
                        uri indicating value "fed_enablement/v1/fed_resources/systems",
                        query_parameters containing
                            systemProvider indicating value empty
                        ;
                    ;
                    from the MEC_FED entity
                }
                then {
                    // MEC 040 Clause 7.3.3.1
                    the IUT entity sends a HTTP_RESPONSE containing
                        status_code set to "200 OK",
                        body containing
                            systemInfoList containing
                                systemInfo1 containing
                                    systemId indicating value SYSTEM_ID_1,
                                    systemName indicating value SYSTEM_NAME_1,
                                    systemProvider indicating value SYSTEM_PROVIDER_1
                                ;,
                                systemInfo3 containing
                                    systemId indicating value SYSTEM_ID_2,
                                    systemName indicating value SYSTEM_NAME_2,
                                    systemProvider indicating value SYSTEM_PROVIDER_2
                                ;,
                                systemInfo3 containing
                                    systemId indicating value SYSTEM_ID_3,
                                    systemName indicating value SYSTEM_NAME_3,
                                    systemProvider indicating value SYSTEM_PROVIDER_3
                                ;
                            ;
                        ;
                    ;
                    to the MEC_FED entity
                }
            }
    } // End of TP_MEC_MEC040_SRV_MEF_001_OK_10


    Test Purpose {
        TP Id "TP_MEC_MEC040_SRV_MEF_001_OK_11"