Add first work package for REST API implementation
authorEduardo Ramos Testillano (eramedu) <eduardo.ramos.testillano@ericsson.com>
Sun, 10 May 2020 02:46:17 +0000 (04:46 +0200)
committerEduardo Ramos Testillano (eramedu) <eduardo.ramos.testillano@ericsson.com>
Sun, 10 May 2020 02:46:17 +0000 (04:46 +0200)
commitc881c12ed7e116f1d43760a0d9873f860c10a357
treecc7ff1e8eb0ffe6aa2b6fc5a0c16efbdc5a09157
parentaf14877201a9856708ec43086a229777d9cb3da7
Add first work package for REST API implementation

INSTALL_ADML_HTTP.md documentation about:
 * New tools to generate ADML-HTTP deployment, which is an
   ADML with HTTP endpoint configured.
 * Docker image generation for ADML HTTP deployment together
   with an nginx configured as reverse proxy in order to
   offer an HTTP2 server. The HTTP2 requests will be proxied
   to native HTTP11 http server provided by ADML.
 * Instructions to start the docker container and execute
   the pytest component test

EventOperation classes which will centralize event operation
from Launcher.cpp and also from HTTP handler.

New XML dump operations from string (not only from file) at
Launcher.cpp.

Modify all deployment to remove legacy operation script for curl.
All of them will be based (specially "burst" dedicated deployment)
on signal USR2 management.

HELP.md for complete REST API documentation
Pytest component test structure, pending FSM testing and flow operations

New library (json to xml converter) is used to transform REST
operations into native xml language.
67 files changed:
INSTALL_ADML_HTTP.md
docker-images/anna-adml-http/Dockerfile
example/diameter/launcher/EventOperation.cpp
example/diameter/launcher/EventOperation.hpp
example/diameter/launcher/Launcher.cpp
example/diameter/launcher/Launcher.hpp
example/diameter/launcher/MyHandler.cpp
example/diameter/launcher/MyHandler.hpp
example/diameter/launcher/deploy-adml-http.sh
example/diameter/launcher/deploy-aots.sh
example/diameter/launcher/deployments/advanced/answerXml.sh
example/diameter/launcher/deployments/advanced/batch.sh [deleted file]
example/diameter/launcher/deployments/advanced/burst.sh
example/diameter/launcher/deployments/advanced/clientSocketManager.sh
example/diameter/launcher/deployments/advanced/code.sh
example/diameter/launcher/deployments/advanced/collect.sh
example/diameter/launcher/deployments/advanced/decode.sh
example/diameter/launcher/deployments/advanced/diameterServerSessions.sh
example/diameter/launcher/deployments/advanced/loadXml.sh
example/diameter/launcher/deployments/advanced/operation.sh [new symlink]
example/diameter/launcher/deployments/advanced/sendXml.sh
example/diameter/launcher/deployments/basic/operation.sh
example/diameter/launcher/deployments/ft-client/operation.sh
example/diameter/launcher/deployments/st-client/operation.sh
example/diameter/launcher/libraries.txt
example/diameter/launcher/main.cpp
example/diameter/launcher/resources/HELP.md
example/diameter/launcher/resources/rest_api/README.md [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/client-sessions-visibility/visibility_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/conftest.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/hot-changes/change-dir_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/hot-changes/diameterServerSessions_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/hot-changes/services_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/node-management/node-auto_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/node-management/node_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/parsing-operations/code_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/parsing-operations/decode_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/parsing-operations/loadmsg_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/pytest.ini [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/requirements.txt [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/resources/aaa.hex [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/resources/aaa.xml [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/resources/aar.hex [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/resources/aar.xml [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/resources/diameterHex.json.in [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/resources/diameterJson-request.json [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/resources/servicesJson-request.json [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/snapshots/collect_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/snapshots/context_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/snapshots/forceCountersRecord_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/snapshots/log-statistics-samples_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/snapshots/show-oam_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/snapshots/show-stats_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/helpers/README [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/helpers/decodeHex.sh [new file with mode: 0755]
example/diameter/launcher/resources/rest_api/helpers/diameterJsonHelper/examples/aar.json [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/helpers/diameterJsonHelper/examples/aar.xml [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/helpers/diameterJsonHelper/examples/services.json [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/helpers/diameterJsonHelper/examples/services.xml [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/helpers/diameterJsonHelper/xml2json.py [new file with mode: 0755]
example/diameter/launcher/resources/rest_api/helpers/example.pcap [new symlink]
example/diameter/launcher/resources/rest_api/helpers/tsharkDecoder.sh [new symlink]
example/diameter/launcher/resources/scripts/operation.sh [new file with mode: 0755]
example/diameter/launcher/resources/scripts/operation_curl.sh [deleted file]
example/diameter/launcher/resources/scripts/operation_signal.sh [deleted file]
example/diameter/launcher/resources/scripts/operation_tps.sh [deleted file]
include/anna/json/SaxConsumer.hpp