summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-11-14CPS Delta API 1: Delta between 2 anchorsArpit Singh19-5/+878
- CPS Delta Feature Part 1: To find delta between two anchors - created new endpoint deltaByDataspaceAndAnchors - endpoint to take dataspaceName, source anchor, target anchor, xpath, descendants as input - added new service CpsDeltaService - added method to find delta between DataNodes: getDeltaReport - added method to find removed data nodes: getRemovedDeltaReports - added method to get Added DataNodes: getAddedDeltaReports - added method to get Map of xpath to DataNode: convertToXPathToDataNodesMap - added a POJO for delta report - Added new JSON data for delta feature testing - Added groovy test files CpsDeltaServiceImplSpec and DeltaReportBuilderSpec - code related to update operation, will be added in separate commit Issue-ID: CPS-1824 Signed-off-by: Arpit Singh <as00745003@techmahindra.com> Change-Id: I313f0f71d04b03878be7643f709d8af1aa6df6ba
2023-11-14Merge "Adjust performance test timings"Toine Siebelink10-70/+63
2023-11-14Merge "Fix PASS/FAIL reporting in performance test summary"Lee Anjella Macabuhay1-1/+1
2023-11-14Merge "Add DMI trustlevel at registration"Lee Anjella Macabuhay3-6/+24
2023-11-13Adjust performance test timingsdanielhanrahan11-71/+64
New limits for time and memory are based on analyzing 40 previous performance job runs. Test limits are chosen so that individual test cases would pass 95% of the the time. Issue-ID: CPS-1884 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iadca27eb1f9482016759070e5afdc70c53f9d043
2023-11-13Fix PASS/FAIL reporting in performance test summarydanielhanrahan1-1/+1
Performance test summary says PASS even if the memory limit is exceeded. It currently only looks at time. Issue-ID: CPS-1753 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I6b9d5ae8e8f560459ba77cdb8fe8b889d0dc7a8a
2023-11-13Add DMI trustlevel at registrationseanbeirne3-6/+24
-Re-introduce trustLevelPerDmiPlugin to registration process Issue-ID: CPS-1902 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: Ic3f154aca60c3e1244ff4fd9a4c4865964884b31
2023-11-10Update Architecture rule to add cache packagedanielhanrahan2-2/+5
- Modify test to allow org.onap.cps.cache package to access CPS classes - Update archunit to avoid exceptions during build related to Java 17 Issue-ID: CPS-1958 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: If74dd897b8e41b83e41ea2a35e087ee56beb3088
2023-11-09Bump CPS to 3.4.1-SNAPSHOTmpriyank25-25/+48
- bumped CPS to 3.4.1-SNAPSHOT - updated the release notes Issue-ID: CPS-1962 Change-Id: Iee9fa03a1890ac5d4c1204d0851a255c5b897720 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-09Add container yaml for CPSmpriyank1-0/+8
- added container yaml to release the docker images for CPS 3.4.0 Issue-ID: CPS-1962 Change-Id: I811c755fd508cd97e298b9b03a21f89b7ec05843 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-09Add maven stage yaml for CPSmpriyank1-0/+4
- maven stage yaml to release 3.4.0 CPS Issue-ID: CPS-1962 Change-Id: I112a351d2e72af06e42cd4c1dafa2169220de523 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-09Release notes updatempriyank1-10/+12
- Added section for new delhi release now for the latest code Issue-ID: CPS-1962 Change-Id: I43ebad1095831490ce6722dd535da31cfad24516 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-09Merge "Remove CPS-Temporal from RTD"Lee Anjella Macabuhay10-41/+6
2023-11-09Remove CPS-Temporal from RTDToineSiebelink10-41/+6
- Remove CPS-Temporal references - Removed never implemented interface such as AA&I - Updated diagrams accordingly - moved all images to _static folder - restored -W flag for tox and link-check section so errors will lead to build failures! Issue-ID:CPS-1927 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ib291b0904472dd32b5458dec3c78391cd1c018d9
2023-11-08Merge "CPS-NCMP: No yang resources stored during cmhandle discovery however ↵Toine Siebelink1-1/+3
cmhandles are in READY state"
2023-11-08Merge "Use Seconds as time unit for all performance tests"Lee Anjella Macabuhay12-125/+116
2023-11-08Use Seconds as time unit for all performance testsseanbeirne12-125/+116
-updated recordAndAssertResourceUsage Issue-ID: CPS-1941 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I62f42c7ab396e555d54a7280ebc7da8804045667
2023-11-08CPS-NCMP: No yang resources stored during cmhandle discovery however ↵sourabh_sourabh1-1/+3
cmhandles are in READY state - Applied blank check on modulesettag while pushing module list into cache. Issue-ID: CPS-1956 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: Ia0d0b531a9750ef2ea011d6fc13e4d1b4c99fb64
2023-11-08Fix Code Smellsseanbeirne1-3/+2
Issue-ID: CPS-1957 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I901fd568752dbb42d95fa330f8d6d7dd0128b95f
2023-11-07Bump cps to 3.4.0-SNAPSHOTsourabh_sourabh24-25/+25
- bump cps to 3.4.0-SNAPSHOT and update the docs Issue-ID: CPS-1936 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I6a99662c72b236e49abcd79201156bf0a9572de7
2023-11-06Bump cps to 3.3.10-SNAPSHOTmpriyank25-25/+52
- bump cps to 3.3.10-SNAPSHOT and update the docs Issue-ID: CPS-1954 Change-Id: Id62f59d4b3c42ea6f791fad85f0700089e3125b9 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-06Add container yaml for cpsmpriyank1-0/+8
- container yaml for cps 3.3.9 Issue-ID: CPS-1952 Change-Id: I68f85c6881d9c1f9c91e6b54db6d80c1d030a8d4 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-06Adding maven stage yaml for releasempriyank1-0/+4
- Adding maven stage yaml file for releasing 3.3.9 version of CPS Issue-ID: CPS-1952 Change-Id: If106d29aa730f222f8d4ce288a2f31032be5bd27 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-06Step 1 and 2 of release processmpriyank3-2/+14
- Sync the openapi docs and the release notes - Also commenting a test scenario coz of unrelated failure. will be fixed later Issue-ID: CPS-1949 Change-Id: I27c955e569acdfe1f699f345fa583f7bce95e76a Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-06[BUG] CPS NCMP management endpoints updatempriyank9-23/+17
- CPS and NCMP management endpoint updated from /manage to /actuator now - The management port is same as application port now - CSIT test cases update - Update in Security params to allow the changed URL. - Admin guid update - Release notes updated - Local docker-compose and prometheus updated Issue-ID: CPS-1923 Change-Id: I013d35fd96d393dec8cf067bbeae0f92b6b8d8db Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-03[BUG] Set Hazelcast class loaderdanielhanrahan1-0/+1
ClassNotFoundException is being thrown during CM-handle registration when running the cps-application JAR. This fixes the issue by using the class loader for the CPS classes. Issue-ID: CPS-1933 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I02e2d19d9f668f0c4af36e9061e68f9b9ddb9434
2023-11-03Merge "Handling Yang module upgrade error scenarios"Priyank Maheshwari7-51/+108
2023-11-02Merge "Add trust level notification schema"Toine Siebelink1-0/+56
2023-11-02Handling Yang module upgrade error scenariossourabh_sourabh7-51/+108
- cm handle not ready, not found , invalid id Issue-ID: CPS-1802 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I2039faa44abbda17237e7c2dc085b4ac775c2039 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2023-11-02Add trust level notification schemaJvD_Ericsson1-0/+56
Issue-ID: CPS-1910 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: If7265e0020b2ba247aaf64c9c0820e3cfdb23583
2023-11-02Initial Registration with trustLevel on NCMPseanbeirne6-24/+57
- Updated NcmpServiceCmHandle class to include registration trustLevel Issue-ID: CPS-1902 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I7c97928f5cdd82f3036a57ea5f0c149e2872f4f1
2023-10-27Merge "[BUG] CPS NCMP Change extension in health check URL"Sourabh Sourabh1-2/+3
2023-10-26Merge "Update return body of RestOutputCMHandle"Toine Siebelink3-95/+120
2023-10-26[BUG] CPS NCMP Change extension in health check URLhalil.cakal1-2/+3
- Align URL extension to default actuator URL Issue-ID: CPS-1922 Change-Id: Ifaa1eb32f3c6be5c48a63c4e360c27353d0e5e0f Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-10-25Update return body of RestOutputCMHandleemaclee3-95/+120
Issue-ID: CPS-1869 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I946db9e6785fc50775d1c5ff18e7462e8bad9af6
2023-10-23Introduce and use new Hazelcast map pt. 2sourabh_sourabh21-134/+263
- modified ModuleSyncService - created ModuleSetTagCacheConfig and tests - ensure both Create and Upgrade cm Handle use cases work - Moved inventory pkg to its right patha as production code. Issue-ID: CPS-1859 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: I173dcd81fe2e74d86d85365b2ead461302cad974 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2023-10-19Code coverage: Update YANG schema set using moduleSetTagsourabh_sourabh7-27/+122
- Code coverage is increased to 98. - New groovy test is added to cover new code. Issue-ID: CPS-1798 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: Ia979be3f43ec8e4bbf6f8cb66a8a5e748118f19b Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2023-10-18Merging of Subscription schemasmpriyank4-13/+119
- Added new schema from DMI Plugin to NCMP - Added new schema from NCMP to the clients - Renamed existing schemas as per the conventions - Removed the merge keyword from the schemas and naming. Still the package will have merge keyword which will eventually be removed when we remove the old code Issue-ID: CPS-1905 Issue-ID: CPS-1906 Change-Id: I1f8c35e7f6baa25346d9527d58e20bba7f0dddeb Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-10-18Fix Sonar code smellsemaclee2-14/+11
- Update deprecated methods in webSecurityCOnfig - Remove 'deprecated' tag on methods that are to be removed in EventsPublisher as they are still being used, methods with deprecated tag (for removal) must not be used Issue-ID: CPS-89 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I104d4b3e362d22bb7fc020580de6cb4f390e54c9
2023-10-17Merge "[BUG] Fix for Swagger UI generation"Toine Siebelink6-7/+45
2023-10-17Merge "Add memory usage to integration tests [UPDATED]"Toine Siebelink12-201/+273
2023-10-17[BUG] Fix for Swagger UI generationegernug6-7/+45
Issue-ID: CPS-1913 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: Ib8a1b5fddc9957bd371fbb4dc54d018b25af3679
2023-10-16Merge "Clean up Dependencies"Toine Siebelink6-181/+183
2023-10-16Merge "Adding NCMP Stubs documentation"Toine Siebelink5-18/+247
2023-10-16Merge "Add NCMP Stub documentation to RTD"Toine Siebelink9-15/+137
2023-10-16Merge "Add withTrustLevel condition to CmHandle Query API"Toine Siebelink22-146/+317
2023-10-16Adding NCMP Stubs documentationwaqas.ikram5-18/+247
Issue-ID: CPS-1858 Change-Id: I90017d9d9c6e937292e9de45c0e8228357414e16 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2023-10-16Add NCMP Stub documentation to RTDToineSiebelink9-15/+137
-add new pages fot Stubs -fixed spleeting erros -added file with accepatbel cps terms for spell check Issue-ID: CPS-1858 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I71fdeb29b015067d208e404bed8ac53b03810c00
2023-10-16Clean up Dependenciesegernug6-181/+183
Clean up of dependencies into logical orders and compile/test statuses Issue-ID: CPS-1873 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: I90ad49b7f1362e8f5b7006b85013c0bdf1b4d4ef
2023-10-13Merge "Update Subscription Event Schemas for merge"Priyank Maheshwari2-0/+168