aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2024-05-10Merge "Ncmp out event for REJECTED scenario"Daniel Hanrahan3-9/+36
2024-05-09Ncmp out event for REJECTED scenariompriyank3-9/+36
- Handling and publishing the event to client when dmi plugin rejects applying the subscription - test scenarios to support the same Issue-ID: CPS-2214 Change-Id: I2ac6d125a7262a7428a962d81a26a33594b570d9 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-05-09Fine tuning of the performance plotshalil.cakal6-37/+37
- Fine tune some of the performance plots which are not align to the limit Issue-ID: CPS-2200 Change-Id: I925443aa74a4eb814728d0642db0951c76f86186 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-05-09Release note for cps-change-event togglempriyank1-0/+1
- Release notes to enable and disable the toggle functionality introduced. - If the CPS change events are of no interest to them then they can be disabled by the environment variable CPS_CHANGE_EVENT_NOTIFICATIONS_ENABLED Issue-ID: CPS-2211 Change-Id: If2fddb6a499e24194b3eeca2ecdf99b8fb5ec687 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-05-08Conditional cps change eventsmpriyank4-10/+30
- introduced a parameter to control the cps core change event notifications. we should be able to disable these notifications without affecting other notification flows. - fixed the LayeredArchitectureTest as we are accessing the Anchor model in the events package now. Issue-ID: CPS-2213 Change-Id: Id875925bc14de1cc6e8fa3193c0df470e09fe43f Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-05-07Merge "Schedule response to client"Lee Anjella Macabuhay2-7/+16
2024-05-03Merge "[BUG] Correctly parse observedTimestamp"Lee Anjella Macabuhay4-12/+23
2024-05-03[BUG] Correctly parse observedTimestampmpriyank4-12/+23
- Using the DateTimeUtility to parse the passed OffsetDateTime and using it for conversion to string - Moving to actual src/main/java from test side as it is to be used in the prod code as well and only keeping the methods in use. - Added test to fix the coverage issue Issue-ID: CPS-2211 Change-Id: I2b4325bb77a6da7fd470986b1da293f455650375 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-05-03Merge "Release notes is updated for error hanndling related to upgrade ↵Priyank Maheshwari1-0/+1
operation"
2024-05-03Release notes is updated for error hanndling related to upgradesourabh_sourabh1-0/+1
operation Issue-ID: CPS-2204 Change-Id: Iaa3f61c53e4120cdf19b7ad1c3313fc32f904866 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-05-03Make NCMP integration tests use MockWebServersourabh_sourabh15-214/+253
Change from using MockRestServiceServer - which is only compatible with RestTemplate - to MockWebServer, which will allow tests to work using WebClient instead of RestTemplate. Issue-ID: CPS-2183 Change-Id: I7494fe17cba6e92f7df81f0fd0185e1d2b5a5541 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-05-03Schedule response to clientmpriyank2-7/+16
- Scheduling sending the response by reading whatever is present in the cache for subscription after a pre-configured time. - Also added test validation for the same Issue-ID: CPS-2209 Change-Id: Ifacb0b12734a0529e671b0b63836189a243e453c Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-05-02Merge "Query operation path by alternate id"Daniel Hanrahan4-14/+117
2024-05-02Handle error in case of upgrade operationsourabh_sourabh2-11/+16
- Send an error response if cm handle not found for upgrade operation. - Restrict upgrade operation if it is already in progress. Issue-ID:CPS-2204 Change-Id: Iad63732c5b1d2215b06a09ddda1c0c604cd7648c Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-05-02Merge "Add Notification support in cps core"Priyank Maheshwari9-9/+365
2024-05-01Merge "CM Subscription: Link method to publish to DMI in service layer"Daniel Hanrahan10-36/+228
2024-05-01Bump CPS versiondanielhanrahan25-25/+52
- bump cps to 3.4.9-SNAPSHOT - also updated the release notes Issue-ID: CPS-2205 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ifd7feb413baac30e3cbbdf2aeaac5fbb5ae2e463
2024-05-01Container YAML for CPS 3.4.8danielhanrahan1-0/+8
- added container yaml for cps 3.4.8 Issue-ID: CPS-2205 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Id6ef50ab413bb910fa6ea866964ffe01d90b9b29
2024-05-01Maven stage yaml for 3.4.8danielhanrahan1-0/+4
- added maven stage yaml to release CPS 3.4.8 version Issue-ID: CPS-2205 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ic734ec947de86a30cf7b3f080a82c518403a4f5f
2024-05-01Update OpenAPI docs for 3.4.8danielhanrahan2-18/+42
Issue-ID: CPS-2205 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ib520a55b099b7a89751dab7032cabeba19b6a934
2024-04-30CM Subscription: Link method to publish to DMI in service layeremaclee10-36/+228
- Add call to method to publish to DMI for create request - Refactor calls to all Mappers to a single Mapper class handler Issue-ID: CPS-2196 Change-Id: I6476f47684ea9a0f55a7d207c1931a0fef8aa672 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2024-04-30Release notes update for 3.4.8danielhanrahan1-0/+2
Add release notes updates for bug fix CPS-2190 (slow module search) Issue-ID: CPS-2190 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I9c4500727640040593aacbd209c2d5ec6a86a315
2024-04-30Merge "[BUG]Defaults for cps and dmi user and pass"Daniel Hanrahan1-4/+4
2024-04-30Merge "CM Subscription: REfactor classes of producers and consumers"Priyank Maheshwari13-14/+157
2024-04-30[BUG]Defaults for cps and dmi user and passmpriyank1-4/+4
- provided default values for DMI_USERNAME and DMI_PASSWORD which is required to set when DMI_AUTH_ENABLED is true - Also provided defaults for CPS_USERNAME and CPS_PASSWORD as its been used in the logback xml file and if not provided then causes an issue with the logger Issue-ID: CPS-2194 Change-Id: I70fdbeca970556c7bd19f27c1b6b5123fd591283 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-04-30Reverted web client changes as it breaking CPS functionality:sourabh_sourabh23-269/+97
1. Error handling not working 2. Unable to make dmi call as url appens extra "/" Commit 1: Replace RestTemplate with WebClient in synchronous DMI calls - added DmiWebClientConfiguration - use WebClient in DmiRestClient - fixed unit tests - ingnored failing NCMP related integration tests (related to WebClient, will be fixed in a future patch) - encode query params for DMI requests Commit 2: Module sync task failing with WebClient - added configurable buffer size Commit 3: Re-use ncmp.dmi.httpclient.maximumConnectionsTotal parameter (as documented in RTD) to control webclient connection poolsize Issue-ID:CPS-989, CPS-2195, CPS-2198 Change-Id: I6c71ab2801b222708404f51bd60f2b3031ebf32e Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-04-30Add Notification support in cps corerajesh.kumar9-9/+365
Add notification support using cloud events Issue-ID:CPS-2068 Change-Id: I56c34400dc73c71b936a51260efd240223babacd Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
2024-04-30Merge "Ajust time limits for performance tests"Daniel Hanrahan8-72/+66
2024-04-29CM Subscription: REfactor classes of producers and consumersemaclee13-14/+157
Issue-ID: CPS-2196 Change-Id: I0b56f37a1b615b9615d6bd7005348733e1739a46 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2024-04-29Re-use ncmp.dmi.httpclient.maximumConnectionsTotal parametersourabh_sourabh3-19/+25
(as documented in RTD) to control webclient connection poolsize Issue-ID: CPS-2198 Change-Id: Id441208c66433b2539adf83a0881c3c3c79d2b15 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-04-29Query operation path by alternate idsourabh_sourabh4-14/+117
- New method is written to find longest match for fdn path - Introduced new exception for alternate id Issue-ID: CPS-2142 Change-Id: Ifd048574db88586a2d37a3681034a083eb2b7691 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-04-29Ajust time limits for performance testshalil.cakal8-72/+66
- new time limits adjusted for dedicated physical cps-performance test-server Issue-ID: CPS-2192 Change-Id: Ia258a8f7460b3fbe68e5b3b61bc918f7d394c1b1 Signed-off-by: halil.cakal <halil.cakal@est.tech>