summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-12-18Merge "Update Model to allow Persisting of alternateId"Toine Siebelink5-10/+36
2023-12-14Moving and Renaming eexisting subscription implemaclee36-571/+572
-renamed the existing subscription related packages to have 'deprecated' on its name as this shall be removed with new implementation of the subscription positive cases - replaced the existing schemas with the new ones Issue-ID: CPS-1991 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I8f27861b80756540477e03971c53219ea589975c
2023-12-14Update Model to allow Persisting of alternateIdleventecsanyi5-10/+36
- added new dmi model registry and modified tests Issue-ID: CPS-1989 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: I576a5a0704fe28924dcc304c276fec5665b52764
2023-12-14Merge "Modify cmHandle registration for alternateId"Toine Siebelink10-76/+30
2023-12-13Introduce Schema Set upgrade methodsourabh_sourabh16-106/+313
- Incl. integration test - Prod code is changed to use new method that update yand module. - updated module resource to return multiple modules. Issue-ID: CPS-1806 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I751d9393ce78a3be9daeaff6d0252738c02115e0 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2023-12-13Modify cmHandle registration for alternateIdleventecsanyi10-76/+30
- added alternate id to the interface for persisting the new value - updated unit tests to validate the new field Issue-ID: CPS-1985 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: I81e61f2ea2ecc5d8c0938af00fa81a99e27e2e23
2023-12-13Merge "Clean up CSIT Test"Toine Siebelink20-52/+30
2023-12-12Fix typo in DMI liveness Spring variable namedanielhanrahan1-1/+1
Issue-ID: CPS-1993 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I44457b35ae639f8dcbab26989c5d1e6e1144d076
2023-12-12Clean up CSIT TestJvD_Ericsson20-52/+30
- Removed gitignore from csit and made it top level - Removed tabs from all files - Created sub-folder for cps-core and ncmp in the data folder - Deleted csit/data/postModuleRequestBody.json, was not used - Removed setting variable for most response.json() calls Issue-Id: CPS-734 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I32fd5b4f5a0132987a4684c336846b86df7b49e7
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>