summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-09-23Release cps3.1.1jenkins-releng17-17/+17
2022-09-23Prepare for next CPS Core releasempriyank18-18/+18
- Bumping the CPS Core version from 3.1.0 to 3.1.1 Issue-ID: CPS-1295 Change-Id: I6bdff6dd3b266a24c3e89ba811be6bc64beb6e54 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-22Merge "Create dmi-plugin performance stub"Sourabh Sourabh5-0/+125
2022-09-22Update container image for CPSmpriyank1-3/+3
- Re release latest container image for cps containing bug fixes and property file updates - Step 6 of the release process Issue-ID: CPS-1293 Change-Id: Id5b03aca0cc771ed6907e926630429d3d57ad25d Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-22Update maven artifactsmpriyank1-1/+1
- Re release latest artifacts accomodating bug fixes and property file updates. - Step 5 of the release process Issue-ID: CPS-1293 Change-Id: I64e5b378f14a6a2d3a1ebe077c5d1771f5f06643 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-22Merge "Update Release Notes for Kohn"Toine Siebelink3-27/+80
2022-09-22Update Release Notes for Kohnlukegleeson3-27/+80
Added Jira tickets completed Updated Log Example in admin guide Updated timer property names for ncmp in deployment guide Issue-ID: CPS-1251 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I20933d7d113bfa57937ec7f13ba3eb0ab6bc675a
2022-09-22Merge "Robustness cleaning of in progress cache"Toine Siebelink9-49/+103
2022-09-22Merge "Updated release notes with limitation related to cps path"Toine Siebelink2-0/+11
2022-09-22Updated release notes with limitation related to cps pathputhuparambil.aditya2-0/+11
Issue-ID: CPS-1179 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I9fa7799e5a54b82b280606a14d09ce2256b844f2
2022-09-21Robustness cleaning of in progress cachesourabh_sourabh9-49/+103
- Removed cm handle entry from in progress map while moving from locked to advised and de-registration - Fixed groovy tests Issue-ID: CPS-1239 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: Ic527c7b5d209e0c7788888942e95ce0c2c59f7c6
2022-09-21Merge "Add NCMP tag in properties"Toine Siebelink7-37/+38
2022-09-20Create dmi-plugin performance stubkissand5-0/+125
Issue-ID: CPS-1270 Change-Id: I0252a693a5209434fa2a2ada83d404ee658b5a48 Signed-off-by: kissand <andras.zoltan.kiss@est.tech>
2022-09-20Merge "Updated README to correct local deployment details"Sourabh Sourabh1-2/+5
2022-09-20Add NCMP tag in propertiesmpriyank7-37/+38
- Added back NCMP tag back as part of the comment in patch https://gerrit.onap.org/r/c/cps/+/129274 - Added parallelism level under ncmp as well. - Correcting env variable in the docker compose file for local run as well as the CSITs. Issue-ID: CPS-1279 Change-Id: I1f2993ac66f47ee2e5e7db0c4a6aac113a714d2a Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-20Merge "Xpath to NodeId invalid"aditya puthuparambil2-5/+19
2022-09-19Updated README to correct local deployment detailsrajesh.kumar1-2/+5
Issue-ID: CPS-1263 Change-ID: I73f97f986a817d423f93a8d922dcd9647b0908aa Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
2022-09-19Merge "Get Node API fix for attribute values with '/'"Sourabh Sourabh3-19/+24
2022-09-14Merge "Update INFO.yaml"Toine Siebelink1-5/+0
2022-09-14Get Node API fix for attribute values with '/'puthuparambil.aditya3-19/+24
Issue-ID: CPS-1179 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Iae53dbd2c6b421633355958aee3f2bbe321501a2
2022-09-14Merge "Add docker stage yaml for 3.1.0 version"Toine Siebelink1-0/+8
2022-09-14Update INFO.yamllukegleeson1-5/+0
Removed Renu as committer Issue-ID: CPS-1252 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Idd6f93630409e2aafb513f22ddb54af8b33144e3
2022-09-14Add docker stage yaml for 3.1.0 versionmpriyank1-0/+8
- Step 6 from https://wiki.onap.org/display/DW/CPS+Release+Process - Change for CPS Core Only - Took containers.version from log https://jenkins.onap.org/job/cps-maven-docker-stage-master/690/consoleFull - Took ref from the latest commited change in CPS Repo https://gerrit.onap.org/r/c/cps/+/130923 Issue-ID: CPS-1278 Change-Id: I9d77c306da9649bf898a9ac405fcae56b1762da9 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-14Add maven stage yaml for 3.1.0 versionmpriyank1-0/+4
- Step 5 from https://wiki.onap.org/display/DW/CPS+Release+Process - Change for CPS Core Only Issue-ID: CPS-1277 Change-Id: I8819f6a73ab84f6e4794181920a903d36e107479 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-14Database tuning for cpssourabh_sourabh1-1/+1
- Reverted leakDetectionThreshold to its previous working value Issue-ID: CPS-1126 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: Ia43f164d2e24874ca09d3faad918020828661bef
2022-09-13handle partial failure on batch state updatempriyank3-19/+54
- catching of failures on retry of individual nodes on batch update - test scenarios for the same Issue-ID: CPS-1232 Issue-ID: CPS-1126 Change-Id: I9dc13e7bbe44673f8ac14fbde08a85d6a5142487 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-13CmHandle registration/module sync watchdog performance improvmentsourabh_sourabh6-33/+37
- Tuned CPS DB parameters - Removed deprecated CPS DB parameter - Modified module sync watch logic - Added aditional logs - Removed logic to get FragmentEntities as stream - Removed detaching of fragment entity as it was causing NCMP to break with an exception "SQLSTATE(08006)" Issue-ID: CPS-1126 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I0bde11895f754602dece132efde701d82b377f12
2022-09-13Handle partial failure (improvements)ToineSiebelink10-54/+122
- catching of failures on retry of individual nodes - extract cm handle id from xpaths (can only report xpaths in cps core) - add test for same Issue-ID: CPS-1232 Issue-ID: CPS-1126 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ice2032c8b15fea97ae0aaa4d1ed642b3499228fa
2022-09-13Merge "Handle partial failure"Toine Siebelink9-48/+153
2022-09-12Handle partial failurempriyank9-48/+153
- Removing the transaction boundaries as it was getting rollbacked on partial failures - Handled adding the elements in batch and if it fails try them individually - Refactored code a bit and when there is partial failure we try one more time in sequence and even if there are failures we collect the failures Issue-ID: CPS-1232 Issue-ID: CPS-1126 Change-Id: I7824c9f37f80cbaeedd5dc06d598ca0e3a69c59b Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-07Update doc and release notes after endpoint mergebmiklos4-833/+861
- Update generated swagger files according to changes - Add release notes for the parent ticket Issue-ID: CPS-1001 Issue-ID: CPS-1256 Change-Id: I09aaec26971ae89f4588bfc80d2b80cc4778dfc8 Signed-off-by: bmiklos <miklos.baranyak@est.tech>
2022-09-07Handle invalid operations on merged datastore endpointbmiklos8-39/+152
- Move the other endpoints under the same thats handling the get - Add exceptions to handle invalid cases - Add new tests for testing the invalid cases Issue-ID: CPS-1001 Issue-ID: CPS-1219 Change-Id: I26fd57b5921f976cde7089b4cf1e8c0e5d8dc43b Signed-off-by: bmiklos <miklos.baranyak@est.tech>
2022-09-06Merge "Code to Interface : InventoryPersistence"Toine Siebelink3-129/+210
2022-09-06Minor code change from POC ||sourabh_sourabh1-0/+3
-Explicitly use YangModelCmHandle#id to computing equals and hashcode Issue-ID: CPS-1126 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: Ib5332843c71522a85640f225298b680d4cd29557
2022-09-06Xpath to NodeId invalidGandhapu, Yashwanth2-5/+19
Issue-ID: CPS-1244 Signed-off-by: Gandhapu, Yashwanth <gandhapu.yashwanth@wipro.com> Change-Id: Ib091de1247cb0bb48d3157bf2c5becfc9189b773
2022-09-05Code to Interface : InventoryPersistencempriyank3-129/+210
- Extracted interface for InventoryPersistence using automatic extraction of IDE. - We call the InventoryPersistence to InventoryPersistenceImpl - Used the correct type in the test Issue-ID: CPS-1241 Change-Id: Ieceaec69c1063d7762abc7d8e389d36011a93860 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-05Performance Improvement: Fix Insert Yang Resource IDs (Schemset)ToineSiebelink8-32/+48
- Add robustness to handle insertion/get of empty collection - Fix business logic to pass down ALL module references during module Sync - Update Java doc etc to clarify ALL module references are needed (not just new) Issue-ID: CPS-1246 Issue-ID: CPS-1126 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ic8ff4bdfef646e98ef61a6732c6d5ecb4b762e29
2022-09-05Merge "Update documentation for NCMP inventory openAPI"Toine Siebelink4-891/+1385
2022-09-02Update documentation for NCMP inventory openAPIemaclee4-891/+1385
- added JIRA (CPS-1136) to release notes - updated RTD copies of open api documentation for both cps-rest and cps-ncmp-rest - files were updated by copying the generated sources as outlined on https://wiki.onap.org/display/DW/CPS+Release+Process Issue-ID: CPS-1136 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I929e0e774d8a42ad943eaf8a6ccf4e8891da4b77
2022-09-02Logging: get resource idsmpriyank2-7/+12
- Added logging while fetching resource ids using Module references. - Minor refactoring related to stream and forEach - Fixed minor sonar violations Issue-ID: CPS-1246 Change-Id: I631d7acd3f29e6bdc2995726e17f40bd7de118b1 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-02Performance Improvement: Use save batches of cmhandlessourabh_sourabh6-57/+81
-Used cm handle batch to persist from state handler. Issue-ID: CPS-1230 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I68b7fde7dc85818b818f1af588344c26b549d87b
2022-09-02Merge "Implement merging all ncmp datastore endpoints into one"Toine Siebelink23-406/+884
2022-09-02Merge "Code to Interface: CmHandleQueries"Joseph Keenan5-132/+183
2022-09-02Code to Interface: CmHandleQueriesmpriyank5-132/+183
- Extracting the interface CmHandleQueries using IDE intelligence - Used intreface when mocking in the tests Issue-ID: CPS-1240 Change-Id: I5f537eaac992c68b65468e344830a04f1dda7e45 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-01Merge "Adding config for RTD"Toine Siebelink5-91/+146
2022-09-01Implement merging all ncmp datastore endpoints into onebmiklos23-406/+884
- Merging all endpoints under /v1/ch/{cm-handle}/data/ds/ncmp-datastore:* to /v1/ch/{cm-handle}/data/ds/{ncmp-datastore-name} - Implementing missing tests from parent - Introducing abstract class to keep the common code and just pass in the supplier to be executed in sync or async manner - Removed the existing get endpoints for passthrough-running, passthrough-operational and operational and merged them into a common get endpoint Issue-ID: CPS-1178 Issue-ID: CPS-1001 Change-Id: I6956c81d5acfa8fb11217bcc16cb795b62070fa3 Signed-off-by: bmiklos <miklos.baranyak@est.tech>
2022-09-01Merge "Get all cm handles by DMI plugin Identifier"Sourabh Sourabh12-13/+209
2022-09-01Adding config for RTDJosephKeenan5-91/+146
-added config to files related to https://gerrit.onap.org/r/c/cps/+/130246/29 Issue-ID: CPS-1237 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: Ia2fe7d2ecf3bb33608139c5fbf1328dc211f5629
2022-09-01Merge "Performance Improvement: Enhance state handler"Sourabh Sourabh8-45/+273
2022-09-01Performance Improvement: Enhance state handlermpriyank8-45/+273
- Introduced batch handling capability to state handler - Refactored methods in CompositeStateUtils - Renamed saveCmHandleStates to saveCmHandleStateBatch - Decoupled processing of events in bulk - Test scenarios for the new functionality Issue-ID: CPS-1231 Issue-ID: CPS-1126 Change-Id: Ifacdeb7bbed14712ecf4f5e2a4d9b324bae278d8 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>