aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
4 daysUpdate docs related to lockHEADmastermpriyank2-3/+5
- added the distributed lock in the documentation as well - updated the log level to debug to refrain printing every iteration of the scheduler Issue-ID: CPS-2479 Change-Id: Ieeeff46168d70aca6f423e82bda15a12d6c405a5 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
4 daysMerge "Add schema to persist notification subscription information"Priyank Maheshwari11-126/+401
4 daysMerge "Remove check before removing from hazelcast cache"Toine Siebelink4-24/+5
4 daysAdd schema to persist notification subscription informationrajesh.kumar11-126/+401
Add required schema to persist notification subscription information. It should contain - Schema yang file - New Dataspace, Anchors or any other database entity - Refactore duplicate code in NCMP Issue-ID:CPS-2427 Change-Id: I56c34400dc73c71b936a51260efd300924ababdc Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
5 daysMerge "Cps and Ncmp distributed lock for various use cases"Toine Siebelink6-37/+86
5 daysCps and Ncmp distributed lock for various use casesmpriyank6-37/+86
- introduced cpsAndNcmpLock to be used for any use case needing coordination. Since it can be used for any use case hence placing the class accordingly. - currently lock is being used for populating workQueue. - Removed FencedLock as it was part of CPSubsystem which is moved to hazelcast-enterprise in 5.5.* version onwards. - added info level logging statement to verify just one thread at a time in the critical section - Note : integration test to be part of a separate patch. Issue-ID: CPS-2479 Change-Id: I0f33c7232786c517383e5093fda91fd9a1839021 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
5 daysMerge "RTD docs for async use case"Lee Anjella Macabuhay2-1/+7
5 daysRemove check before removing from hazelcast cacheemaclee4-24/+5
Issue-ID: CPS-2420 Change-Id: I2299d5790792f7c2b2b1a6aa371b5ea43c6a9ee8 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
5 daysRTD docs for async use casempriyank2-1/+7
- Documented the suggestion to tune the kafka parameter for the case when client provides a non existent topic for the async batch usecase. Issue-ID: CPS-2069 Change-Id: I93e1b3006c901b6b4fc3a61df16d3cb82e6c9906 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
5 daysHazelcast related code updateemaclee8-22/+13
- this patch answers comments from 'Hazelcast Optimization' patch that was merged Issue-ID: CPS-2420 Change-Id: Ic5cf005730f2a45eba553a7f6d32e9af6676821d Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
11 daysMerge "Implementation of Data validation feature in CPS APIs"Lee Anjella Macabuhay5-38/+180
12 daysMerge "Increase Test coverage for cps-ncmp-service"Toine Siebelink2-19/+46
12 daysImplementation of Data validation feature in CPS APIsRudrangi Anupriya5-38/+180
Added support to validate JSON/XML data without the need of persisting it in the database. - added "dryRunInQuery" flag as a new query parameter in update/Replace/Add APIs - added new method as part of CpsDataService layer to perform data validation Issue-ID: CPS-2516 Change-Id: I87bb33dd6021567d0fac606d5c4b0168d107311c Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
13 daysIncrease Test coverage for cps-ncmp-serviceseanbeirne2-19/+46
Issue-ID: CPS-475 Change-Id: I35f127540e0fe5d412a9f855b647fef30f47159f Signed-off-by: seanbeirne <sean.beirne@est.tech>
13 daysMerge "Policy Executor API Review Board Comments"Lee Anjella Macabuhay6-315/+291
13 daysMerge "Extend the container-up time after the tests finished"Lee Anjella Macabuhay4-4/+9
14 daysPolicy Executor API Review Board CommentsToineSiebelink6-315/+291
- Implemented Guild review comments in API - Updated Stub to reflect new API and 'support' all operations - Updated production code to use new API - Updated Semi-Integration Tests Issue-ID: CPS-2479 Change-Id: Ibe307b0d859312b534009a384e9f71e1ea2affe0 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2024-12-10Extend the container-up time after the tests finishedhalil.cakal4-4/+9
- extend it 5 mins for kpi test suit - extend it 7 mins for endurance test suit Issue-ID: CPS-2535 Change-Id: Ifecf2cdea67c12ff671da5f90e6715de7089e755 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-12-10Separated inventoryFacade to Interface and Implleventecsanyi10-131/+206
- created NetworkCmProxyInventoryFacade IF Issue-ID: CPS-2513 Change-Id: Ibda2d7899514ee22d4b04cad971e107bfccce2df Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2024-12-10Merge "Hazelcast Optimisation"Toine Siebelink13-54/+89
2024-12-09Hazelcast Optimisationemaclee13-54/+89
Issue-ID: CPS-2420 Change-Id: I707e0fbbddeb4ddc7c573a2b3ebd8fbca08126a6 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2024-12-09Merge "[k6] Use constant arrival rate"Toine Siebelink2-70/+116
2024-12-06[Module Sync] Store CM-handle IDs in work queuedanielhanrahan12-129/+122
This fixes bug CPS-2474, handling various edge cases, such as CM handles being deleted during module sync. - Change moduleSyncWorkQueue to store CmHandleId instead of DataNode. - Freshly fetch Cm Handles in module sync task, so latest CM-handle state is used, and only process ADVISED CM handles in module sync. Issue-ID: CPS-2474 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I53d5796c56014a2bfbe5b1c3f17d3991e4feef53
2024-12-05[k6] Use constant arrival ratedanielhanrahan2-70/+116
Currently, k6 KPI tests send requests using 'constant-vus' executor. This continuously sends requests on different threads - as soon as one request completes, another is sent. This leads to weird results where improving performance of one operation ends up degrading other test cases, due to more requests being sent per second. This change makes KPI tests send requests at a constant rate, making the mixed-load tests less prone to such anomalies. - Send requests at constant rates for test cases 3, 4, 5, 6. - Throughput tests 1, 2 & 7 still send at the fastest rate. - Adjust expected performance timings. Issue-ID: CPS-2519 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I641ead7d2d9d3b29116e1cf0d4bf8cd345b01a98
2024-12-05Moved common classes under the api package under apileventecsanyi201-495/+582
- moved common classes under the api package - moved Spec files Issue-ID: CPS-2512 Change-Id: I88046280ce359ce8cc488ad37d4e6f85406b0dbf Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2024-12-05Merge "Add persistent storage to prometheus"Toine Siebelink3-4/+42
2024-12-04Inventory Persistance returns YangModelCmHandles for alternate Idsseanbeirne10-66/+85
-Remove getCmHandleDataNodeByAlternateId(s) methods and replace with Yang Model methods Issue-ID: CPS-2486 Change-Id: I2c9c96f033b3b1eefadb7eff14c91f9a936630e6 Signed-off-by: seanbeirne <sean.beirne@est.tech>
2024-12-04Merge "[BUG] Effective trust factors in DMI trust level"Toine Siebelink7-30/+131
2024-12-04Merge "Add tests of attribute-axis feature"Toine Siebelink4-6/+75
2024-12-04[BUG] Effective trust factors in DMI trust leveldanielhanrahan7-30/+131
Effective trust of a CM handle should be the trust level of the handle or the DMI, whichever is lower. Currently, effective trust level of a CM handle is not reported correctly when the DMI is down, as DMI trust level is not considered. - Add DMI service names to NcmpServiceCmHandle - Introduce new DmiServiceNameResolver class - Correctly calculate effective trust level Issue-ID: CPS-2375 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iaded0fadad58d960eb76c69f79a308df8329e534
2024-12-04Add persistent storage to prometheushalil.cakal3-4/+42
- add healthcheck to ensure prometheus service is running correctly and restarts it if it becomes unhealthy - set the data retention time to 30d - update readme Issue-ID: CPS-2466 Change-Id: I0f6186f8577e8e0113831ed040298b823e33d624 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-12-04Merge "Plot metrics for each cps-and-ncmp instance separately in Grafana"Daniel Hanrahan3-2/+14
2024-12-04Plot metrics for each cps-and-ncmp instance separately in Grafanahalil.cakal3-2/+14
- assing port range to cps-and-ncmp service to plot metrics separately Issue-ID: CPS-2536 Change-Id: Ic097017bbcca25f28341e8e77f658a0a4e8964d7 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-12-04Merge "Improve test coverage trustlevel manager"Daniel Hanrahan1-6/+9
2024-12-04Merge "Add comments to (describe) all Liquibase steps"Daniel Hanrahan3-4/+51
2024-12-03Improve test coverage trustlevel managerToineSiebelink1-6/+9
Issue-ID: CPS-475 Change-Id: I572227b4f6c61bd2286d8cb3fb85c3dc21142a47 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2024-12-03Add comments to (describe) all Liquibase stepsToineSiebelink3-4/+51
Issue-ID: CPS-776 Change-Id: I768da4e9d9a1e75d2cc1fa879a5237efb4c7421f Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2024-12-03Added performance section and updated api versionmpriyank7-10/+14
- Added a performance section to the release notes - Populated the correct info.version for NCMP and CPS Rest interfaces Issue-ID: CPS-2537 Change-Id: Iae07da57fc45100b4d250fcfb86a95079869b221 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-12-03Add tests of attribute-axis featuredanielhanrahan4-6/+75
Following TDD, functional acceptance tests are added for attribute-axis feature. This covers xpaths such as '//books/@title' - Add stub to CpsQueryService throwing UnsupportedOperationException - Add tests showing expected behaviour (tests currently ignored) - Implementation will be provided in following commmit for CPS-2416 Issue-ID: CPS-2416 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I71817e66b28dfc21e7b75243fd0135f3cceddb8e
2024-12-03Merge "[Cps Path Parser] Introduce Attribute axis"Priyank Maheshwari4-1/+38
2024-12-03Merge "Faster CM-handle searches using Hazelcast optimization"Toine Siebelink8-65/+146
2024-12-02[k6] Adjust expectationsdanielhanrahan1-12/+12
Some performance improvements were made over last months, so this commit adjusts expected performance to match. Issue-ID: CPS-1975 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iff6a303e8424a9d8d8b1effe27724844eadbf7fd
2024-12-02Update the minor version of CPSmpriyank22-23/+23
- Update the minor version of cps. - New version being 3.6.0-SNAPSHOT now. Issue-ID: CPS-2488 Change-Id: I87fb29fe45dc942b258bc1d45e09a3351739539b Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-12-02Faster CM-handle searches using Hazelcast optimizationdanielhanrahan8-65/+146
This uses IMap::getAll(setOfKeys) to bulk read trust levels. This reduces CM-handle search time by a third. Issue-ID: CPS-2420 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ie63b45a76bee146def537b749074ecbb7715e6fc
2024-12-02[Cps Path Parser] Introduce Attribute axisdanielhanrahan4-1/+38
Add grammar and tests for attribute-axis to match cps paths like: //books/@title which should return the titles of all books (a subsequent patch will implement the logic). The syntax is compatible with XPath standard. Issue-ID: CPS-2416 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I25164b23670147c504f0f0f6c0cc8ff15997f2a3
2024-11-29Bump CPS to 3.5.6-SNAPSHOTegernug23-23/+54
Issue-ID: CPS-2488 Change-Id: Ib17e4283de959ec4aab3c68bb3ba8018a10a10b2 Signed-off-by: egernug <gerard.nugent@est.tech>
2024-11-29Merge "Container yaml for 3.5.5"Priyank Maheshwari1-0/+8
2024-11-29Container yaml for 3.5.5egernug1-0/+8
Issue-ID: CPS-2488 Change-Id: Ie09e3239e1bcb1878b43f8201595f0aea175bfa9 Signed-off-by: egernug <gerard.nugent@est.tech>
2024-11-29maven stage yaml for 3.5.5egernug1-0/+4
Issue-ID: CPS-2488 Change-Id: I04d65ba05e24b64932c887eea039f3ab05157702 Signed-off-by: egernug <gerard.nugent@est.tech>
2024-11-29Merge "Update release notes for OSLO"Daniel Hanrahan2-1/+15