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

Merge branch 'ttf_t009' into 'master'

Add TC_LIS_SIP_BV_01

See merge request !5
parents 16f2f5f9 9a1a3b8d
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+8 −0
Original line number Diff line number Diff line
.project
.TITAN_properties
/build/
/bin/
.DS_Store
.vscode
/logs/
/mocks/**/*.log
 No newline at end of file

.gitmodules

0 → 100644
+16 −0
Original line number Diff line number Diff line
[submodule "ttcn/LibCommon"]
	path = ttcn/LibCommon
	url = https://forge.etsi.org/gitlab/LIBS/LibCommon.git
	branch = master
[submodule "ttcn/LibSip"]
	path = ttcn/LibSip
	url = https://forge.etsi.org/gitlab/LIBS/LibSip.git
	branch = master
[submodule "ttcn/LibIms"]
	path = ttcn/LibIms
	url = https://forge.etsi.org/gitlab/LIBS/LibIms.git
	branch = master
[submodule "ttcn/LibIts"]
	path = ttcn/LibIts
	url = https://forge.etsi.org/gitlab/LIBS/LibIts
	branch = TTF011
+6 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ cd $(dirname $0)
run_dir=`pwd`

# Docker version 2
cd docker
cd virtualization/docker
./build.sh #--force-stfubuntu
ret_code=`echo $?`

@@ -22,6 +22,11 @@ fi

./run.sh

if [ "$1" == "--remove" ]
then
    docker rmi --force etsiforge/ttf_t009_ng112:latest
fi

cd $run_dir

exit 0

.project

deleted100644 → 0
+0 −37
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>Ng112</name>
	<comment></comment>
	<projects>
		<project>Abstract_Socket_CNL113384</project>
	</projects>
	<buildSpec>
		<buildCommand>
			<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.titan.designer.core.TITANBuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
	</buildSpec>
	<natures>
		<nature>org.eclipse.titan.designer.core.TITANNature</nature>
		<nature>org.eclipse.titan.log.viewer.TitanLogProject</nature>
		<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
	</natures>
	<linkedResources>
		<link>
			<name>ccsrc/Protocols/Tcp/Abstract_Socket.cc</name>
			<type>1</type>
			<location>/home/andreas/gridGears/projects/etsi/ng112/eclipse/C::/Users/yann/Documents/wireshark/cygwin64/home/yann/frameworks/titan/titan.core/performance_test/SIPApplibPerfTest/src/Abstract_Socket.cc</location>
		</link>
		<link>
			<name>ccsrc/Protocols/Tcp/Abstract_Socket.hh</name>
			<type>1</type>
			<location>/home/andreas/gridGears/projects/etsi/ng112/eclipse/C::/Users/yann/Documents/wireshark/cygwin64/home/yann/frameworks/titan/titan.core/performance_test/SIPApplibPerfTest/src/Abstract_Socket.hh</location>
		</link>
	</linkedResources>
</projectDescription>
+48 −15
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

