summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-12-20Release cps3.4.1jenkins-releng23-23/+23
2023-12-20Release notes and OpenAPI docs updated for 3.4.1danielhanrahan6-0/+153
- Update release notes - Update OpenAPI docs - Made RST files not executable Issue-ID: CPS-2017 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I85bd7cb68d960c9522b80048007cfe913cd49ed4
2023-12-20Documenting optional properties for the HTTP clientwaqas.ikram2-119/+132
Issue-ID: CPS-2016 Change-Id: Iae3d612548032dfbb4a7d4325eb3fbed4f20ab78 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2023-12-20Updating config variable names for HttpClientwaqas.ikram4-13/+18
for DMI Issue-ID: CPS-2016 Change-Id: Ief5428e6e4afc8309ceed2a8221365e2fab31686 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2023-12-19Deprecate use of basic subscription modelemaclee2-3/+79
- Checked all subscription related files and Removed use of basic subscription model as much as possible that will not break the entire code, other files still has references on it but will and shall be removed on further implementation of the subscription epic story - Created new YangModel Event (YangModelCmDataSubscriptionEvent.java)for the new model as changing the old one affects many files Issue-ID: CPS-1973 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I7d3866780261110d3bb71c4807f39edc2703d0dc
2023-12-19Improve naming of csit testJvD_Ericsson1-1/+1
Issue-ID: CPS-2002 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I7e6bfdad866fbf0dad442209f78e738bb056c5dc
2023-12-19Merge "Move mount node after cps test during CSITs"Toine Siebelink6-111/+161
2023-12-18Remove the dependency-cycle between beansToineSiebelink39-383/+552
- Splitting admin service into AnchorService and DataspaceService (this resolves the cyclic dependency) - Improved Delete dataspace integration error tests (were depending on execution order, now independent) Issue-ID: CPS-871 Change-Id: I47efedb6eb4bd2900f72d689616b7b7b62df2938 Signed-off-by: halil.cakal <halil.cakal@est.tech> Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2023-12-18Merge "Remove Notification code for updated events"Toine Siebelink24-1168/+53
2023-12-18Remove Notification code for updated eventsmpriyank24-1168/+53
- removed existing code for sending notifications to topic cps.dataupdated events formerly used by cps-temporal - corresponding testware removed or updated - unnecessary to fetch anchor details for delete and replace operation removed which might gain minor performance boost - yaml configurations , documentation removal and update - Added missing test for AsyncConfig to comply with coverage check Issue-ID: CPS-2005 Change-Id: I1848f7f229cb713fe8c0302ea50328e7451652ee Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-12-18Enhancing the REST template with HttpClient5waqas.ikram6-14/+163
for better performance and allowing users to configure timeouts as per their requirements Issue-ID: CPS-1994 Change-Id: I9fa94fb3923a50e33b3850ec0f190a51e278698f Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2023-12-18Merge "Update Model to allow Persisting of alternateId"Toine Siebelink5-10/+36
2023-12-15Move mount node after cps test during CSITsJvD_Ericsson6-111/+161
* Split test plans into cps and ncmp * Check sdnc moved to after cps tests * Moved mounting of node to after cps tests Issue-ID: CPS-2001 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I5a36238d8ee6c91087cd2712c69e169257d48faa
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