aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2019-05-10Don't treat error reply as a proper JDWP handshakeKrzysztof Opasiak1-1/+2
As it turned out thanks to Yan Yang some ONAP services tend to return a propr JDWP handshake as a part of their error message. Let's filter out those services by checking number of lines returned by the server. We expect that proper JDWP handshake won't be longer than a single line. Issue-ID: SECCOM-231 Change-Id: I4b8950ebdf5fe118ec5f2dd5f4de583211784fb2 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2019-05-09Add E2E automation test vcpeHaibin Huang4-0/+322
Change-Id: I73ab75ee9321c8b360745a963f28b0a869a279ea Issue-ID: INT-795 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
2019-05-07Merge "Don't wait forever for jdwp response"Gary Wu1-1/+2
2019-05-06Fixed Bugs in hpa automation scriptItohan2-10/+23
Change-Id: Ib777f42de09687ee4c72c12da893c0f75633998f Issue-ID: INT-905 INT-904 INT-794 Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
2019-05-06Don't wait forever for jdwp responseKrzysztof Opasiak1-1/+2
Some of web services do not send any data when challenged with JDWP challenge. This makes the script waiting forever for response. To fix that let's introduce 10s timeout (experimental value) and replace empty string with a new line to avoid bash warnings. Issue-ID: SECCOM-231 Change-Id: I35546c001c5c54f298e8a4e346c2cf5d41e230ac Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2019-05-04Fixed Bugs in hpa automation scriptItohan2-39/+42
Change-Id: Ibeb04ddf9939b98ff4dec99a10973d4553e215d5 Issue-ID: INT-905 INT-904 INT-794 Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
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-05-01HPA Automation scriptroot@rancher2-0/+645
Python script to automate deployment of vFW and VDNS use cases using SO Change-Id: Ie232a47d03659daa7b4b869bff842a6c7c4848b3 Issue-ID: INT-905 INT-904 INT-794 Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
2019-05-01Update expired image in manifest-stagingYang Xu1-0/+0
Change-Id: I5353d2a3053245d0df24d89ba5290370c85fdf16 Issue-ID: INT-1052 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2019-04-30Merge "Add allotted resource subcategory BRG in SDC"Gary Wu3-15/+69
2019-04-30Add allotted resource subcategory BRG in SDCYang Xu3-15/+69
Change-Id: I1c361215ba086afe7444a5c457ba08aedf9fddcd Issue-ID: INT-847 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
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-29Merge "Update postman to collection to match v4"Gary Wu2-17/+17
2019-04-29Update postman to collection to match v4Matthieu Geerebaert2-17/+17
Update endpoints of nbi postman collection ( remove /nbi/api/v3 ) Update url with http in environment integration file ( for all endpoint variables, fix ko on nbi.api.simpledemo.onap.org:30274/nbi/api/v3/status for instance ) Update nbi url in environment integration file ( add /nbi/api/v4 ) Change-Id: I42d1585ed4f458f74cf34927f2f853404e7f92e1 Issue-ID: EXTAPI-235 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
2019-04-29Download vCPE service csar from SDCYang Xu4-2/+74
Clean up import Change-Id: I1a1be9b0528858fc30106978153e0af132675f93 Issue-ID: INT-847 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
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-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>