aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-11-10Remove NotNull on revision for YangResourceEntityjakartalukegleeson1-1/+0
Issue-ID: CPS-1265 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Icfe4d9881a3aa7d92d5bd17eaaed91bdbce0a203 (cherry picked from commit 8c6b5627652a4f3b4926b8c425e4c1036ac1e570)
2022-11-09Bump DMI Version for CSIT Testslukegleeson3-20/+30
Bumped DMI Version for CSIT tests to 1.1.0 Jakarta Release Added two Docker Repos with different ports - 10002 is port for released images - 10003 is the port for snapshot images Added DMI to docker compose for cps-ncmp and postgres which is using the 3.7 docker version tag The lack of version tag in the docker compose for DMI is another issue which was causing it to fail. Issue-ID: CPS-1355 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I27e3bd6f226a221a973e55cb73bb81fee310e11c
2022-11-09Temporary Fix For CSIT Testlukegleeson1-4/+4
Issue-ID: RELENG-4523 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Ifecb0e542b3b8e0a519f59070649ebb94fefdc1e
2022-04-28[CPS] Bumping version to 3.0.2-SNAPSHOTputhuparambil.aditya15-15/+15
Issue-ID: CPS-971 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I4dc5c1d4c7e8f03cb7659854350aaf33167c26b3
2022-04-28[CPS] Release new image including ANTLR version bug fixputhuparambil.aditya1-0/+8
Issue-ID: CPS-971 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I4f45922ef9b3f1a33a63b04a1b28bd6c9ce12f73
2022-04-28[CPS] Release maven artifacts including ANTLR version bug fixputhuparambil.aditya2-0/+24
Updated release notes Issue-ID: CPS-971 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I7c5ab55d4d64bb07e2703f51e2f48b140d4d3b62
2022-04-25Finalise documentation for Jakartaputhuparambil.aditya5-10/+8
Specified version of antrl4-maven-plugin Repo changed to jakarta All reference to OOM repo still points to master as Jakarta branching is not yet done for OOM. Issue-ID: CPS-976 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Iaa22f169e11547c5ef45dee791f6cee590f1c2bc
2022-04-22Fix ANTLR version issueLathish1-0/+1
- Updated ANTLR compiler version to 4.9.2 to be compatible with runtime version Issue-ID: CPS-961 Change-Id: I78a3fe541c9edcfc891fb045a60ed117d3aa5b08 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech> (cherry picked from commit 3a13b2e965569304822fe4d56838a4fee4e7ad44)
2022-03-21Create Jakarta Release BranchToineSiebelink1-2/+1
Issue-ID: CPS-952 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ie7af2dcb5f153b4199c927ed2ebe11b5afaefeab
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