summaryrefslogtreecommitdiffstats
path: root/csit
AgeCommit message (Collapse)AuthorFilesLines
2022-08-10CSITs for DataStore SyncStateemaclee2-0/+56
- add new test for dataSyncEnabled API - verify data sync follows after setting dataSyncEnabled flag Issue-ID: CPS-1168 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: Ie22a6b8d6be15a05bfa3ee90218af27fe7092dd0
2022-07-14Remove ALL Docker File Versionssourabh_sourabh2-6/+2
Issue-ID: CPS-1095 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I11790e271ec784dfa9dbdaea497d50e95f884600
2022-06-30Kafka consumer can not be turned offJosephKeenan2-3/+3
-NOTE: Build will fail until docker-compose version issues on build server are fixed --Ticket raised https://jira.linuxfoundation.org/plugins/servlet/theme/portal/2/IT-24219 -added flag for async -added response if async is triggered without being enabled & associated test -modified to use one global flag for notifications Issue-ID: CPS-1088 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: If9d988b4dcb71bf37c1b1bf9464090782708ffc2
2022-06-14Exclude CM-Handles that are not in state 'READY'JosephKeenan1-1/+2
Exclude CM-Handles which are not in state ready from ncmp operations Issue-ID: CPS-877 Change-Id: I59783c860091d99e328cec9ccafb34c09b277753 Signed-off-by: DylanB95EST <dylan.byrne@est.tech> Signed-off-by: lukegleeson <luke.gleeson@est.tech> Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2022-06-08Merge 2 'query' end points in NCMPkissand2-7/+16
- merge two endpoint for a same backend - use xPath query instead of sql query - modify searches endpoint to return a cmHandle object with all public properties - handle old (deprecated) queries - handle public property queries - create useful examples - use more verbose error messages - simplify openapi yamls - create new query service - change second endpoint name to a better matched name - modify legacy tests with new requirements - create new tests for the new scenarios Issue-ID: CPS-1016 Change-Id: I7476e9dbd510ec93b5b48ce85d477ecb2dadffff Signed-off-by: kissand <andras.zoltan.kiss@est.tech>
2022-06-02Merge "Add module name to cps core output"Toine Siebelink1-1/+2
2022-06-02Add module name to cps core outputemaclee1-1/+2
- add withModuleName method - add getNodeIdentifierWithPrefix method - add unit test in DataMapUtilsSpec - add unit test in DataNodeBuilderSpec - fix all existing unit tests Issue-ID: CPS-870 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I51b70fa2dd3381eef9500b4339d4922c017e3000
2022-05-25Async request response NCMP -> ClientJosephKeenan2-15/+10
-Added consumer for DMI events and producer for forwarding to client -Added schemas for events -Updated tests -Added new module for ncmp events -Used mapstruct for event mapping Issue-ID: CPS-830 Change-Id: I096d08af9d69092cf8651e11eaa00ce441fc3605 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2022-05-10Improve Local Running of CSIT Testslukegleeson1-1/+1
Issue-ID: CPS-734 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Iff92f43dc69cdaf3e1e78551f68ecfb08bde4b93
2022-04-06Merge "dmi plugin version updated to 1.2.0-SNAPSHOT-latest"Bruno Sakoto1-1/+1
2022-04-06Query based on Public CM PropertiesJosephKeenan4-10/+56
-Updated OpenAPI for new Endpoint -Will replace SQL with CPSPathQuery once investigation is complete -Functionality in place to determine if public properties match - -Added Unit and CSIT tests - small modifications may need to be made -CSIT tests enhanced to add additional nodes and tests Issue-ID: CPS-731 Change-Id: I403e603ce79c4a4a6994d51b459b5703510d5a83 Signed-off-by: DylanB95EST <dylan.byrne@est.tech> Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2022-04-06dmi plugin version updated to 1.2.0-SNAPSHOT-latestputhuparambil.aditya1-1/+1
CSIT updated to test the changes on Accept header Issue-ID: CPS-957 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I2fb4abd5dff5ab7b02345ad6b4899987c2553130
2022-04-01Update CM-Handle registration responseRenu Kumari1-2/+2
- update openapi.yml with new response structure - send only details of failed cm-handle operations - updated csit to validate 200 status Issue-ID: CPS-896 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I3b868bcc5b8ff488c31faef51edc82c771452234
2022-03-01Create Endpoint For Get Cm Handles By NameDylanB95EST1-3/+36
Create endpoint and implement logic for get cm handle details by cm handle name Issue-ID: CPS-817 Change-Id: I83bd2da9219d13fac715a08b19108028ca6f6751 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2022-02-28NCMP Java API depends on NCM-Rest-API (cyclic) through json properties on ↵DylanB95EST1-1/+1
Java API Using POJO and new converter class instead of previous object mapper Issue-ID: CPS-893 Change-Id: I75531f386f08cb172d2901a4bbe97ae22cc5937e Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2022-02-25Fix success response code CM Handle Registrationmpriyank1-1/+1
- changed registartion response code to 204 NO_CONTENT - improved exception handling for registration API - fixed failing csit related to changed response code - updated the release notes for CPS-892 and CPS-837 Issue-ID: CPS-892 Change-Id: I616e340debf1583b058e7ae6b8960972eec00f3e Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-02-17Align JSON DataNode for Get and Post/Put API in CPSputhuparambil.aditya1-1/+2
Issue-ID: CPS-865 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I60b1f9c94e79bdd66d60fe6a68f5fc4adc718d35
2022-02-15Fragment handling decreasing performance for large number of cmHandlesDylanB95EST1-63/+63
- allow fragmentEntity to set parent id (needed for optimization) - updated addListAlement and addChildDataNode to use new common optimized metghod to add to exsiting children - ensure methods are transactional - Refactored test around adding list elements to clearly define test checking the presence of grandchild element Issue-ID: CPS-886 Change-Id: Ic4381f0f7170ebd666d5bc8aa6ef2c4548d81766 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2022-02-11Upgrade SDN-Cemaclee5-27/+41
Issue-ID: CPS-802 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I29604d4e57160c346b5a2a8ce30bda816eae2ecb Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Signed-off-by: lukegleeson <luke.gleeson@est.tech>
2022-01-27Added CPS enhanced health checkNagendra902871-8/+6
-Added new test for enhanced health check Issue-ID: CPS-840 Change-Id: I6800620ee2b16c21e99b37b2ce07b179e29f9798 Signed-off-by: Nagendra90287 <nagendrakumar.pal@amdocs.com>
2022-01-21Merge "patch operation for ncmp running"aditya puthuparambil2-0/+80
2022-01-21patch operation for ncmp runningtragait2-0/+80
Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: Ib136291963a5d7f115c8637708a1d5a64c62c9f2 Issue-ID: CPS-641
2022-01-19Add CSIT Test for Registration of a cm-handle endpointDylanB95EST1-16/+16
Integration Test for Registering a CM-Handle through NCMP with both public and additional properties Issue-ID: CPS-853 Change-Id: I1ea3f11f02cd8339f354c9671c4cdf6d68040713 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2022-01-07Register cm-handle returns 500 internal server errorDylanB95EST1-0/+0
Fix for bug around cm handle registration. Issue around duplicate modules between dummy modules inserted through liquibase changelog and create schema CSIT test Yang resources name have been changed in the zipped file cps-ran-schema-model@2021-01-28 -> cps-ran-schema-model-test@2021-01-28 ietf-inet-types.yang -> ietf-inet-types-test.yang ietf-yang-types.yang -> ietf-inet-types-test.yang Module names have also been changed accordingly as above too, along with the import in the cps-ran-schema-model yang resource. Issue-ID: CPS-797 Change-Id: I83d2aea6de2611d904b22f70329e1135b5a41d81 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2022-01-07CPS-Core: Unable to parse JSON input with space for POST endpointsourabh_sourabh1-1/+1
Issue-ID: CPS-831 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: If2f5f7034f05763990001c9dd8ccd9d8dc0099cf
2022-01-04Remove compulsory body from delete passthrough requestToineSiebelink2-3/+3
- yaml spec (please note how order of parameter changed!) - Updated CSIT test - Slight improvement of cist setup script to prevent double download Issue-ID: CPS-836 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ic3510c9dfe28a3be09f5239ab5c8c4797d4f4792
2021-12-14Changing putOperationWithJson to postOperationWithJsonJosephKeenan2-1/+7
-Modified responseEntity<String> to reesponseEntity<Object> -Changed behaviour of sync to use new repsonses and removed JSON parsing -Updated tests to use new responsess -Tests have been updated and added jira to docs -Added messageConverters to RestTemplate to support plain text with ResponseEntity<Object> -Added docker log output for cps & dmi containers during CSIT teardown -Moved reponse conversion from service into DMIModelOperations class -Added response handling test (edgecases) -Updated response request body for passthrough-running CSIT test to pass Issue-ID: CPS-777 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: If2acf83a97b8aad5aa2c342154d807a47cace6a0
2021-12-09CSIT Tests for NCMP Delete on Passthrough Running. 3/3DylanB95EST1-1/+21
Adding Integration End To End tests for delete passthrough running with SDNC. Change-Id: I0e9aeefe3456d404f0f03b60bee0d08b3464cb6f Issue-ID: CPS-769 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2021-12-08Add CSIT Tests for Update Operation on Passthrough-running 2/3DylanB95EST4-24/+80
Add robot integration test for update scenario in Passthrough-running Modify existing write data test json body to include better examples Issue-ID: CPS-768 Change-Id: Ie769a33a86ec1a8384585484c54598189fdd5124 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2021-12-02Changing putOperationWithJson to postOperationWithJsonJosephKeenan2-1/+2
Issue-ID: CPS-736 Change-Id: I3fd2e0b6d6c20683b18f79ed78ed5c8990aee6d8 Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2021-11-25Allow separate registration of DMIDataPlugin and DmiModelPuginJosephKeenan2-24/+21
Moved relevant code from NetworkCmProxyDataServiceImp to DmiOperations Split DmiOperations into DMiData... and DMIModelOperations Merged update-operation changes Added tests for error message validation in NetworkCmProxyDataServiceImplSpec Removede @Service from DMIOperations and added @component to DmiDataOperations & DmiModelOperations Verify sync robot test is now hardened Added exitonfailure so robot tests stop after first encountered failed test Issue-ID: CPS-736 Change-Id: I0b40931cc8cd4fc0452328a0a7e0f60e6fc38d0a Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2021-10-21fix docker-compose for ncmptragait8-78/+120
Issue-ID: CPS-725 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: Ibd646c225b4b9b205fdc34012f10a627e7827513
2021-10-15CPS-615 - CSIT for model sync & passthroughJosephKeenan17-18/+604
This commit contains -Registration and sync test cases -Passthrough read and write test case Issue-ID: CPS-615 Change-Id: I1ad70dbc8c0af96bd5cf69476acdad42cf3c179d Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2021-09-15Remove dependency on ci-management for robot framework configurationputhuparambil.aditya4-4/+50
Issue-ID: CPS-666 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Ief1ce66203e42964db855304b47f6bf0fdd140c3
2021-07-14Expose Prometheus metrics for monitoringputhuparambil.aditya4-15/+21
Issue-ID: CPS-492 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I264066bd543daf2a45f2ec9a6b8cdf8012927828
2021-07-06Addition of missing licenses to fileslukegleeson4-1/+75
Issue-ID: CPS-467 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Id39fa218b5d56f2350133dac8df38f75e6d42638
2021-05-17nexus registry is parmateterizedRenu Kumari1-1/+1
Issue-ID: CPS-311 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I158387f54b1a9d3d60e6d97cc3336391745af3c0
2021-05-07Fix cps ran yang data modelBruno Sakoto1-1/+11
* Add a liquibase change set to update cps ran model data * Rename model "cps-ran-schema-model@2021-01-28.yang" to be compliant with yang specifications related to file layout https://tools.ietf.org/html/rfc7950#section-5.2 * Improve yang validation error handling to provide more information about the validation failure in the request response * Add csit test to verify cps ran model retrieval Issue-ID: CPS-377 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I4f0e337b50d79e81f895eb32f09ae9cb5d9d8a70
2021-04-23Update documentation for csit testsBruno Sakoto1-1/+1
Issue-ID: CPS-356 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ic6f31e7eaaf86fd51bb65f22b51668a74d792472
2021-03-05Add basic authentication securityBruno Sakoto2-7/+15
Endpoints exposed outside from the cluster require basic authentication except actuator health and info endpoints. Default user credentials are embedded in the application, they can be overridden with system environment properties. Issue-ID: CPS-175 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I3dfa0e49e5f4538c923e6bbe9bef976d30359fe6
2021-03-04Test CSIT Integration TestsHanif Kukkalli1-7/+24
Updated README.md file Issue-ID: CPS-272 Signed-off-by: Hanif Kukkalli <lte-ng@outlook.com> Change-Id: If636cc34a83e0895e148597cb3a0812953db5aae
2021-03-03CSIT: Integration tests for CPS CoreRuslan Kashapov14-62/+169
+ also fixes issue with fragment_id sequence not reflecting data loaded Issue-ID: CPS-261 Change-Id: If590d6a0859a1acc9005dd2da952b7dd93a23059 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-02-23Introduce CPS integration testing (CSIT)Ruslan Kashapov11-0/+467
Issue-ID: CPS-188 Change-Id: I4a225da73587d5276f302b05a0729d1127caddd9 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>