aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-06-05XML content support on update node leavesRudrangi Anupriya17-53/+90
Issue-ID: CPS-2071 Change-Id: Ibe7f59fbfcbb03703626132c6d5c2afde0e7ab4b Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
2024-06-05Merge "CM SUBSCRIPTION: Add delete use case #2 (DMI-NCMP)"Priyank Maheshwari5-50/+128
2024-06-05Merge "Added OpenTelemetry to CPS"Toine Siebelink9-5/+295
2024-06-04Merge "CM SUBSCRIPTION: Add delete use case #1 (Client-NCMP)"Priyank Maheshwari5-28/+114
2024-05-31Added OpenTelemetry to CPSdavid.mcweeney9-5/+295
Change-Id: I192fa53e293ea43cdff92ebd44d0382eb290bb76 Signed-off-by: david.mcweeney <david.mcweeney@est.tech> Issue-ID: CPS-2172
2024-05-31CM SUBSCRIPTION: Add delete use case #2 (DMI-NCMP)emaclee5-50/+128
Issue-ID: CPS-2241 Change-Id: I218c46e9c16cc78025450494f5019bde1f351a40 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2024-05-31CM SUBSCRIPTION: Add delete use case #1 (Client-NCMP)emaclee5-28/+114
Issue-ID: CPS-2241 Change-Id: Idd074ff4d29cf11f45f1c69200788b2f39b49e74 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2024-05-31CM SUBSCRIPTION: Update schemasmpriyank7-24/+24
- updated the cm subscription schemas with proper case as agreed before for the events - fixed the tests to reflect the camelCase change Issue-ID: CPS-2245 Change-Id: I64fb8b27a5f64280dfa19d86ae310e6b5309de39 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-05-29Simplify Code around building DMI URLsToineSiebelink14-392/+417
- Bug analysis showed some unclear and complicated code for building URLs - This patch is to clean up the related code and show more clearly what is encoded and what is not - Use SPringBoot provided builder to apply correct encoding of all URI parts - DmiOperations base class no longer need as no common code model and data operations anymore - Converted builder to POJO (client needs to provide the only dmi properties upon build) - Added some missing test (in affected code) to increase coverage percntage (as the production code has significantly reduced in size the overal coverage was inadvertently reduced below the treshold) - Added more unit test. Now impl.operations' package has 100% - removed the test fro Dmi Exception that was incorrectly callign the handleException methdod directly instead of mocking an exception it was really a dupclicate of a test I added but I was able to re-use the event checkign in my test Issue-ID: CPS-2246 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I1ff196cd03bbb95f5877ee590c321febeb672800
2024-05-29Merge "CPS-2187 - Move Module Set Tag into request body for dmi data access ↵Sourabh Sourabh6-38/+30
passthrough calls"
2024-05-29CPS-2187 - Move Module Set Tag into request body for dmi data access ↵david.mcweeney6-38/+30
passthrough calls Change-Id: I9c807d2ef5b3712bf3f8ee5db7663d9628eef3bb Signed-off-by: david.mcweeney <david.mcweeney@est.tech> Issue-ID: CPS-2187
2024-05-28Adjust K6 thresholdsdanielhanrahan11-28/+28
- Adjust timings based on previous runs. - Reduce from 5 to 4 parallel clients for CM handle searches to avoid OutOfMemoryErrors. Issue-ID: CPS-2208 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I339cc3df84b2295bb11371ab73b4948f43615c15
2024-05-28Restructure(package) DataJobs feature in NCMP Serviceleventecsanyi16-92/+161
- restructured already existing classes - added testware for AlternateIdMatcher Issue-ID: CPS 2240 Change-Id: I5691ed99627353903689cd2929163f77ed8c4eca Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2024-05-28Merge "CmDataSubscription status code update"Lee Anjella Macabuhay4-18/+24
2024-05-28Merge "Print summary report for K6 tests"Daniel Hanrahan15-80/+183
2024-05-27Print summary report for K6 testshalil.cakal15-80/+183
- add a generic template to print summary of k6 test results - remove container logs since its around 50 mb Issue-ID: CPS-2215 Change-Id: I8971fc30b9dc8be2ed16eda6755d17a91f608b48 Signed-off-by: halil.cakal <halil.cakal@est.tech> Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-05-27CmDataSubscription status code updatempriyank4-18/+24
- Removing the unused NcmpRespnseStatus internal codes and messages - Introducing statusCode 1 for ACCEPTED and 104 for REJECTED of CmSubscription - Added check for status code and message both in the flow Issue-ID: CPS-2238 Change-Id: Id99f099a398392dbef1504f9d7c658665d163902 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-05-27CmSubscription overlapping casempriyank4-16/+74
- Directly ACCEPT the CmSubscription request in case of overlapping scenario - The confirmation will be sent out when the DMI timeout has happened - No request sent out to DMI plugin in this scenario Issue-ID: CPS-2237 Change-Id: Ic799801058e9c8e1c2db8780a42ab85ea306f45e Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-05-23Merge "CM SUBSCRIPTION: add new subscription for non existing xpath"Priyank Maheshwari3-74/+143
2024-05-23Merge "Add k6 performance tests for NCMP"Lee Anjella Macabuhay18-0/+781
2024-05-23Merge "Remove un-used code of RestTemplate"Toine Siebelink17-112/+113
2024-05-23CM SUBSCRIPTION: add new subscription for non existing xpathemaclee3-74/+143
- added new method for when adding new subscription for non existing xpath but existing cmhandle Issue-ID: CPS-2207 Change-Id: I149fbaea2f276503cb9d45c8807519bbe0417f3b Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2024-05-22Add k6 performance tests for NCMPdanielhanrahan18-0/+781
This commit adds K6 tests for NCMP functionalities: - Registration of 20000 CM-handles - Synchronous single CM-handle passthrough read operation - CM-handle and ID searches for no filter, module, and public property - De-registration of 20000 CM-handles - A mixed load test Also includes a README and shell scripts to run all tests. Issue-ID: CPS-2199 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ia2e59674057ed28f5f9ceed9465133f7c0ce8318
2024-05-22Remove un-used code of RestTemplatesourabh_sourabh17-112/+113
- Removed unused property belons to resttemplate - Refactored dmi properties class (from static internal class) - Overriden getter method of dmi basepath that removes any leading and trailing slashes from it. Issue-ID: CPS-2202 Change-Id: I16f61388fce2a6b9e258788fa826d485581d6138 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-05-22Remove allowReserved from Swagger definitions for CPS & NCMPToineSiebelink2-28/+10
- this option was used on some URL parameters (by accident) - does not seem to affect production code but is at least misleading Issue-ID: CPS-2230 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I32712a840346715f4891304c2059d49f10e959d6
2024-05-22Merge "re-enable Operation Too Large Exception: limit 200"Toine Siebelink1-1/+1
2024-05-22Merge "Fix performance build output being lost"Lee Anjella Macabuhay3-9/+10
2024-05-22re-enable Operation Too Large Exception: limit 200ToineSiebelink1-1/+1
- settign limit to 200 Issue-ID:CPS-2164 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I728af7658e3f4e0900f286a544dea3bdb5d6773f
2024-05-21Fix performance build output being losthalil.cakal3-9/+10
- this fix for CpsPath Registry attributes Query plot - also include bump up lombok to latest to fix the error does not have member field com.sun.tools.javac.tree.JCTree qualid - rename conflicting the performance test name: CpsPath Registry attributes Query to fix plot issue Issue-ID: CPS-2232 Change-Id: I7a0536ac2b48565df62fa46dddd27785addafa42 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-05-20CPS-2182 - #4 Add module Set tag to NCMPs DMI Batch Data interfacedavid.mcweeney9-18/+62
Change-Id: I46b261e0a0ef2d37a307291931ba67762fb7767d Signed-off-by: david.mcweeney <david.mcweeney@est.tech> Issue-ID: CPS-2182
2024-05-20Merge "CPS-2187 - #6 Add module Set Tag to ncmp (single cm handle) data ↵Toine Siebelink4-29/+59
request to dmi"
2024-05-20Merge "CmSubscription topics param update"Lee Anjella Macabuhay8-27/+20
2024-05-17Replaced RestTemplate with WebClient in synchronous DMI callssourabh_sourabh23-351/+447
- added DmiWebClientConfiguration - use WebClient in DmiRestClient - fixed unit tests - encode query params for DMI request - added configurable buffer size - Re-used ncmp.dmi.httpclient.maximumConnectionsTotal parameter (as documented in RTD) to control webclient connection poolsize Issue-ID: CPS-2173 Change-Id: I21584563034d58e8ae3ff3cbcf172e0d14b408fb Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-05-17CmSubscription topics param updatempriyank8-27/+20
- topic application parameters updated to be in sync with the actual convention we are following for the flow. - environment variables also updated to follow the same - removed the unused parameters related to notification Issue-ID: CPS-2210 Change-Id: If5adb3dac1ce81df5afe2e99f99513adc2011cc9 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-05-16Set CPS Project Status to 'Mature'ToineSiebelink1-1/+1
As approved by TSC on 2024-05-16 See also https://wiki.onap.org/display/DW/ONAP+Project+and+Component+Lifecycle Issue-ID: CPS-2224 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I60933c208a98adb65cf68e7fdc352839846a772c
2024-05-16Merge "Integration for getting cm handle by longest alternate id match"Toine Siebelink4-0/+97
2024-05-16CPS-2187 - #6 Add module Set Tag to ncmp (single cm handle) data request to dmidavid.mcweeney4-29/+59
Change-Id: I59cdb021d8f2f767b943f09715f4becad820e786 Signed-off-by: david.mcweeney <david.mcweeney@est.tech> Issue-ID: CPS-2187
2024-05-16Merge "CPS-2181 - #1 Included Module Set Tag in NCMP calls to DMI for Yang ↵Toine Siebelink3-10/+40
Module Resources"
2024-05-15Merge "More fine tuning around remainin plots"Toine Siebelink3-4/+4
2024-05-15More fine tuning around remainin plotshalil.cakal3-4/+4
- Fine tuning for the plots only: - Read datatrees for multiple xpaths - Query with all descendants - Writing 200 devices - Saving list of 50 devices Issue-ID: CPS-2192 Change-Id: I508e31cd861a4006cac41ebbbe307b7bd2acde2f Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-05-15CPS-2181 - #1 Included Module Set Tag in NCMP calls to DMI for Yang Module ↵david.mcweeney3-10/+40
Resources Change-Id: I4f8cf79667e3155f49b9109d26b5807f5d54f90c Signed-off-by: david.mcweeney <david.mcweeney@est.tech> Issue-ID: CPS-2181
2024-05-15Integration for getting cm handle by longest alternate id matchsourabh_sourabh4-0/+97
- Added a new integration test to check total time and memory taken to get cm handle by its longest match alternate id. Issue-ID: CPS-2176 Change-Id: I7a6b299c46803a0878406f1e16fdae970b361dd9 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-05-15Bump CPS to 3.5.0-SNAPSHOTmpriyank24-25/+25
- bump cps to 3.5.0-SNAPSHOT Issue-ID: CPS-2228 Change-Id: I8a6d7e702b557d5b90dd384bbe429de4958ef77f Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-05-14Merge "CPS Bump to 3.4.10-SNAPSHOT"Daniel Hanrahan25-25/+52
2024-05-14Merge "Adjust percentage limits to 10 percent below the threshold"Toine Siebelink8-66/+66
2024-05-14CPS Bump to 3.4.10-SNAPSHOTmpriyank25-25/+52
- bumping CPS to 3.4.10-SNAPSHOT version Issue-ID: CPS-2221 Change-Id: I8513582791078762bfb9d828966028c233e031db Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-05-14Merge "container yaml for cps 3.4.9"Daniel Hanrahan1-0/+8
2024-05-13container yaml for cps 3.4.9mpriyank1-0/+8
- container yaml to release CPS 3.4.9 Issue-ID: CPS-2221 Change-Id: I8dee6c42230f38c7a1fdf1dc7821e71c5da2af06 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-05-13Maven stage yaml for CPS 3.4.9mpriyank1-0/+4
- maven stage yaml to release CPS 3.4.9 Issue-ID: CPS-2221 Change-Id: Ifc16ed01cc4d7928d5f9ec86ebe668ab26285584 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-05-13Adjust percentage limits to 10 percent below the thresholdhalil.cakal8-66/+66
Issue-ID: CPS-2192 Change-Id: Iac37751b17f186e550ce12e3e17968d90cbf432a Signed-off-by: halil.cakal <halil.cakal@est.tech>