summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-03-24Update SpringBoot when approved version has Log4J 2.17.1 or higherJosephKeenan2-13/+3
-Updated cps-dependencies/pom.xml SpringBoot to v2.6.4 -Updated cps-parent/pom.xml springboot maven to v2.6.4 -Updated spring cloud dependencies to 2021.0.1 Issue-ID: CPS-958 Change-Id: I37aca89edf6da83501414b4f202d3bb88464c801 Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2022-03-23Merge "Update log4j dependency version from 2.17.1 to 2.17.2"Toine Siebelink1-4/+4
2022-03-22Merge "Update docs to add info on providing additional config"Bruno Sakoto1-2/+7
2022-03-22Merge "Return Registration response for updating cmhandles"Toine Siebelink4-12/+227
2022-03-22Update docs to add info on providing additional configRenu Kumari1-2/+7
- Added information on overriding values of spring-supported properties Issue-ID: CPS-918 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I660cd9ea0c4c73d972f9c1645f5ed28308282fdc
2022-03-22Update log4j dependency version from 2.17.1 to 2.17.2emaclee1-4/+4
Issue-ID: CPS-953 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I1f97b1864128c9e1105ecef2bfa5e598eefcd5d5
2022-03-21Update versions for next releaseToineSiebelink16-18/+18
Update Minor version number (on master) for next release as part of creating Jakarta release branch Issue-ID: CPS-952 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ie96ae7ce8997774d3ea27275c73e7d0703257e5e
2022-03-21Return Registration response for updating cmhandlesRenu Kumari4-12/+227
- Added CMHandleRegistrationResponse class for registration response - Send response in the case of success and failure - Each update operation in the request is independent on previous one Issue-ID: CPS-896 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Ic6cc69da48bd2078029784cabede4f5965054c03
2022-03-16Upgrade to next snapshot versionBruno Sakoto16-16/+16
Issue-ID: CPS-933 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I5ba87c850aa932737cc62e312a825c69a3db5a02
2022-03-16Release container artifact for version 3.0.0Bruno Sakoto1-0/+8
Issue-ID: CPS-933 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I3131b12f025248250755360fd1e3221c8fc89278
2022-03-16Release maven artifacts for version 3.0.0Bruno Sakoto1-0/+4
Issue-ID: CPS-933 Change-Id: I8bede2dfd5f230e42096d54c5f6644a588c15110 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
2022-03-15Create primary documentation for Jakarta releaseBruno Sakoto8-415/+1054
* Update release notes * Update openapi documentation * Fix section title hierarchy * Fix admin container directive not found Issue-ID: CPS-935 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Iabdc357aa0168c1becafd6de1ac7703ec3bd1afa
2022-03-14Async: NCMP Rest impl. including Request ID generationsourabh_sourabh4-21/+70
- In case of invalid topic return http status 400 with error message - Unit test is modified to handle/validate InvalidTopicException Issue-ID: CPS-828 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I05645c92ccebb8aa422a47f6edcde7b64088a118
2022-03-14Merge "Replacing ModelMapper with MapStruct"Toine Siebelink21-124/+188
2022-03-11Merge "Async: NCMP Rest impl. including Request ID generation"Bruno Sakoto20-169/+537
2022-03-11Merge "Updated cmhandle registration openapi documentation"Toine Siebelink1-11/+11
2022-03-11Merge "Removed ExtendedModuleReference Object"Toine Siebelink14-115/+42
2022-03-10Updated cmhandle registration openapi documentationRenu Kumari1-11/+11
- Fixed the cmhandle registration request example Issue-ID: CPS-896 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: If4a7c820add676adb9637ce56678da3f5607bbcd
2022-03-10Replacing ModelMapper with MapStructlukegleeson21-124/+188
- Removed Model Mapper from pom files - Replaced ModelMapper with MapStruct - Added Tests for MapStruct - Changed mapstruct annotations for individual variables to be null safe rather than all variables - Excluded generated code from code coverage - Set ModuleReferences input to required for SchemaSet so that ModuleReferences list set to empty list rather than null Issue-ID: CPS-127 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I43f874aea79f58dda5526c6fdead27d8474d90af
2022-03-10Removed ExtendedModuleReference Objectsourabh_sourabh14-115/+42
-Introduced ModuleReference with 2 prop name and revision -Removed default constructor of ModuleReference Issue-ID: CPS-592 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I27a8a521f133c0773ef0aa0b9700ac42f6bc613b
2022-03-10Async: NCMP Rest impl. including Request ID generationsourabh_sourabh20-169/+537
- Based on topic api can be sync or async - RequestId is generated using UUID - Used UriComponentBuilder to populate dmi service url. - New test cases are introduced to validate service url generation. Issue-ID: CPS-828 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I2696d5cb012d9274b0c1265f16aa9b2369657f05
2022-03-08Merge "Dependency Injection using Lombok"Bruno Sakoto1-21/+10
2022-03-07Dependency Injection using Lombokmpriyank1-21/+10
- NotificationService dependency injection using Lombok and populate dataspace patterns post injection. Issue-ID: CPS-906 Change-Id: Ia7d32903b18861d22cdd4e6809d9fe746181d389 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-03-04Updating sequences in db migration scriptDylanB95EST2-1/+26
Added a dynamic set value changeset for sequence id to both changelog 05 and 10. Issue-ID: CPS-900 Change-Id: Ia3ec0b66a89b151435acfa4ebaed3886307b75ea Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2022-03-03Merge "Update dmi-registry yang to support cmHandle State"Bruno Sakoto7-12/+350
2022-03-03Merge "Bug fix for delete data node not working for root node"Renu Kumari3-32/+28
2022-03-03Bug fix for delete data node not working for root nodeputhuparambil.aditya3-32/+28
Fixing event for deletion of container node Fixing event for deletion of root node when '' is passed as xpath Issue-ID: CPS-895 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I0676aec29e7b7e12bef2300219207ddc22414daa
2022-03-03Update dmi-registry yang to support cmHandle Statelukegleeson7-12/+350
- Added dmi-registry@2022-02-10 which contains the new dmi-registry yang model to support the cmHandle State. - Added changelog 12 which removes previous dmi-registries from the db - Added changelog 13 which adds new dmi-registry - Edited yangResourceCsvGenerator.py so that it generates for each argument given and does not generate the module_name and revision for dmi-registry@2021-12-13. - Updated rollback for changeset 11.1 Issue-ID: CPS-874 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I4ab949f0bc00a52376b42a5ac8a33d397eefcedf
2022-03-02Update dependencies as recommended by SECCOMToineSiebelink1-0/+10
See also https://wiki.onap.org/display/SV/Jakarta+CPS Issue-ID: CPS-815 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I184eabd45a62a99bbb09f09b699b74a5d51939f7
2022-03-02Merge "CPS-475 - Fix SQ codesmells introduced as aprt of CPS-887"Toine Siebelink1-2/+2
2022-03-02CPS-475 - Fix SQ codesmells introduced as aprt of CPS-887JosephKeenan1-2/+2
Issue-ID: CPS-475 Change-Id: If277242bd84e6c53d1ce288ac2a3803f99740ab2 Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2022-03-02Addressed refactoring comments related to method namempriyank3-13/+17
- YangRepository method names streamlined as per JPA Issue-ID: CPS-647 Change-Id: Ifd514947944131894d849bdbf1b7ec52959b0164 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-03-01Merge "Adding missing rollback for Liquibase change logs"Toine Siebelink2-1/+27
2022-03-01Create Endpoint For Get Cm Handles By NameDylanB95EST36-522/+1425
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-03-01Adding missing rollback for Liquibase change logslukegleeson2-1/+27
Issue-ID: CPS-874 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I13a48b306761cbbe104ed5597b43de9fd3507a8f
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