Add ct automation
authorEduardo Ramos Testillano (eramedu) <eduardo.ramos.testillano@ericsson.com>
Mon, 11 May 2020 10:23:11 +0000 (12:23 +0200)
committerEduardo Ramos Testillano (eramedu) <eduardo.ramos.testillano@ericsson.com>
Mon, 11 May 2020 10:23:11 +0000 (12:23 +0200)
commit882e3764e48fdf93aeb078c1832b10a956288da3
treef48064467b26a9636afa1d9894d3f519b0043c4e
parente688b5354af3a5fe0add859710cae41ffe123f65
Add ct automation

Services including AF and local diameter server is now skipped as pytest test.
Another one was added as dummy services (stack 0 already loaded).

New ct script (CT automation) which needs 'netstat' tool in the ADML HTTP image.
This script:
* ask for re-build service image
* restart service container
* configure real services
* monitor service available
* ask for pytest global execution

New resources and examples needed are included.

Also fixed visilibity operation at SIGUSR2 interface: was returning
without updating response information.
docker-images/anna-adml-http/Dockerfile
example/diameter/launcher/Launcher.cpp
example/diameter/launcher/resources/rest_api/ct/ct.sh [new file with mode: 0755]
example/diameter/launcher/resources/rest_api/ct/fsm-testing/testid-waitfc_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/hot-changes/services_test.py
example/diameter/launcher/resources/rest_api/ct/resources/servicesDummyJson-request.json [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/helpers/diameterJsonHelper/examples/dummyServices.xml [new file with mode: 0644]