aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks
AgeCommit message (Collapse)AuthorFilesLines
2020-02-07Fix DFC csit failurerajendrajaiswal1-1/+1
Change-Id: Iadf129b64c5ed6d51ce90666d23c7a4327e74991 Issue-ID: INT-1432 Signed-off-by: rajendrajaiswal <rajendra.jaiswal@ericsson.com>
2020-01-27Added mTLS support in pnf simulatorwsliwka22-45/+262
Issue-ID: INT-1372 Signed-off-by: wsliwka <wojciech.sliwka@nokia.com> Change-Id: I3bb0f3fe3849da0a72377fde5c974f4b30abd199
2020-01-27Latest changes to pnf simulatorwsliwka34-4724/+183
- replace cpp bindings by python - remove docker spotify plugin (no longer supported) - create own image for netopeer (with all packages installed upfront) Issue-ID: INT-1372 Signed-off-by: wsliwka <wojciech.sliwka@nokia.com> Change-Id: I983c0eddf12fa589fbf3ad1ffbab2b36929c9ef0
2020-01-21PNF Simulator to support Control Loop subscription modelrajendrajaiswal9-0/+333
Change-Id: I9919edb32f3f68f86fad28c908f808fcee3fc548 Issue-ID: INT-1312 Signed-off-by: rajendrajaiswal <rajendra.jaiswal@ericsson.com>
2019-12-03Configure netopeer to support mTLSwsliwka13-86/+350
Issue-ID: INT-1372 Signed-off-by: wsliwka <wojciech.sliwka@nokia.com> Change-Id: I11281c2a0703b97e1075d01bba9ec076766daf0d
2019-11-27PNF Simulator/Netconf Simulator docker compose to use devel taggummar1-1/+1
Issue-ID: INT-1320 Signed-off-by: gummar <raj.gumma@est.tech> Change-Id: Iadc7a6bebef9302ae711a3227789f603f19270cd
2019-09-17Add mr-sim log to consoleecaiyanlinux1-1/+1
Change-Id: I9697360d2ee5b8e95dacdb74a9a1a025a1a45e3c Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-1702
2019-09-09Fix a bug in DFC CSITecaiyanlinux1-1/+4
when mounting a shared volume, the uid:gid is changed automaticlly which could cause potential unstable. Change-Id: If6279489ba0ba3d24fdd6893e02d9babf29d7925 Issue-ID: DCAEGEN2-1702 Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
2019-09-09Updated README files and adaptation of consul/cbs configmaximesson54-582/+582
Change-Id: I81494f56978a3d0ff06ec0d66968f33f08114103 Issue-ID: DCAEGEN2-1719 Signed-off-by: maximesson <maxime.bonneau@est.tech>
2019-08-30Integrating DfC to use TLS sidecar containerecaiyanlinux15-113/+115
Change-Id: I111bc5596346db70923645dcfe79af3e639c978c Issue-ID: DCAEGEN2-1702 Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
2019-08-29Add tls-init-container to simulatorecaiyanlinux29-173/+236
1.replace dr-sim/dr-redir-sim cert/key 2.update mr-sim, make it support https 3.update ftpes cert/key Change-Id: I7bbde98f352d1e7d7c8775acf3d8af89a6ef7bdc Issue-ID: DCAEGEN2-1702 Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
2019-08-15Simulator integration for CSIT of generalized DfCTamasBakai8-19/+43
Issue-ID: DCAEGEN2-1719 Change-Id: I963cfaef30bc4e85d76fecddd310f091e8c00bd0 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-08-14Add onboarding package for pnf simwsliwka8-3/+265
Issue-ID: INT-1134 Signed-off-by: wsliwka <wojciech.sliwka@nokia.com> Change-Id: I4a23e51b5e46f04d0299b1bb997f572ec828e616
2019-08-07Pnfsimulator-docker push configurationTomasz Golabek2-8/+4
New configuration for pnfsimulator and netconfsimulator added for docker builds. Version of maven docker plugin downgraded to 1.0.0 Single tag added to images Change-Id: Ia0e38b2c65e943614c7463d7889a7ca0b1aa0517 Issue-ID: INT-1134 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-22Get rid of binary files in pnfsimulator repoPiotr Darosz3-3/+8
Remove usage of binary files in pnfsimulator vcs Issue-ID: INT-1134 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com> Change-Id: I23b8f01a099b7e80542d258b2e0bcd34742d3684
2019-07-19Opensourcing new version of SimulatorWojciech Sliwka304-6349/+19706
Additional info in README.md Issue-ID: INT-1134 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com> Change-Id: I06d41fd3f361b7a451b30b702882810e4136a129
2019-07-19SDC alignment SOL004 2.6.1bilal.iqbal1-1/+1
Updating TOSCA.meta metadata Created-by key to Created-By Issue-ID: SDC-2402 Change-Id: I15ce47d3d97b5809ad5baa34a366c0d10333cb00 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-07-17modify the configuration in consul for dfcYongchaoWu10-116/+240
modify the configuration in consul in order to support dfc to fetch the merged configuration Issue-ID: INT-1155 Change-Id: I6d73987183851ed38225796c9f426a1010376fd3 Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
2019-07-17Added support for Consul/CBS and multiple DFCsBjornMagnussonXA83-1555/+5628
Issue-ID: INT-1155 Change-Id: I3c1ed2f6072655c4396e406ddfd490d3786fe4d6 Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
2019-07-11Mass PNF-sim unique VSFTPD PASV portsTamasBakai4-11/+30
Issue-ID: DCAEGEN2-1660 Change-Id: Ib742755f6a924ee9c5babe8e411311e7fe0e6802 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-05-03Pass typefileserver as parameter in mass-pnf-simRehanRaza6-31/+38
Change-Id: I1168a5f10cce9b7d17324504a57d90dd9ee7790d Issue-ID: DCAEGEN2-1434 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2019-05-02Unit test instability fixTamasBakai1-6/+6
simulator_should_send_fileready_message test was failing in maven, but working well in eclipse. Duration and Interval are now equal, and exactly 1 trigger should occur regardless of the execution environment. Change-Id: I9f283364d4717c6e4aa45b88ee7e9da393fa11c4 Issue-ID: DCAEGEN2-1434 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-04-30Certificate expiry date for signed onboarding test PNF packages inadequateAndyWalshe5-94/+94
Change-Id: I87c5c4eac8aa3b427e70882237b0434c6ca282af Issue-ID: INT-1054 Signed-off-by: AndyWalshe <andy.walshe@est.tech>
2019-04-26DFC automated testsBjornMagnussonXA52-146/+4164
Test cases and suites for DFC automated test Issue-ID: DCAEGEN2-1434 Change-Id: Ibe2200f7dad358520d78217bad4ca6d3b514a3c3 Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
2019-04-23Add an EMS simulatorEnbo Wang41-0/+1056
Change-Id: I4fedf9a812e19033e7f9a1bff55eae264bc5122f Issue-ID: INT-1041 Signed-off-by: Enbo Wang <wangenbo@huawei.com>
2019-04-17Provide Sample Signed PNF Package for Integration Test with certificateSzabolcs Hutvagner3-37/+91
inside signature This can be used for integration test of Pre-Onboarding and Onboarding of a PNF package. Issue-ID: INT-1017 Change-Id: I01f6ebdf4498bd3aac028d8ce6fa510287999d65 Signed-off-by: Szabolcs Hutvagner <szabolcs.hutvagner@ericsson.com>
2019-04-15Merge "Mass-pnf-sim selective trigger"Gary Wu2-0/+34
2019-04-15Mass-pnf-sim selective triggerTamasBakai2-0/+34
Change-Id: I187abf1953843329b5d4b2a424cbcb75a2d906c9 Issue-ID: DCAEGEN2-1434 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-04-15DfC certificate updateTamasBakai8-106/+114
Change-Id: I7590371da5544d722299f7ad1a8d2ca358418493 Issue-ID: DCAEGEN2-1434 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-04-10Enhancements of simulators for DFCBjornMagnussonXA13-159/+1070
New test cases for MR and DR simulators Added simulator monitor server for simulator supervision Update - Adapted simulators to changed naming of ftp files Update2 - Added some more test behaviour to simulators. Issue-ID: DCAEGEN2-1313 Change-Id: I90a346d44ab4e7c9f5a65f599b64f1907525dd51 Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
2019-04-09Merge "Refactor SimulatorFactory in PnfSimulator"Gary Wu22-462/+522
2019-04-09Refactor SimulatorFactory in PnfSimulatorbiniek22-462/+522
Change-Id: Ie3e17a984d8fa92a68b923b09f759cfd5a4a980a Issue-ID: INT-1018 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2019-04-09Removing need for bash scriptAndyWalshe4-65/+38
Change-Id: I447ed1d0e791ee38f4434d78a450edc02c222816 Issue-ID: INT-949 Signed-off-by: AndyWalshe <andy.walshe@est.tech>
2019-04-09Fix unit-tests of mass-pnf-simulatorRehanRaza14-55/+405
Change-Id: Ie11e97862c8cbbdb269b8b5e6d4361340b98f1b2 Issue-ID: DCAEGEN2-1225 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2019-04-05Provide Sample Signed PNF Package for Integration TestSzabolcs Hutvagner22-0/+2747
This can be used for integration test of Pre-Onboarding and Onboarding of a PNF package. Issue-ID: INT-949 Change-Id: I8f193dd6968f62d801530f99c5b130b0bdc57728 Signed-off-by: Szabolcs Hutvagner <szabolcs.hutvagner@ericsson.com>
2019-04-04Fix VES event fieldsRehanRaza4-2/+5
* timeZoneOffset uses default system timezone * sourceName and reportingEntityName use the nodename of pnf-sim instance Change-Id: Idf7f0b8d4a02cb533e81bdf69d5034cd842c3fb8 Issue-ID: DCAEGEN2-1225 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2019-04-02mass-pnf-sim .gitattributes addedTamasBakai2-0/+1
Change-Id: Iac215e75fa13ece7655e1a7d9e6544d7a893039d Issue-ID: DCAEGEN2-1225 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-03-29Update VES event with latest file in each ROPRehanRaza6-231/+66
Change-Id: I64e8ac7ba99c28d299a711741dcc1c6f8bc9e47e Issue-ID: DCAEGEN2-1225 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2019-03-26Merge "Adapted the simulators for running in CSIT"Gary Wu6-0/+194
2019-03-26Adapted the simulators for running in CSITBjornMagnussonXA6-0/+194
Adaptation to configure, start and stop all simulators Issue-ID: DCAEGEN2-1313 Change-Id: I653a86443b16e769506311086ea46c5d9dab6248 Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
2019-03-26Mass-pnf-sim URL handling improvementsTamasBakai9-63/+128
Change-Id: Ic10551cb0cd1f875ad6a1cec3d73e1cfcb35d00e Issue-ID: DCAEGEN2-1225 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-03-26Create VES event with multiple filesRehanRaza9-310/+110
Change-Id: Ibd3ac4f887b296167fa24b176ac2d5b8cd4722d6 Issue-ID: DCAEGEN2-1225 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2019-03-25Check if file has already been publishedmaximesson1-23/+56
Issue-ID: DCAEGEN2-1313 Change-Id: I52e58a9fddc94417b83c6bfb4192e8df23c90cc2 Signed-off-by: maximesson <maxime.bonneau@est.tech>
2019-03-22Merge "Updated simulators for DFC"Gary Wu10-214/+756
2019-03-22Merge "Mass-pnf-simulator publishing ports"Gary Wu7-61/+93
2019-03-22Mass-pnf-simulator publishing portsTamasBakai7-61/+93
Change-Id: If43f505967bd542c88956e11aef4cd4e52626255 Issue-ID: DCAEGEN2-1225 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-03-22Updated simulators for DFCBjornMagnussonXA11-214/+756
mr sim has a number of new test cases Docker files/docker compose files added. Minor adjustment to scripts. Issue-ID: DCAEGEN2-1313 Change-Id: I0246a9d5c855cda4e7dea9830928cae98c5e1284 Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
2019-03-22Take feedName as parameter from POST requestyanhuanwang1-26/+65
Update dmaapBusController so that it takes feedName as parameter from POST request from http client Change-Id: If57e5c0073bf1fe6d62c644c772d9744fdd859f8 Issue-ID: DCAEGEN2-1225 Signed-off-by: yanhuanwang <martin.c.yan@est.tech>
2019-03-20Add ROP file creator script in each PNF-simRehanRaza7-88/+63
* The script runs in a background process * The background process is killed when mass-pnf-sim is stopped * Filename format is updated to include timezone, HOSTNAME, and PNF-node-name Change-Id: If0a5a8c7bdd7ffb4958569e3037f1a7207770ef1 Issue-ID: DCAEGEN2-1225 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2019-03-19Provide PNF Package for Integration TestSzabolcs Hutvagner1-0/+0
This is first version of unsecure PNF package that can be used for integration test of Pre-Onboarding and Onboarding of a PNF package. PM Dictionary and VES Registartion file are empty at this point and are only included as placeholders until the actual files are ready. Change-Id: I9ec76caf1f952df50391c11ee846e0be2c3231cf Issue-ID: INT-947 Signed-off-by: Szabolcs Hutvagner <szabolcs.hutvagner@ericsson.com>