summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-02-28Merge "Bug fix for delete data node not working for root node"Bruno Sakoto3-17/+44
2022-02-28NCMP Java API depends on NCM-Rest-API (cyclic) through json properties on ↵DylanB95EST20-98/+263
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-28CPS-887 Decreasing performance of cmHandle registrationJosephKeenan15-110/+335
- Creating temporary table module references from the node - Query returning new moduleReferences for node to be added to CPS - Modified registration for node to use new implementation (incl. tests) - Refactored some interface to use collection instead of list - Modified SQL statements to use String.format() - Fixed tests Issue-ID: CPS-887 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: I58b17d29e8b9d6f7a644d33bf6cf8bf46f892580
2022-02-28Merge "Updated openapi.yaml to match to changes in get data node API"Toine Siebelink20-47/+38
2022-02-28Bug fix for delete data node not working for root nodeputhuparambil.aditya3-17/+44
Issue-ID: CPS-895 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Ia82b0df8e2cfdb9b396315a9d0e6c8f2b4deadcf
2022-02-28Updated openapi.yaml to match to changes in get data node APIputhuparambil.aditya20-47/+38
1. updated the pom version to 3.0.0-SNAPSHOT 2. modified the examples for get data node api to match the post api. Issue-ID: CPS-865 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Icf03522e9ba7fb9c245fd9f09b3eb8bb6f3ee60d
2022-02-25Fix success response code CM Handle Registrationmpriyank9-33/+68
- 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.aditya9-24/+60
Issue-ID: CPS-865 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I60b1f9c94e79bdd66d60fe6a68f5fc4adc718d35
2022-02-16Core logic to update,add or remove cmHandle propertiesmpriyank10-52/+435
Issue-ID: CPS-837 Change-Id: Ia078b6a0291ae916931259a309dd592b0554da28 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-02-16Merge "Fragment handling decreasing performance for large number of cmHandles"aditya puthuparambil4-108/+97
2022-02-15Fix to keep yang resource cache in syncRenu Kumari4-52/+169
- Removed schemaset from cache when schemaset is deleted - Added separate test cases for yang resource cache Issue-ID: CPS-864 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Ie1f9978406de1c92b513549216873cba4a98cdd7
2022-02-15Fragment handling decreasing performance for large number of cmHandlesDylanB95EST4-108/+97
- 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-14Improve logging in NCMPsourabh_sourabh5-36/+51
- Code to change to apply logs at runtime - Fix for minor code smell Issue-ID: CPS-855 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I93a556fe0fb7ca05a42e84eb5ec4f84afaa8fd92
2022-02-14Merge "Update release notes"aditya puthuparambil1-1/+77
2022-02-14Merge "Upgrade SDN-C"Toine Siebelink5-27/+41
2022-02-11Update release notesBruno Sakoto1-1/+77
Adding Istanbul releases: * 2.0.2 * 2.0.3 * 2.0.4 Issue-ID: CPS-891 Change-Id: I49c8c6160a9a501f8a2c46e4ee79a6c27fff9198 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
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-02-10Document Logging Guidelinessourabh_sourabh2-0/+117
Issue-ID: CPS-604 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I7bf1cf8b57595e6fe9def00777c294bb90c5dc11
2022-02-09Merge "Fix for retry mechanism on concurrent CmHandle registration"Bruno Sakoto4-3/+134
2022-02-09Fix for retry mechanism on concurrent CmHandle registrationputhuparambil.aditya4-3/+134
Issue-ID: CPS-856 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Ie7c0033f2987166315611f8a286ae3978466c75f
2022-02-07Add support for delete data-node eventRenu Kumari6-69/+99
- Changed process event input to address delete - Send null data in the event if the operation is DELETE Issue-ID: CPS-791 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: If851f7132e94bcbcaf4324d07a2a00c90d1882b7
2022-02-07Merge "Refactor Delete Anchor functionality"Renu Kumari12-104/+128
2022-02-03Merge "Test Scenario for replaceListContent"aditya puthuparambil3-139/+160
2022-02-03Merge "[TECHDEBT] Align CPS NCMP REST API Specification"Bruno Sakoto11-37/+138
2022-02-02Refactor Delete Anchor functionalityRenu Kumari12-104/+128
- Added a delete DataNode functionality in the CpsDataService - CpsAdminService uses CpsDataService to delete DataNodes Issue-ID: CPS-791 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I090500dbc4a2ccf061dc105f979472137d43b06d
2022-02-02Merge "Refactored Delete SchemaSet functionality"Renu Kumari13-136/+236
2022-02-02Test Scenario for replaceListContentToineSiebelink3-139/+160
-Improved a test scenarios for replaceListContent in CpsDataPersistenceServiceSpec -Removed redundant SQL Data -Used groovy shortcuts where posisble (no need for get...() methods when using Groovy :-) Issue-ID: CPS-868 Change-Id: I3d29bbb0c5d035c6f266cf31bf2886f1bcf5d48a Signed-off-by: mpriyank <priyank.maheshwari@est.tech> Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2022-02-02[TECHDEBT] Align CPS NCMP REST API SpecificationJosephKeenan12-38/+140
- Updated ncmp.yml to align implementation with specification - Added new Exception classes to differentiate between server NCMP issues and client based NCMP issues - Added 500 error to specification - To be merged after https://gerrit.onap.org/r/c/cps/+/126848 - Added excpetion handlers for SerNcmpException & DmiRequestException Issue-ID: CPS-823 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: If1c9c6c29c6ea2daa07753d7f766ef15c1ba4ca0
2022-02-02Merge "[TECHDEBT] Align CPS Core REST API Specification and Implementation"aditya puthuparambil5-26/+62
2022-02-02Merge "Database port not configurable through env variable"Toine Siebelink3-2/+3
2022-01-31[TECHDEBT] Align CPS Core REST API Specification and ImplementationJosephKeenan5-26/+62
Issue-ID: CPS-822 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: Idde7525628f7e1425602069e0d75506ac621113e
2022-01-28Refactored Delete SchemaSet functionalityRenu Kumari13-136/+236
- Added get anchors by schemaset in cpsAdminService - Changed DeleteSchemaSet functionality - Use CPSAdminService to getAnchors associated with schemaset - Use CPSAdminService to delete Anchors - Moved Cascade allowed validation into Service from Persistence Issue-ID: CPS-791 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Ife7644551183cb8c3eb686a654b0a43a427ac1e5
2022-01-28Support 'public' Cm Handle PropertiesDylanB95EST27-301/+513
Add support for new Public Additional Properties list to Register CM Handles API Issue-ID: CPS-677 Change-Id: I6efc88734da2416f72f71a403622e519398b502d Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2022-01-28Database port not configurable through env variableputhuparambil.aditya3-2/+3
Issue-ID: CPS-867 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I1f5e00c6b814a5ba087ba0cc1832152b2317ad57
2022-01-27Merge "Added CPS enhanced health check"aditya puthuparambil1-8/+6
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-27Merge "Improve logging in NCMP"Toine Siebelink6-9/+146
2022-01-25Improve logging in NCMPsourabh_sourabh6-10/+147
Issue-ID: CPS-855 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I5d8a6a711d1c6b13d5d8eeba52a1dcd689dbdae2
2022-01-25Replace gson mapper with jackson mappersourabh_sourabh27-223/+387
We introduced JsonObjectMapper (wapper) as Spring component. Issue-ID: CPS-751 Change-Id: I536b0771a3a263325e6907717baf6941d70c0d6c Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2022-01-21Merge "patch operation for ncmp running"aditya puthuparambil7-7/+132
2022-01-21patch operation for ncmp runningtragait7-7/+132
Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: Ib136291963a5d7f115c8637708a1d5a64c62c9f2 Issue-ID: CPS-641
2022-01-20Merge "Add CSIT Test for Registration of a cm-handle endpoint"Toine Siebelink1-16/+16
2022-01-19[TECHDEBT] Remove deprecated API methods related to NCMPmpriyank11-958/+16
CpsQueryService instantiation removed as it was not in use. License Header updated for Nordix Foundation to 2021-2022. Issue-ID: CPS-642 Change-Id: I1aa204730f5d347d379cfdaaf0740323a317a559 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
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-12Merge "Send operation information in existing notification events"Toine Siebelink7-53/+133
2022-01-11Send operation information in existing notification eventsRenu Kumari7-53/+133
Issue-ID: CPS-791 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Ic68dd476942291cf03afed99e95a245dafde5be9
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-07Merge "CPS-Core: Unable to parse JSON input with space for POST endpoint"Toine Siebelink4-31/+59
2022-01-07Remove Niamh as committerToineSiebelink1-5/+0
Issue-ID: CPS-846 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ic0fa53e3805aeb40b1a8c89cf357080efab657f1
2022-01-07CPS-Core: Unable to parse JSON input with space for POST endpointsourabh_sourabh4-31/+59
Issue-ID: CPS-831 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: If2f5f7034f05763990001c9dd8ccd9d8dc0099cf