Commit 4f2654ab authored by YannGarcia's avatar YannGarcia
Browse files

Reorganize TPs architecture

parent 28d8c275
Loading
Loading
Loading
Loading
+88 −0
Original line number Diff line number Diff line
/* ETSI Software License
* As long as the hereunder conditions are respected, non-exclusive permission is hereby granted,
* free of charge, to use, reproduce and modify this software source code, under the following conditions:
* This source code is provided AS IS with no warranties, express or implied, including but not limited to,
* the warranties of merchantability, fitness for a particular purpose and warranties for non-infringement
* of intellectual property rights.
* ETSI shall not be held liable in any event for any direct or indirect damages whatsoever (including, without
* limitation, damages for loss of profits, business interruption, loss of information, or any other pecuniary
* loss) arising out of or related to the use of or inability to use the source code.
* This permission is granted to facilitate the implementation of the related ETSI standard, provided that
* ETSI is given the right to use, reproduce and amend the modified source code under the same conditions
* as the present permission.
* This permission does not apply to any documentation associated with this source code for which ETSI keeps
* all rights reserved.
* The present ETSI Source Code license shall be included in all copies of whole or part of this source code
* and shall not imply any sub-license right.
* (c) ETSI 2021 
*/
 
 
Package NG112_BCF {
    
    Domain {
        pics:
            - A_SIP_BSC1 //admin call
            - E_SIP_URN1 //em call with geolocation (value)
            - E_SIP_URN2 //em call with geolocation (token)
            - E_SIP_URN3 //em call without geolocation (id)
            - S_SIP_UDP1 //call via UDP
            - S_SIP_TCP1 //call via TCP
            - S_SIP_BYE1 //BYE handled
            - M_SIP_URN1 //SIP message with geolocation (value)
            - S_SIP_OPT1 //receive SIP OPTIONS - respond OK
            ;
        entities:
            - IUT
            - CLIENT
            ;
        events:
            - acceptingIncomingCalls //BCF ready to receive incoming calls
            - receives //for packets coming from the network to the IUT
            - sends //for packets sent by the IUT to the network
            - establishesIncomingCall //[ref psap.txt:establishesIncomingCall] The IUT establishes the incoming call
            - inAnActiveIncomingCall //[ref psap.txt:inAnActiveIncomingCall] An incoming call is established
            ;
    }
        
    Data {
        type PDU;
    }
    Configuration {
        Interface Type defaultGT accepts PDU;
        Component Type NG112Comp with gate g of type defaultGT;
        Test Configuration CFG_BCF_01 
            containing 
            Tester component CLIENT of type NG112Comp
            SUT component IUT of type NG112Comp
            connection between CLIENT.g and IUT.g;
    }
    
    Test Purpose {
        TP Id TP_BCF_FORWARD_INVITE_BV_01
        Test objective 
            "IUT forwards well-formated INVITE to PSAP" 
        Reference 
            "ETSI TS 103 479 [1], clause 5.5",
            "ETSI TS 103 698, clause ",
            "EENA Next Generation 112 LTD [2], Clause 4.10"
        Config Id CFG_BCF_01
        PICS Selection S_SIP_UDP1
        Initial conditions with {
            the IUT entity acceptingIncomingCalls
        }
        Expected behaviour
            ensure that {
                when {
                    the IUT entity receives a UDP SIP_INVITE containing
                        Request_URI indicating value "urn:service:sos.police",
                        Content_Type indicating value "application/sdp"
                    ;
                }
                then {
                    the IUT entity establishesIncomingCall
                }
            }
        } // End of TP_LIS_HTTP_GET_BV_02
        
} // End of package NG112_BCF
Loading