aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2019-04-25Make the script working on Dublin releaseKrzysztof Opasiak1-1/+1
With the introduction of RKE instead of rancher format of pod description has slightly changed (annotations). Let's addjust our security tests to work correctly with recent ONAP release. Issue-ID: SECCOM-231 Change-Id: I49cdfcae9ce41a2b4bd4969958eddfaffe75b437 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2019-04-25User first node for port scanning instead of last oneKrzysztof Opasiak1-1/+1
It is more obvious to use first node in cluster instead of last one. Additionally in some cases nodes listed in the end may not expose all open ports (like it is in integration lab). Issue-ID: SECCOM-231 Change-Id: I200998b2e7b3a6de9b5f464e59e3b7dbbc0a656c Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
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-22Merge "Take feedName as parameter from POST request"Gary Wu1-26/+65
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-21Add script which looks for open JDWP portsKrzysztof Opasiak1-0/+93
ONAP should not expose any open JDWP ports even inside a cluser. Let's start enforcing this by adding test script to integration which will find all open JDWP ports. Based on initial work by: Radoslaw Zeszczuk <r.zeszczuk@samsung.com> Issue-ID: SECCOM-231 Change-Id: Ica46faad55850c74ed24728d54f6afdb3301a6d2 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2019-03-21Add script which checks for http portsKrzysztof Opasiak1-0/+68
ONAP should not exposed any http ports, https should be used instead. Let's start enforcing this by adding test script to integration which will find all http ports exposed outside of cluster. Issue-ID: SECCOM-231 Change-Id: I88e4b7890aaaa1bea06b496a6f97f4d5e9771215 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
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>
2019-03-19ROP file processing in mass-pnf-simulatorTamasBakai62-76/+3936
Change-Id: I66203ff66e9d91865f8eee06bef01e55bcd6c39c Issue-ID: DCAEGEN2-1225 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-03-15Add simulator for dmaapbuscontrolleryanhuanwang1-0/+76
Change-Id: I5bd0ab24e5b2d647c0b47212e1f5f728cdc1bb32 Issue-ID: DCAEGEN2-1225 Signed-off-by: yanhuanwang <martin.c.yan@est.tech>
2019-03-14Merge "Revert removal of ipaddress from config"Mariusz Wagner2-0/+8
2019-03-14Revert removal of ipaddress from configbiniek2-0/+8
Change-Id: I8790ad9b2c5248432797619bd42b6fcc75df7cdc Issue-ID: INT-960 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2019-03-13Fix image push failuresDmitry Puzikov1-1/+1
Latest com.spotify:docker-maven-plugin has a bug preventing images to be pushed to the private registries. Latest bug-free version is 1.0.0 so revert to it. Change-Id: Ibe8f733a2e6b059203fa5dcca297ad35e7e1fe42 Issue-ID: INT-879 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-03-13Merge "Fix netopeer config"Mariusz Wagner1-0/+7
2019-03-13Fix netopeer configbiniek1-0/+7
Change-Id: I22adf79ec42405f21d1d9cc9e6afef234f0cfa01 Issue-ID: INT-960 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2019-03-13Update pnfsimulator configbiniek2-29/+33
Change-Id: Icd81ae3d5e458dc941a17ccdc3eead7120a64cb0 Issue-ID: INT-960 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2019-03-12INT:885 Fixed a minor issue in pnf-simRahul Tyagi1-0/+4
This commit introdues a dely in pnf-sim netopeer instance so that subscribing yang model and data creation can be done successfully. Issue-ID: INT-885 Change-Id: Id26a2b6e4f201a1cbf5346ee323fcb6858c2886b Signed-off-by: Rahul Tyagi <rahul.tyagi@ericsson.com>
2019-03-04Merge "INT-885: fix netopeer and update yang model"Marco Platania7-41/+43
2019-03-01ROP file creation script for e2e testingRehanRaza3-1/+71
* Creates a number of files (set using NUM_FILES) with standard filenames * File are created using a template XML file (set using FILE_TEMPLATE) * Files are updated after a specific interval (set using UPDATE_MINS) * At each update, the name of oldest file is modified with current timestamp * Works for multiple PNF nodes (set using NUM_NODES) Change-Id: I279970720ae25a360bd7a56923ebf3b8825abfd8 Issue-ID: DCAEGEN2-1225 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2019-03-01INT-885: fix netopeer and update yang modelRahul Tyagi7-41/+43
This commit introdues a better yang model for testing i.e. mynetconf.yang and data against it. It also fix a problem for netopeer at startup. Issue-ID: INT-885 Change-Id: I1d300221399237e57e1ffd4e3a1d9cb8e1674b44 Signed-off-by: Rahul Tyagi <rahul.tyagi@ericsson.com>
2019-02-28Mass PNF simulator for benchmark purposesTamasBakai20-0/+3615
Change-Id: I8a5ead57d0347fa34f048c7bfc5352ba045b1b62 Issue-ID: DCAEGEN2-1225 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-02-27Merge "Fix sniroemulator to make container arm64-ready"Gary Wu2-5/+10
2019-02-25INT-885:Enhancing the PNF-sim for netconf over TLSRahul Tyagi6-0/+103
This commit add a script and a known_hosts file so that while starting the netopeer2 it readily start listening at 6513 port for tls. This commit also adds a yang data model for testing of usecases developed under Netconf over tls usecase. Signed-off-by: Rahul Tyagi <rahul.tyagi@ericsson.com> Issue-ID: INT-885 Change-Id: I26b059c293f0684f475f51618d905e10a9efe391 Signed-off-by: Rahul Tyagi <rahul.tyagi@ericsson.com>
2019-02-22Fix sniroemulator to make container arm64-readyDmitry Puzikov2-5/+10
Swicth from debian based image to alpine based image. Fix docker-plugin version. Change-Id: I87af14b9785f70f49955ba299ed6e3d8ff9866f3 Issue-ID: INT-879 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-02-22Merge "Update PNF SIM mandatory fields for config.json"Mariusz Wagner1-11/+1
2019-02-20Update PNF SIM mandatory fields for config.jsonMarcin Migdal1-11/+1
Change-Id: Ia0b68c271f70ee5d3765e4b1ece80ab98470040c Issue-ID: INT-897 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-02-19Create multiple raw data files for different testsRehanRaza4-10/+59
Change-Id: I55862204ef71f69bc88c79fe2259f7cb8365699a Issue-ID: DCAEGEN2-1225 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>