aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/netconf-pnp-simulator/engine/common.sh
diff options
context:
space:
mode:
authorEli Halych <illia.halych@t-mobile.pl>2020-12-07 13:13:53 +0000
committerEli Halych <illia.halych@t-mobile.pl>2020-12-07 13:40:12 +0000
commit2c4c61213c9f2f8fba83a2244fa7afe0a6feb481 (patch)
treebc0b31d1ec616f68ab6481dfbfc9017439d948cf /test/mocks/netconf-pnp-simulator/engine/common.sh
parenta579a48948f0b61bb9d98e1591d1fe727a550dbb (diff)
Allow customization of commonEventHeadres before request is sent
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
Diffstat (limited to 'test/mocks/netconf-pnp-simulator/engine/common.sh')
0 files changed, 0 insertions, 0 deletions