summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2022-01-06cps-core update release notesputhuparambil.aditya1-0/+1
Issue-ID: CPS-841 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I85c6fbec632dc6349d36c5f481588279b4865609
2022-01-05cps-core Upgrade log4j to 2.17.1puthuparambil.aditya1-2/+2
Issue-ID: CPS-841 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I07a7c81e07e374adb4eea4460b2f407c302fc0a7
2022-01-04Remove compulsory body from delete passthrough requestToineSiebelink5-23/+11
- 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-20Fix Sonar Qube Violations - Recurring tasksourabh_sourabh3-3/+9
Issue-ID: CPS-475 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I5c10360ec42bc9737ed86140398ef954109275dd
2021-12-15Merge "Update log4j version due to security vulnerability for CPS"Bruno Sakoto1-0/+10
2021-12-15Update log4j version due to security vulnerability for CPSniamhcore1-0/+10
This change excludes old log4j libraries and includes newer versions that are not tagged with a security vulnerability. Issue-ID: CPS-820 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I4b5a950b7f9abafa3a3fe56200ad577ed01d9934
2021-12-15Adding unit tests and robuestness for DMI registrationJosephKeenan2-17/+22
-Added more scenarios for combinations of plugins -Made plugin registration more robust Issue-ID: CPS-736 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: I7495eb802fec8708e7ea6b0a97a9d7fe4676c8c1
2021-12-14Merge "Changing putOperationWithJson to postOperationWithJson"Toine Siebelink13-112/+191
2021-12-14Changing putOperationWithJson to postOperationWithJsonJosephKeenan13-112/+191
-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