aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/masspnfsim/pnf-sim-lightweight
AgeCommit message (Collapse)AuthorFilesLines
2020-12-16Remove masspnf simulator codeBartek Grzybowski73-7797/+0
It has been moved to it's own repository: https://git.onap.org/integration/simulators/masspnf-simulator/ Change-Id: I54b63243eb9e932cd34373ef33679356542349be Issue-ID: INT-1810 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-12-07Allow customization of commonEventHeadres before request is sentEli Halych1-2/+11
Details: - Python handler is allowed to take --data argument with fields to be overriden. - In python handler the original dictionary from config.json is merged with custom sourceName and reportingEntityName if provided. - Java source code generates default sourceName and reportingEntityName as part of default data in the form of "default-XXX", where XXX is YEAR, MONTH and DAY as integers. - If such default data is received in the request body, don't override them with default values. - BUG FIXED: the previous solution used abstract path that could be "/" that resulted in empty strings for sourceName and reportingEntityName. Issue-ID: INT-1800 Signed-off-by: Eli Halych <illia.halych@t-mobile.pl> Change-Id: Ic88c5606a44abac64f842f28621332f3f86b83c6
2020-12-04Add send requests to VES via HTTPS in Mass PNF SimulatorEli Halych11-176/+309
Details: - Previously allowed only HTTP. - HTTPS support added since VES accepts HTTPS and throws 400 Bad Request on HTTP. - Added autogenerating Basic Authorization token based on user:password in Base64 to access real VES together with HTTPS. - For this reason, simple HttpClient became part of RestTemplate that can ignore certificate checks for HTTPS when connecting to VES. - Adjusted test cases. Issue-ID: INT-1799 Signed-off-by: Eli Halych <illia.halych@t-mobile.pl> Change-Id: I69eaeb4b10f903c3a3aa880dbb787034da4c30bb
2020-11-25Fixed comment syntax in netconf.env for masspnfsimEli Halych1-3/+3
Details: - Error message: In file pnf-sim-lw-0/config/netconf.env: environment variable name '//to run in simulator' may not contain whitespace. - Beginning of comment lines are changed from // to # Issue-ID: INT-1790 Signed-off-by: Eli Halych <illia.halych@t-mobile.pl> Change-Id: I04371f07965a61a524fffe7f8237995b15a81f87
2020-11-24Change mass-pnf-sim folder name to masspnfsimEli Halych73-0/+7655
Details: - Allows for importing python files/classes/methods via normal import. - Dashes in mass-pnf-sim prevented from a normal Python import. - mass-pnf-sim path referenced in the project files changed to masspnfsim. - Possibility of using masspnfsim as a git submodule that requires noraml import. Issue-ID: INT-1789 Signed-off-by: Eli Halych <illia.halych@t-mobile.pl> Change-Id: I00cd753181c9b240b99881057cf777cf7977387a