## Introduction
This repositories contains the test specifications and test adapter code
to test compliance to ETSI TS 103 479 (V1.1.1: “Emergency Communications (EMTEL); Core elements for network independent access to emergency services.
to test compliance to ETSI TS 103 479 (Emergency Communications (EMTEL); Core elements for network independent access to emergency services).

## Contact information
Email at cti_support at etsi dot org
@@ -13,9 +13,10 @@ See the attached LICENSE file or visit
https://forge.etsi.org/legal-matters

## Standard links
- ETSI TS 103 650-1, Part 1: Test Purposes - Available soon
- ETSI TS 103 650-2, Part 2: Test Suite - Available soon
- ETSI TS 103 479, Core elements for network independent access to emergency services - Available soon
- ETSI TS 103 650-1, Part 1: Test Purposes V1.2.1 - Available [here](https://www.etsi.org/deliver/etsi_ts/103600_103699/10365001/01.02.01_60/ts_10365001v010201p.pdf)
- ETSI TS 103 650-2, Part 2: Test Suite V1.2.1 - Available [here](https://www.etsi.org/deliver/etsi_ts/103600_103699/10365002/01.02.01_60/ts_10365002v010201p.pdf)
- ETSI TS 103 479 V1.2.1, Core elements for network independent access to emergency services - Available [here](https://www.etsi.org/deliver/etsi_ts/103400_103499/103479/01.02.01_60/ts_103479v010201p.pdf)
- ETSI TS 103 698, Emergency Communications (EMTEL); Lightweight Messaging Protocol for Emergency Service Accessibility (LMPE) - Available [here](https://www.etsi.org/deliver/etsi_ts/103600_103699/103698/01.01.01_60/ts_103698v010101p.pdf)
- Next Generation 112 Long Term Definition, accessible [here](https://eena.org/wp-content/uploads/2018/11/Next-Generation-112-Long-Term-Definition-Standard-For-Emergency-Services.pdf)

## RFC links
@@ -187,17 +188,46 @@ Procedure:
    - $HOME/frameworks, 
    - $HOME/dev
    - $HOME/lib

- In $HOME/frameworks, build the following package:
    - Eclipse IDE for C/C++ Developers, according the procedure specified [here](https://www.eclipse.org/cdt/)
    - TITAN, according the procedure specified [here](https://github.com/eclipse/titan.core)
    - Import the TITAN plugin into your Eclipse IDE, according the procedure specified [here](https://github.com/eclipse/titan.core)

- Install LibOSIP framework
```sh
$ cd ${HOME}/frameworks
$ git clone https://git.savannah.gnu.org/git/osip.git ./osip
$ cd osip
$ ./autogen.sh
$ ./configure --prefix=/home/etsi
$ make && make install
```

- Clone the ETSI Emergency Communications project into $HOME/dev folder

```sh
$ git clone 
$ git clone --recurse-submodules --branch ttf_t009 https://forge.etsi.org/rep/emtel/NG112.git ./TTF009_Ng112
$ cd /home/etsi/dev/TTF009_Ng112/ttcn/LibIts
rm -fr t3q
cd ttcn && rm -fr Common
```

- Update your default environment with the content of the script $HOME/dev/STF549_Ng112/scripts/devenv.bash.ubuntu
- Apply patches
```sh
$ cd /home/etsi/dev/TTF009_Ng112
$ cp ./ttcn/patch_lib_common_titan/module.mk ./ttcn/LibCommon/
$ cp ./ttcn/patch_lib_common_titan/*.ttcn ./ttcn/LibCommon/
$ cp ./ttcn/patch_lib_http/*.ttcn ./ttcn/LibIts/ttcn/Http/
$ cp ./ttcn/patch_ims_titan/*.ttcn ./ttcn/LibIms/ttcn/
$ cp ./ttcn/patch_ims_titan/module.mk ./ttcn/LibIms/
$ cp ./ttcn/patch_sip_titan/*.ttcn ./ttcn/LibSip/ttcn/
$ cp ./ttcn/patch_sip_titan/module.mk ./ttcn/LibSip/
$ cp  ./ttcn/patch_lib_its/module.mk ./ttcn/LibIts/
```

- Update your default environment with the content of the script $HOME/dev/TTF009_Ng112/scripts/devenv.bash.ubuntu

- Switch to the next clause (Usage)


@@ -215,34 +245,37 @@ Procedure using Eclipse TITAN:
- Start eclipse using a new workspace, (e.g. with the name workspace_titan)
- Download and follow the steps to install Eclipse plugins for TITAN, accessible [here]{https://www.eclipse.org/downloads/download.php?file=/titan/Eclipse_installationguide.pdf}
- Open the workspace_titan
- Create a new TITAN project (e.g. STF549_Ng112)
<TODO>
- Create a new TITAN project (e.g. TTF009_Ng112)
- Import the .tpd file located at the root level of the project

Procedure in TITAN command line:
- Open several SSH session (PuTTY...)
- Change to the directory ~/dev/STF549_Ng112/src/AtsNg112/objs
- Build the test suite AtsNg112
- Change to the directory ~/dev/TTF009_Ng112/
- Build the test suite you want to exectue (e.g. LIS test suite)

```sh
$ ../bin/ng112_generate_makefile.bash
$ cd ~/dev/TTF009_Ng112/
$ export ATS=AtsLIS
$ make
...
```

- Edit the file ../etc/AtsNg112.cfg
- Edit the file ../etc/AtsLIS/AtsLIS.cfg
- Update the following fields:
    - system.httpPort.params
    - Caller.SIPP.params
    - Ecrf.SIPP.params
    - CallTaker.SIPP.params
    - CallTalker.SIPP.params

- To run the test suitem, execute the following command:

```sh
$ ../bin/run-all.bash
$ cd ~/dev/TTF009_Ng112/scripts
$ ./run-all.bash
...
```

- The log files are located in ../logs folder. You can edit them using any editor or using the Eclipse TITAN log plugins
- The log files are located in ../logs/AtsLIS folder. You can edit them using any editor or using the Eclipse TITAN log plugins


## How to Report a Bug
Loading