aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2
AgeCommit message (Collapse)AuthorFilesLines
2021-08-25Update PRH tests to use file based conifgRemigiusz Janeczek13-271/+128
To remove Consul/CBS dependency in DCAE PRH was updated to use file based configuration CSIT updates: - file based config use in PRH - removal of Consul/CBS from PRH tests Issue-ID: DCAEGEN2-2868 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ida59374ae14e74f11893324e7a48aaa5e49a11e7
2021-08-17[DCAEGEN2] Align PRH CSITs to use AAI v23Tomasz Wrobel8-34/+34
Issue-ID: DCAEGEN2-1531 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I01c58ad1a7f5bfa9f05939843d0ffc8beb677c39
2021-06-18CSIT tests update for Synchronous VES collectorPawel13-5/+474
-When evens belonging to different domains are reported in eventBatch -When different stndDefinedNamespace is used if domain==stndDefined -Error codes resulting from DMaaP-MR errors, mapped to HTTP/503 Issue-ID: DCAEGEN2-1483 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: I4c993e4c7bfd22981030c69e126e90bbf7e48d4a
2021-02-25Fix wrong ipv6 in pnfRegistration eventEdyta Krukowska1-1/+1
Issue-ID: DCAEGEN2-2477 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Id3a18a97523c5178f4e8b495848f18f61e078476
2021-02-09Update cits after upgrade libraries in prhMaciej Malewski1-2/+2
Libraries: Spring Web from 5.2.12 to 5.3.3 Spring Boot from 2.2.4.RELEASE to 2.4.2 Spring Cloud from Greenwich.SR1 to 2020.0.1 Issue-ID: DCAEGEN2-2537 Signed-off-by: Maciej Malewski <maciej.malewski@nokia.com> Change-Id: I6d3fd57346856b7e071360d3b6eba07c5ac61868
2020-10-15Add tests for schema which references to another schema fileEdyta Krukowska12-0/+3633
Issue-ID: DCAEGEN2-2466 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I6e78af2e218dc23516a94f70276c92cc90ab0cbd
2020-10-05Fix DCAE VES Collector csits for latest schema mapping changesMichal Banka10-11/+12
Adjusted schemaReference in events to match ones set there: https://gerrit.onap.org/r/c/dcaegen2/collectors/ves/+/113317 Change-Id: Ib29c418a578c32d970ec8e07564eed0134974491 Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: DCAEGEN2-2462
2020-09-09Fix DCAE VES Collector csits for latest schema mapping changesMichal Banka11-11/+11
Should be merged after: https://gerrit.onap.org/r/c/dcaegen2/collectors/ves/+/112424 Change-Id: I13b515bf33388a1db6a445ed7e5eb6e93d650462 Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: DCAEGEN2-2264
2020-08-20Add csit tests for stndDefined validation in VESMichal Banka9-51/+267
Change-Id: Ie49a4e2000fb8e15c1a392ddeded7ddba2673a96 Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: DCAEGEN2-2264
2020-08-20Added csit tests for StndDefined disabled validationEdyta Krukowska8-14/+137
Issue-ID: DCAEGEN2-2254 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I806648d8d746dc1b9e999b967ca28e66c43c6852
2020-08-20Update CSIT resources for VES 1.7.3 versionMichal Banka10-170/+229
Updated events to contain valid stndDefined fields. Updated collector.properties to actual fields names. Fixed typo. Change-Id: I3edb2ed0d6753330a8965580a23b83dde625b71c Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: DCAEGEN2-2254
2020-08-17Merge "Refactor DMaaP simulator and add tests."Krzysztof Kuzmicki17-610/+490
2020-08-13StndDefined event routingBogumil Zebek1-13/+13
- add tags - update error response Issue-ID: DCAEGEN2-1771 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: I303c42de32a7267a7566e6e5e2be3733c32b1c15
2020-08-12Refactor DMaaP simulator and add tests.Bartosz Gardziejewski17-610/+490
Issue-ID: DCAEGEN2-1771 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I65772f9cdaf546171941253abdf3977b41a3e50e
2020-08-06Add VES properties for stndDefined validationMichal Banka1-0/+10
Updated collector.properties file which override default properties file when running tests for https. New properties override default values required for proper stndDefined domain validation. Build will fail until merge of https://gerrit.onap.org/r/c/dcaegen2/collectors/ves/+/110433 Also should be merged after: https://gerrit.onap.org/r/c/integration/csit/+/110719 Change-Id: I35b1f47e8322bec6d2852764155bffac85517dc4 Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: DCAEGEN2-2254
2020-08-03CSITs for StndDefined event routingMaciej Malewski14-5/+3459
Route stndDefined events to streams defined in namespace event field. Signed-off-by: Maciej Malewski <maciej.malewski@nokia.com> Issue-ID: DCAEGEN2-1771 Change-Id: I586d02b5e10f10ac117cf0e8a04c4a7ec02d8637
2020-07-29Add topic validation for dcaegen2 VES testsBartosz Gardziejewski4-7/+25
Issue-ID: DCAEGEN2-1771 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ifb4f0f01ef3dcda366147d32c98a9be7890b6f56
2020-07-27Put tests for NoAuth and certBasicAuth Ves in separate filesAleksandra Maciaga4-131/+124
Issue-ID: DCAEGEN2-1771 Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com> Change-Id: I994a575dc67a661339abc63305d4cf1a8828449a
2020-07-07Add CSIT for new VES domainAleksandra Maciaga4-6/+65
Issue-ID: DCAEGEN2-2254 Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com> Change-Id: Idc928bc93eb432e8d93291780a9d4796bcb2561f
2020-04-02Update VES Collector CSITAleksandra Maciaga6-1883/+3076
Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com> Change-Id: I6dd9d36a7bddbbc3d0d99b72d990907e3fe87b1b Issue-ID: DCAEGEN2-2182
2020-03-03Bbs test cases are not run while bbs code is mergedmprzybys36-1337/+0
Issue-ID: DCAEGEN2-2123 Signed-off-by: Marcin Przybysz <marcin.przybysz@nokia.com> Change-Id: I710b16d035fc279aca0a045a99a1d4b0423674bb
2020-02-25Add Test cases which are missing for API's V7mprzybys3-0/+53
Issue-ID: INT-1456 Signed-off-by: Marcin Przybysz <marcin.przybysz@nokia.com> Change-Id: Idc5fec61a37e4f201b774c477a5b0965a83f8667
2020-02-25Add Test case for parameter out of schema send to VES eventBatch APImprzybys3-1/+73
Issue-ID: INT-1455 Signed-off-by: Marcin Przybysz <marcin.przybysz@nokia.com> Change-Id: Idb4fe6fbd2e7d61cb6f87b5bcb59db774a5edac4
2020-02-25Add Test case for missing param in one of the events send to VES eventBatch APImprzybys3-1/+71
Issue-ID: INT-1454 Signed-off-by: Marcin Przybysz <marcin.przybysz@nokia.com> Change-Id: I8bb2604a2d35ffee1660ef0b44a3a0a6fcb3dcd3
2020-02-25Add Test case for empty json send to VES eventBatch APImprzybys1-0/+5
Issue-ID: INT-1453 Signed-off-by: Marcin Przybysz <marcin.przybysz@nokia.com> Change-Id: I3e3a23e5405f9ca79c65f33952880c561071bca1
2020-02-25Add Test case for parameter out of schema send to VES eventListener APImprzybys3-0/+41
Issue-ID: INT-1449 Signed-off-by: Marcin Przybysz <marcin.przybysz@nokia.com> Change-Id: I4918b97828f5a220927eb97175356ab3a171ed70
2020-02-25Add test case for empty json body send to vesListener APImprzybys4-5/+12
Issue-ID: INT-1448 Signed-off-by: Marcin Przybysz <marcin.przybysz@nokia.com> Change-Id: Ic5b5c7fc19c733fe60eb9ab31a870c9b3446d6fb
2020-01-28Add test case for missing mandatory "domain" parameter in /eventListener/v7 ↵mprzybys3-0/+39
VES API Issue-ID: INT-1421 Signed-off-by: Marcin Przybysz <marcin.przybysz@nokia.com> Change-Id: Ia8e3b0e5c8e5f838608f40e650109eb312430f48
2020-01-22Fix occasional PRH test failuresRemigiusz Janeczek1-1/+1
Issue-ID: DCAEGEN2-1983 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I7e0d60cc9648990dc3657be493c7a20b34a08a88
2020-01-02Add scripts generating temporary certificates for VES CSIT testsAleksandra Maciaga7-66/+76
Issue-ID: DCAEGEN2-2000 Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com> Change-Id: I2b33c6716d349c60450a4acad3d87e5fc92b27fc
2019-12-16Add CSIT tests for VES event-listener endpointAleksandra Maciaga6-269/+308
Issue-ID: DCAEGEN2-1981 Change-Id: I6f71ec8a23dd0835540869dcac445834ebee2342 Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com>
2019-11-13Remove certOnly and basicAuth from authentication methods CSIT VESAleksandra Maciaga14-138/+548
Issue-ID: DCAEGEN2-1776 Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com> Change-Id: I7e087f70d3458e8477b5cb35132b526bddbb7df2
2019-10-10Remove network from pathJoanna Jeremicz3-4/+4
Make baseUrl more actual Issue-ID: INT-1181 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I95a8c38b1d8074bb57ee4e8a0e157de9bbda77ee
2019-10-09Add baseUrl to configurationJoanna Jeremicz3-2/+4
- Add support for baseUrl usage. It is needed for handling objects other than pnfs from the inventory. BaseUrl is necessary for fixing the existing bug, where pnf path is used to get service-instance from AAI. - Correct path in AAI simulator. Issue-ID: INT-1181 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I4446556a610c0f47bee09ce8271eeb95df590004
2019-10-07Revert path for service instanceJoanna Jeremicz1-2/+2
Issue-ID: INT-1181 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Ieb86cb928ca056ca982e8e7640bdca5ab1f6a470
2019-08-27Correct path for service-instanceJoanna Jeremicz2-5/+5
Issue-ID: INT-1181 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I5ebedbe527d6dea2f9e9212555ce9af54382e065
2019-07-17Fix log checking in PRH so that only entries generated during test execution ↵grabinsk5-47/+62
are taken into account. - fixing "Should not send PNF ready when DMaaP event is not JSON array" test that was passing due to checking log entry generated by a previous test - improving logs generated by keyword waiting for log entry - changing 'find log entry' to 'wait for log entry' with explicit timeout setting - adjusting timeouts for waiting for log entries to appear (20s is enough when prh workflow execution is scheduled every 10s) Change-Id: I20c67dfce6e8d1809d24ddb3108a088b00165996 Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-07-08Merge "Test basic registration scenario when AAI and dmaap is configured ↵Gary Wu5-2/+82
_NOT_ to use cert auth"
2019-07-05Bbs tests improvementsJoanna Jeremicz6-55/+26
Issue-ID: INT-1100 Change-Id: I17ad2f3a270cddeaad239d23756500a08e91a200 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-07-03Test basic registration scenario when AAI and dmaap is configured _NOT_ to ↵grabinsk5-2/+82
use cert auth Change-Id: I92d6670344a65eed4289c5f72bdd5206f2b329f9 Issue-ID: INT-1076 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-07-02New BBS PRH testcasesJoanna Jeremicz26-11/+604
Issue-ID: INT-1100 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I19455f401beeecf28c94575b8115e6ce8249bf0a
2019-06-26Extract PRH cbs configuration from docker-compose.yml to independent json file.grabinsk5-129/+143
Provide keywords for updating PRH configuration based on provided json file Change-Id: I5dffca521695700d98ac0c43992c212ece5f5495 Issue-ID: INT-1076 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-06-21Merge "Add test for logging level change in PRH based on configuration from CBS"Gary Wu6-43/+59
2019-06-21Add test for logging level change in PRH based on configuration from CBSgrabinsk6-43/+59
Extracting config related tests to separate suit since they do not share common setup and teardown. Small improvements in existing test for ad-hoc logging level change using rest endpoint. Change-Id: I0b81680cc68cd210aad01b87f84856200cb4b88b Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-06-21BBE re-registration enabling testcaseMarcin Migdal1-2/+3
Logging AAI entries Change-Id: Iec831537fdbaa46228f42b2e5d24252bc4ec2f34 Issue-ID: INT-1100 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-06-19Add test for scheduled CBS configuration refresh in PRHgrabinsk3-2/+25
Change-Id: Ib90594b6e854d6f576fe3f3ce3b1f7e839bcf3f6 Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-06-19Add test for forcing CBS configuration refresh in PRHgrabinsk4-26/+74
Change-Id: Ie1d8659d4aaa82338c6986f68e47443dc6679b0e Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-06-18add log level change testmicdzied2-2/+32
Change-Id: Ie4fb5192a86e4433df865c8913ea212d25acc00b Issue-ID: INT-1107 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2019-06-17BBE re-registrationMarcin Migdal6-14/+104
added aai entry service instance armed aai-entry armed expected-logical-link armed AAI simulator armed RF test keywod Change-Id: If894fce80d40b05fc9f75e22ee96cddb7621423a Issue-ID: INT-1100 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-06-17Move PRH loggers config to CBS;grabinsk2-6/+6
Update required CBS connectivity attrs passed via env; Change-Id: Ib70850054499f0ee852ad4b9f0e0ae963b35e6f4 Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>