aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2/prh-testcases/resources
AgeCommit message (Collapse)AuthorFilesLines
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 ↵grabinsk2-29/+58
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 Wu3-0/+60
_NOT_ to use cert auth"
2019-07-05Bbs tests improvementsJoanna Jeremicz2-30/+21
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 ↵grabinsk3-0/+60
use cert auth Change-Id: I92d6670344a65eed4289c5f72bdd5206f2b329f9 Issue-ID: INT-1076 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-07-02New BBS PRH testcasesJoanna Jeremicz2-4/+86
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.grabinsk4-128/+141
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 Wu4-24/+25
2019-06-21Add test for logging level change in PRH based on configuration from CBSgrabinsk4-24/+25
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 PRHgrabinsk2-1/+19
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 PRHgrabinsk3-24/+66
Change-Id: Ie1d8659d4aaa82338c6986f68e47443dc6679b0e Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
2019-06-18add log level change testmicdzied1-1/+23
Change-Id: Ie4fb5192a86e4433df865c8913ea212d25acc00b Issue-ID: INT-1107 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2019-06-17BBE re-registrationMarcin Migdal2-4/+25
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 onegrabinsk3-4/+15
(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 Migdal3-30/+53
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 Migdal1-1/+8
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-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 configurationgrabinsk18-166/+387
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 flexiblegrabinsk2-4/+12
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 PRHgrabinsk2-11/+11
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-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 caseskurczews2-184/+92
Issue-ID: INT-989 Change-Id: I9751a1612431355aab70ea13c165445ca2b3937a Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-04-26PRH BBS tests - part 2kurczews5-24/+74
Issue-ID: INT-989 Change-Id: Ifa55723579d763e4bede7dbc373c7605dccb9b0e Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-04-18PRH BBS testskurczews4-12/+84
Issue-ID: INT-989 Change-Id: I2963a7b0df2ee16a8cf5bc3144510950a1fd7ad2 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-04-17Attempt to check CSITMarcin Migdal1-12/+11
Invalid VES in DMaaP Change-Id: Ief0bb5935200939c3d4329836f855a5d5b7cf59a Issue-ID: INT-989 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-04-16Attempt to check CSITMarcin Migdal3-12/+11
Fix positive cases - they work all now Change-Id: I451f79e3a6cfd1aba9b373e7138c0e8cd3efb88c Issue-ID: INT-989 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-04-15Attempt to check CSITMarcin Migdal2-4/+18
Wait for CBS startup Change-Id: I0cae12fdfeed7a25593d98e66b7e2353b3efff29 Issue-ID: INT-989 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-04-12Attempt to check CSITMarcin Migdal2-2/+17
Consul and CBS discovery fix Change-Id: I0e3ded421b9f285c28a3b5307138adcdec022cca Issue-ID: INT-989 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-04-11Merge "PRH simulators refactor"Mariusz Wagner3-103/+191
2019-04-11Add type to topics definitionsMarcin Migdal1-0/+3
Change-Id: Idaa657612a6acc4e4259d2c7029bf283a67693ef Issue-ID: INT-989 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-04-11PRH simulators refactorkurczews3-103/+191
Issue-ID: INT-989 Change-Id: I87b9a998291ea55f422bce8b315d4b5f03950e2c Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-04-11Use CBS in PRH testsuites, part 2Piotr Bocheński1-27/+3
Change-Id: I21a07750401e4c9cb295c1551f0f4fa1408f0ac8 Issue-ID: DCAEGEN2-1319 Signed-off-by: Piotr Bocheński <piotr.bochenski@nokia.com>
2019-04-10Add ui option to startupMarcin Migdal1-1/+1
Change-Id: I82f9b02b70f79f740b03e5aa5c57020e48a1b365 Issue-ID: INT-989 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-04-09Fix missing colonMarcin Migdal1-1/+8
Change-Id: I2a12d1087c7e078ada2a8cdbb0c93d5553d10dfa Issue-ID: INT-989 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-04-09Arming URLs for DMaaP and AAIMarcin Migdal1-0/+4
Change-Id: I05aa637de0bb8dc38307e24d7a47fbc0609d69b2 Issue-ID: INT-989 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-04-09Add consul streams subscribe/publishesMarcin Migdal2-12/+32
ranaming dmaap-bc to dmaap-mr Change-Id: I784247e4830e37c4a3dd7645e244716c868074b7 Issue-ID: INT-989 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2019-04-08Merge "Fix AAI simulator"Mariusz Wagner1-3/+3
2019-04-08Merge "ARM Consul according to blueprint Add security section Issue-ID: INT-989"Mariusz Wagner1-1/+8
2019-04-08ARM Consul according to blueprintMarcin Migdal1-1/+8
Add security section Issue-ID: INT-989 Change-Id: I198328114b6f893c2a9dd6bbf1fe2d4cd71358ba Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>