aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-06-17PRH test fixes - align simulated Dmaap response to the real onegrabinsk13-290/+289
(real Dmaap response consists of array of escaped event json strings) Change-Id: I84f1c5ee576b833e40138ce8af8a8558f39e0609 Issue-ID: INT-1100 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-06-12Remove unused exposed portsMarcin Migdal4-30/+61
Rename methods Arm DMaaP SIM for new endpoints Add new test file - resource Arm test case Development is not finished yet Change-Id: I888a24c9d6d8bb8240b151c6c0f2f08c41df5b65 Issue-ID: INT-1100 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-06-11PRH -> BBS re-registration caseMarcin Migdal6-2/+98
Skeleton for test Change-Id: I1a78b04a653e5cf9f21f25b0d29d989920390984 Issue-ID: INT-1100 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-06-10Update expected log entries in PRH in case AAI has missing entry or is not ↵grabinsk2-11/+11
reponding Change-Id: I43bbd055002e0c399a2c837bb0df738e01c06b63 Issue-ID: DCAEGEN2-1601 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-06-06Merge "Refactor PrhLibrary.py"Gary Wu2-62/+108
2019-06-06Fix robot cases due to attachment-pointMarcin Migdal8-8/+8
Change-Id: I36ad6450b7a600f09d600913cd27efafcab690bd Issue-ID: INT-1097 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-06-04Refactor PrhLibrary.pybiniek2-62/+108
Issue-ID: INT-1094 Signed-off-by: biniek <lukasz.biniek@nokia.com> Change-Id: Ic946c3ce58b3d94e4d8e3c4f206be4b707c31084
2019-06-04Update configs for prhmicdzied1-30/+5
Change-Id: Id89203adede9154079f32103c86ea42c4d4910de Issue-ID: INT-1095 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2019-05-29Enable ssl for dmaap client in PRHgrabinsk1-13/+13
Change-Id: I74dbf32a0e06e90a5a2d222008a4379e4c5a9a54 Issue-ID: INT-1076 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-05-28Use single PRH container with ssl configurationgrabinsk20-191/+390
Generating new certificates since the old ones have expired Change-Id: If68ceab0bea7dbc10db647af7530b39b44729c0c Issue-ID: INT-1076 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-05-23Improve PRH tests to make json comparison more flexiblegrabinsk6-22/+38
Update expected PNF ready event to be an array of events Improve logging in DMaaP simulator Change-Id: I1c6c76dd7ef742fd474870b0cb23b5bbaa265357 Issue-ID: DCAEGEN2-1501 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-05-22Update PRH tests after SDK update to El Alto in PRHgrabinsk27-443/+489
Change-Id: I0ce656cc2b0e59254b788ac114f5617cacea1ffb Issue-ID: Issue-ID: DCAEGEN2-1501 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-05-08PRH CSIT docker compose add VESCollector entry to consulMarcin Migdal1-0/+70
Change-Id: I04e3c9bbee1c600dda8d6b2f908fd11baa229862 Issue-ID: INT-1072 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-05-08Deferring PRH startup until CBS can serve PRH config datagrabinsk2-8/+18
(This needs to be replaced by optimizing CBS access retries in PRH service itself) Change-Id: Icd4f085fa2f9e252af8147474a72069503973bdc Issue-ID: INT-989 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-05-06Checking that CBS is registered in consulgrabinsk1-2/+4
Change-Id: I9bd1e275d7212aab09a43a654a2f10af389c28d6 Issue-ID: INT-989 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-04-30Fix csit failure for bbsVijay Venkatesh Kumar1-1/+1
Change-Id: Id9a44bbb840018f5b0667b24605e42be20512937 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1270
2019-04-30Attempt to check CSITMarcin Migdal1-2/+4
Case: Event in DMaaP is not in JSON format Change-Id: I8eac18c9119c9337e05feccc986367dcd50589a8 Issue-ID: INT-989 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-04-26Remove old test caseskurczews5-301/+130
Issue-ID: INT-989 Change-Id: I9751a1612431355aab70ea13c165445ca2b3937a Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-04-26PRH BBS tests - part 2kurczews25-51/+452
Issue-ID: INT-989 Change-Id: Ifa55723579d763e4bede7dbc373c7605dccb9b0e Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>