summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-12-11Uplift Guava dependencyhalil.cakal4-7/+13
- upgrade Guava to the latest version to fix critial vulnerability Issue-ID: CPS-1987 Change-Id: I6ea314407133dea229e9626fdf2d9c938f7c7e08 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-12-11Uplift Onap dmi version to 1.5.0-SNAPSHOThalil.cakal2-2/+2
Issue-ID: CPS-1987 Change-Id: I22b123a5df5ec9340c6303d7dfbaf981857f4a0c Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-12-11Merge "[BUG] Dminame to valid topic suffix"Lee Anjella Macabuhay3-2/+34
2023-12-07Merge "[Bug] LogLvl to debug DataOperationEventConsumer"Sourabh Sourabh1-1/+1
2023-12-06[BUG] Dminame to valid topic suffixmpriyank3-2/+34
- dmi name can be in the form of URL , and we are using dmi-name as topic suffix , which results in the invalid topic name. - fix to extract out domain name excluding port from the url - test case for the same - updated the documentation - fix only supports ipv4 addresses at the moment Issue-ID: CPS-1979 Change-Id: I9c6ea113afae816f727b45a30c94070af013a16d Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-12-05Merge "CSIT for trust level epic"Toine Siebelink2-0/+91
2023-12-05[Bug] LogLvl to debug DataOperationEventConsumermpriyank1-1/+1
- changed the log level to debug from info Issue-ID: CPS-1990 Change-Id: I5563aaa4f95e7cd5a6df7fd9304cb0dcb0545ca3 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-12-05Merge "Added docs for hz healthchecks"Lee Anjella Macabuhay1-0/+1
2023-12-05Merge "Fix dependency vulnerabilities"Toine Siebelink1-5/+5
2023-12-04CSIT for trust level epicJvD_Ericsson2-0/+91
Issue-ID: CPS-1976 Change-Id: I00cef4bc4fef0744616de8a0fb9ad153842d4452 Signed-off-by: halil.cakal <halil.cakal@est.tech> Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2023-12-04Fix dependency vulnerabilitiesegernug1-5/+5
Issue-ID: CPS-1984 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: I41a567e334996afcf56884c6cab79075c285cc28
2023-12-04Add documentation for the epic: Trust Levelhalil.cakal1-1/+29
- Request body enriched with the new condition name - Trust level section added and explained Issue-ID: CPS-1982 Change-Id: Iddeeae4101169fff0e5de8865f9a627e152ab472 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-12-04Merge "Fix the algorithm for device trust level"Toine Siebelink6-70/+150
2023-12-01Added docs for hz healthchecksmpriyank1-0/+1
- cluster state and health checks are now been exposed to be leveraged Issue-ID: CPS-1980 Change-Id: Ibe0fdd0ca2d7b8397dc2c3449f395d5f4bbc0cba Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-30Merge "Add metrics for NCMP passthrough read operation"Toine Siebelink2-3/+6
2023-11-29Add metrics for NCMP passthrough read operationdanielhanrahan2-3/+6
Issue-ID: CPS-1968 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I9ef5af3e6333674cd5af5e9ca055c8748a63be17
2023-11-29Fix the algorithm for device trust levelhalil.cakal6-70/+150
- Add new method to handle device trust level changes in trust level manager - Change algorithm to find effective trust level for each use case - Separate responsibilities of each function - Change device heartbeat consumer accordingly Issue-ID: CPS-1910 Change-Id: I228f82955b224dc4ebfd1b305082e06aac6008d2 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-11-29Maven stage yaml for montrealmpriyank1-0/+4
Issue-ID: CPS-1981 Change-Id: I8d48cec3d7d5637b46d5b1f65baa23628af4ff09 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-29Merge "Expose hazelcast cluster info"Toine Siebelink4-0/+37
2023-11-29Merge "Publish trust level notification event"Toine Siebelink19-127/+454
2023-11-28Publish trust level notification eventJvD_Ericsson19-127/+454
- Add mapper that maps attribute value change event to cloud event - Add publisher that publish the cloud event from ncmp to client - Handle notifications for the uses cases below - Initial registration case - Device heart beat consumer case - Dmi status changes within dmi watchdog case - Added tests for mapper, publisher, and trustLevelManager - Added test for dmi watchdog Issue-ID: CPS-1910 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I7c0798346a221e703da58902b9d631115de8d91a Signed-off-by: halil.cakal <halil.cakal@est.tech> Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2023-11-28Merge "Udpate release notes about end of CPS-Temporal"Sourabh Sourabh1-0/+5
2023-11-27Expose hazelcast cluster infompriyank4-0/+37
- exposing hazelcast cluster and health related rest endpoints to be used in the testware - added test to support it - also added RTD docs Issue-ID: CPS-1980 Change-Id: I926013bee05603a43050b861f677885a2511fffc Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-27Udpate release notes about end of CPS-TemporalToineSiebelink1-0/+5
Issue-ID: CPS-1927 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I23bcd7f91f20dd574d23bd22cc9cb3c1ac241963
2023-11-27Return permit-uri from root to securtyegernug2-2/+3
In Springboot 3.0 an error was observed with security.permit-uri throwing a PatternParseException. This appears to be fixed in 3.1.2 Issue-ID: CPS-1875 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: I8dd4f66868a5cc4db636d77f123ad5dbbd61f4b4
2023-11-24Fix @Ignore testleventecsanyi2-93/+1
- removed EventPublisherSpec - fixed toDataStores test Issue-ID: CPS-1874 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: I857c7bcb0aa52604da6692545456769a4ec151ec
2023-11-23Retry for yang module upgrade operationsourabh_sourabh11-106/+172
- Added retry code for yang module upgrade failed Issue-ID: CPS-1802 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: Ida68d45f926ed48b92f4b5a3b82e641d778303ce Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2023-11-23Merge "Onboard merge subscriptions model"Priyank Maheshwari7-31/+95
2023-11-22Make performance tests measure PEAK memory usagedanielhanrahan2-5/+115
Presently, performance tests measure CURRENT memory usage instead of PEAK memory usage, leading to under-reporting if garbage collector runs during a test. This patch fixes it, so that memory reported will now be at least the memory of live objects at that time. - Add tests for ResourceMeter class - ResourceMeter measures peak memory usage instead of current Issue-ID: CPS-1967 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I36e9ea2196420b84877ecabc1b7331c5d3e2e252
2023-11-21Onboard merge subscriptions modelemaclee7-31/+95
-Add new model in subscription -Update unit tests for uploading models using modelLoader -Modify abstract model loaders to handle more than one yangResource in creating schema set -Modifying use of the basic subscription model to the new model will be on a seperate commit Issue-ID: CPS-1928 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I5805ab8c721e8a63726fd210379e815b84b387a3
2023-11-17Merge "Trust level updates with dmi status change"Toine Siebelink12-273/+210
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-14Trust level updates with dmi status changehalil.cakal12-273/+210
- Change dmi watchdog to store Trustlevel for each DMI - Corrected query algorithm for TrustLevel Queries Issue-ID: CPS-1907 Change-Id: I7ca25db8edfd25b72bcda48e4fde1d9be5c56dc0 Signed-off-by: halil.cakal <halil.cakal@est.tech>
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