Add deployment for ADML agent with http interface
authorEduardo Ramos Testillano (eramedu) <eduardo.ramos.testillano@ericsson.com>
Mon, 27 Apr 2020 00:13:57 +0000 (02:13 +0200)
committerEduardo Ramos Testillano (eramedu) <eduardo.ramos.testillano@ericsson.com>
Mon, 27 Apr 2020 00:23:47 +0000 (02:23 +0200)
commit2f2cc741b21502b2bd37060a1059084a54cb8b6e
tree7a331edb0d42847c552ce76e7d219985ea38395e
parenta5d4c4f2e8bd10de42bb5a0bfa20acaceaf2e67a
Add deployment for ADML agent with http interface

Reuse ADML agent for aots-setup through symlink.
Centralize stacks with stacks examples. Some modifications
 needed in legacy scripts to reference new dictionary names.
Eval is needed in new start script in order to integrate
the httpServer calculation.

* Upgrade compiler to C++14 (to use std::quoted from iomanip)
* Improve HTTP handler to answer a json body with result (true/false)
  and data (description for the operation):
  {
    "result": "true",
    "data": "Success"
  }
* Fix core dump due to uninitialized 'sessionBasedModelsTypeEnum'
* New 'state' operation to now the state in real time for a test id.
84 files changed:
CMakeLists.txt
example/diameter/launcher/Launcher.cpp
example/diameter/launcher/Launcher.hpp
example/diameter/launcher/MyHandler.cpp
example/diameter/launcher/deploy-aots-adml.sh [new file with mode: 0755]
example/diameter/launcher/deploy-aots.sh
example/diameter/launcher/deploy-setups.sh
example/diameter/launcher/deployments/aots-adml/ACTIONS.md [new file with mode: 0644]
example/diameter/launcher/deployments/aots-adml/HINTS.md [new file with mode: 0644]
example/diameter/launcher/deployments/aots-adml/args.ft [new file with mode: 0644]
example/diameter/launcher/deployments/aots-adml/args.st [new file with mode: 0644]
example/diameter/launcher/deployments/aots-adml/services.xml.example [new file with mode: 0644]
example/diameter/launcher/deployments/aots-adml/stacks [new symlink]
example/diameter/launcher/deployments/aots-adml/start.sh [new file with mode: 0755]
example/diameter/launcher/deployments/aots-adml/stop.sh [new file with mode: 0755]
example/diameter/launcher/deployments/aots-setup/README.md [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/agents/ADML [new symlink]
example/diameter/launcher/deployments/aots-setup/agents/HTTPMOCK/ACTIONS.md [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/agents/HTTPMOCK/Provision.sh [new file with mode: 0755]
example/diameter/launcher/deployments/aots-setup/agents/KAFKA/ACTIONS.md [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/agents/KAFKA/Admin.py [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/agents/KAFKA/Consumer.py [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/agents/KAFKA/Producer.py [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/launcher.py [new file with mode: 0755]
example/diameter/launcher/deployments/aots-setup/loader.py [new file with mode: 0755]
example/diameter/launcher/deployments/aots-setup/tests.example/agents.yml [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/tests.example/ts01-general/ch01-ipv4/1.Initial.yml [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/tests.example/ts01-general/ch01-ipv4/2.Initial2.yml [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/tests.example/ts01-general/ch01-ipv4/AAA.xml [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/tests.example/ts01-general/ch01-ipv4/AAR.xml [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/tests.example/ts01-general/ch01-ipv4/AAR2.xml [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/tests.example/ts01-general/ch01-ipv4/expected.json.template [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/tests.example/ts01-general/ch02-ipv6/1.Initial.yml [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/tests.example/ts01-general/ch02-ipv6/2.Initial2.yml [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/tests.example/ts01-general/ch02-ipv6/3.Initial3.yml [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/tests.example/ts01-general/ch02-ipv6/AAA.xml [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/tests.example/ts01-general/ch02-ipv6/AAR-ipv6.xml [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/tests.example/ts02-errors/ch01-protocolErrors/1.MissingRealm.yml [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/tests.example/ts02-errors/ch01-protocolErrors/AAA-bad.xml [new file with mode: 0644]
example/diameter/launcher/deployments/aots-setup/tests.example/ts02-errors/ch01-protocolErrors/AAR-bad.xml [new file with mode: 0644]
example/diameter/launcher/deployments/aots/README.md [deleted file]
example/diameter/launcher/deployments/aots/agents/ADML/ACTIONS.md [deleted file]
example/diameter/launcher/deployments/aots/agents/ADML/HINTS.md [deleted file]
example/diameter/launcher/deployments/aots/agents/ADML/args.ft [deleted file]
example/diameter/launcher/deployments/aots/agents/ADML/args.st [deleted file]
example/diameter/launcher/deployments/aots/agents/ADML/services.xml.example [deleted file]
example/diameter/launcher/deployments/aots/agents/ADML/stacks/DictionaryGx.16777238.xml [deleted file]
example/diameter/launcher/deployments/aots/agents/ADML/stacks/DictionaryRx.16777236.xml [deleted file]
example/diameter/launcher/deployments/aots/agents/ADML/stacks/DictionarySy.16777302.xml [deleted file]
example/diameter/launcher/deployments/aots/agents/ADML/stacks/diameter_base.0.xml [deleted file]
example/diameter/launcher/deployments/aots/agents/ADML/start.sh [deleted file]
example/diameter/launcher/deployments/aots/agents/ADML/stop.sh [deleted file]
example/diameter/launcher/deployments/aots/agents/HTTPMOCK/ACTIONS.md [deleted file]
example/diameter/launcher/deployments/aots/agents/HTTPMOCK/Provision.sh [deleted file]
example/diameter/launcher/deployments/aots/agents/KAFKA/ACTIONS.md [deleted file]
example/diameter/launcher/deployments/aots/agents/KAFKA/Admin.py [deleted file]
example/diameter/launcher/deployments/aots/agents/KAFKA/Consumer.py [deleted file]
example/diameter/launcher/deployments/aots/agents/KAFKA/Producer.py [deleted file]
example/diameter/launcher/deployments/aots/launcher.py [deleted file]
example/diameter/launcher/deployments/aots/loader.py [deleted file]
example/diameter/launcher/deployments/aots/tests.example/agents.yml [deleted file]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch01-ipv4/1.Initial.yml [deleted file]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch01-ipv4/2.Initial2.yml [deleted file]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch01-ipv4/AAA.xml [deleted file]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch01-ipv4/AAR.xml [deleted file]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch01-ipv4/AAR2.xml [deleted file]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch01-ipv4/expected.json.template [deleted file]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch02-ipv6/1.Initial.yml [deleted file]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch02-ipv6/2.Initial2.yml [deleted file]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch02-ipv6/3.Initial3.yml [deleted file]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch02-ipv6/AAA.xml [deleted file]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch02-ipv6/AAR-ipv6.xml [deleted file]
example/diameter/launcher/deployments/aots/tests.example/ts02-errors/ch01-protocolErrors/1.MissingRealm.yml [deleted file]
example/diameter/launcher/deployments/aots/tests.example/ts02-errors/ch01-protocolErrors/AAA-bad.xml [deleted file]
example/diameter/launcher/deployments/aots/tests.example/ts02-errors/ch01-protocolErrors/AAR-bad.xml [deleted file]
example/diameter/launcher/resources/stack_examples/0.xml [deleted file]
example/diameter/launcher/resources/stack_examples/16777236.xml [deleted file]
example/diameter/launcher/resources/stack_examples/16777238.xml [deleted file]
example/diameter/launcher/resources/stack_examples/16777302.xml [deleted file]
example/diameter/launcher/resources/stack_examples/DictionaryGx.16777238.xml [new file with mode: 0755]
example/diameter/launcher/resources/stack_examples/DictionaryRx.16777236.xml [new file with mode: 0755]
example/diameter/launcher/resources/stack_examples/DictionarySy.16777302.xml [new file with mode: 0755]
example/diameter/launcher/resources/stack_examples/diameter_base.0.xml [new file with mode: 0755]
include/anna/testing/TestCase.hpp