/* * @author STF 370 * @version $Id: $ * @desc This module provides the templates for Interoperability tests. */ module AtsImsIot_Templates { import from LibIot_TypesAndValues { type InterfaceInfoList, ProtocolFilter, SetFilterReq, SetFilterRsp, Status; } import from AtsImsIot_TypesAndValues {type SipMessage;} import from LibSip_SIPTypesAndValues all; group adapterMsgTemplates { template SetFilterReq m_SetFilterReq(ProtocolFilter p_protocol, InterfaceInfoList p_iterfaces) := { protocol := p_protocol, interfaceInfos := p_iterfaces } template SetFilterRsp mw_SetFilterRsp(template Status p_status) := { status := p_status } } group AuxiliaryInformationElementTemplates { template Credentials mw_credentialIntegrityYes := { otherResponse := {authScheme := ?, authParams := { {"integrity-protected", "yes"},*} // TODO }} template Credentials mw_credentialIntegrityNo := { otherResponse := {authScheme := ?, authParams := { {"integrity-protected", "no"},*} // TODO }} } //end group group config { template SipUrl mw_SIP_URI (charstring p_host):= { scheme := "sip", userInfo := *, hostPort := { host := p_host, portField := * }, urlParameters := *, headers := * } } // end group }//end module