seanbeirne [Tue, 28 Jan 2025 10:16:34 +0000 (10:16 +0000)]
Organise NCMP & CPS Event Schema Folders
-Directories will reflect application.yml topic topology
Issue-ID: CPS-2590
Change-Id: I42bfa10c54ae79726b5ad0b4d60a0d9e826a34d5
Signed-off-by: seanbeirne <sean.beirne@est.tech>
danielhanrahan [Fri, 24 Jan 2025 16:09:07 +0000 (16:09 +0000)]
Disable JVM process metrics by default
Issue-ID: CPS-2583
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I9c7a543201a63c1f128737bb0995843af6075a6b
mpriyank [Thu, 23 Jan 2025 14:35:52 +0000 (14:35 +0000)]
RTD supporting heapdump and threaddump exposure
- actuator endpoint now have support for heapdump via /actuator/heapdump
and the dump will be downloaded on the machine
- threaddump is available on /actuator/threddump and will be available
as response text
Issue-ID: CPS-2453
Change-Id: I263b39478bb953c70b2ffca09760c18d7e50da91
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Daniel Hanrahan [Fri, 24 Jan 2025 13:12:56 +0000 (13:12 +0000)]
Merge "Add dashboard for Inventory REST interfaces"
Priyank Maheshwari [Fri, 24 Jan 2025 12:23:53 +0000 (12:23 +0000)]
Merge "Fix for cm handles stuck in LOCKED during registration"
Priyank Maheshwari [Fri, 24 Jan 2025 12:18:47 +0000 (12:18 +0000)]
Merge "[k6] 50000 CM-handles"
danielhanrahan [Fri, 24 Jan 2025 11:17:14 +0000 (11:17 +0000)]
[k6] 50000 CM-handles
- Increase CM-handles to 50000 in k6 tests
- Increase container memory to 3GB (crashes with 2GB)
- Decrease max heap percentage to 70% to ensure container has
at least 200MB free memory, to prevent JVM from crashing at
higher peak loads.
Issue-ID: CPS-2584
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I8daabff58723114bdc3838b379e83c3ffbbb0ba9
Daniel Hanrahan [Fri, 24 Jan 2025 11:25:31 +0000 (11:25 +0000)]
Merge "Incorrect Internal Error Code for duplicated registration"
Priyank Maheshwari [Thu, 23 Jan 2025 17:21:24 +0000 (17:21 +0000)]
Merge "Expose JVM process metrics"
danielhanrahan [Thu, 23 Jan 2025 15:07:06 +0000 (15:07 +0000)]
Expose JVM process metrics
Currently, Grafana only shows memory used inside the JVM,
but not including memory used by the JVM process itself.
These metrics are needed for determining real memory usage.
Issue-ID: CPS-2583
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ib77f9057c7301ea5afc2a621526736213ddd817a
ToineSiebelink [Thu, 23 Jan 2025 12:34:40 +0000 (12:34 +0000)]
Fix for cm handles stuck in LOCKED during registration
- Additional Error logging when cm handles fail module sync
- Swallow already defined exception upon schema and/or anchor creation
- Updated integration test to try to reproduce the problem (but couldn't)
- Ignored integration tests that depend/affected by race conditions
(they are useful for troubleshooting but not for pipeline checks)
- Removed last remnants of springboot retry annotation option (incl dependencies)
Issue-ID: CPS-2576
Change-Id: I910e802268332f955134c043bd1b46a7ec57233b
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Daniel Hanrahan [Thu, 23 Jan 2025 15:20:19 +0000 (15:20 +0000)]
Merge "Add DB Clean-up to CPS Rest Interface"
seanbeirne [Thu, 23 Jan 2025 10:59:00 +0000 (10:59 +0000)]
Incorrect Internal Error Code for duplicated registration
-Deprectated 111 Alternate-Id already exists error code
-All dupication scenarios now return 109
Issue-ID: CPS-2563
Change-Id: Ic9b9df936eaf3795441f4dd1ec1cc73e39c9eae1
Signed-off-by: seanbeirne <sean.beirne@est.tech>
Priyank Maheshwari [Thu, 23 Jan 2025 14:06:13 +0000 (14:06 +0000)]
Merge "[Docs]: Add RTD documentation for ServiceConfig properties and WebClientConfiguration context"
ToineSiebelink [Wed, 22 Jan 2025 08:57:39 +0000 (08:57 +0000)]
Add DB Clean-up to CPS Rest Interface
- add dataspace filter to module cleanup impl
- updated integration test to only delete orphaned modules in relevant dataspaces
(this also fixes CPS-2571)
- improved labels on admin controller test
- add dataspaces/../clean rest endpoint for cps core
- added 'Regular Maintenance' section to RTD Admin Guide
- consistent spelling of 'CM Handle' in RTD Docs
Issue-ID: CPS-2554
Change-Id: Ica70c3495758f073eaac9eeeadcc0e1be2c8cc1c
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Daniel Hanrahan [Wed, 22 Jan 2025 17:03:37 +0000 (17:03 +0000)]
Merge "Switching to LTS of hazelcast-spring"
Toine Siebelink [Wed, 22 Jan 2025 16:46:08 +0000 (16:46 +0000)]
Merge "Moved builders under impl in CPS Service"
sourabh_sourabh [Mon, 20 Jan 2025 12:37:55 +0000 (12:37 +0000)]
[Docs]: Add RTD documentation for ServiceConfig properties and WebClientConfiguration context
- Added detailed RTD documentation for the ServiceConfig class properties, including connection pooling, timeout settings, and memory management.
- Documented the context and usage of WebClientConfiguration, explaining its role in configuring HTTP client behavior for services like Policy Executor and DMI.
- Included example configurations and best practices for tuning HTTP client performance.
- Improved clarity and accessibility of ServiceConfig-related configuration for future developers and administrators.
Issue-ID: CPS-2565
Change-Id: I84e612b2f56293c453884e341a516f55b2bb6b81
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
mpriyank [Wed, 22 Jan 2025 14:36:35 +0000 (14:36 +0000)]
Switching to LTS of hazelcast-spring
- Since we upgrade spring boot dependency to 3.4.1 , its better to
upgrade hazelcast-spring as well
- hazelcast-spring 5.5.0 version has LTS as well
Issue-ID: CPS-2575
Change-Id: Ia31f571328cdf6fae05011068873e149cb609b51
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
emaclee [Tue, 21 Jan 2025 11:16:04 +0000 (11:16 +0000)]
Add 'Deleted' cm handle state for gauge
Issue-ID: CPS-2456
Change-Id: I2f7ff2dd18d164dbf685269fb2d2e47d08c3c5f5
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
halil.cakal [Tue, 21 Jan 2025 15:55:32 +0000 (15:55 +0000)]
Add dashboard for Inventory REST interfaces
- rename lcm-state dashboard to inventory
- remove panels holding a single state of cm handle
- add panel for inventory APIs calls by URI and the STATUS
Issue-ID: CPS-2567
Change-Id: I374fa18b53d456519142cf059f74b2a070485355
Signed-off-by: halil.cakal <halil.cakal@est.tech>
ToineSiebelink [Tue, 21 Jan 2025 13:35:03 +0000 (13:35 +0000)]
Remove retry mechanism for duplicate module(resource) errors
- CM Handle with problems will go into 'LOCKED' state and retried using existing business logic
Issue-ID: CPS-2555
Change-Id: I563f6bc536d8fd8c6675891c62318ff2fb43fea6
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
leventecsanyi [Mon, 20 Jan 2025 20:58:19 +0000 (21:58 +0100)]
Moved builders under impl in CPS Service
- moved builders and fixed the Arch test
Issue-ID: CPS-2542
Change-Id: Iac9d47f20fff2e6fa415ada8bc17880b0b032591
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
Lee Anjella Macabuhay [Mon, 20 Jan 2025 16:31:15 +0000 (16:31 +0000)]
Merge "Increase JVM heap to 75% again"
danielhanrahan [Mon, 20 Jan 2025 16:08:29 +0000 (16:08 +0000)]
Increase JVM heap to 75% again
Heap percent was commented out by mistake leading to OutOfMemoryError
in endurance pipeline, due to only 25% of memory being used for heap.
Issue-ID: CPS-2570
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ifbffe7222e38f017105cfac8bc8307255d28d11a
mpriyank [Mon, 20 Jan 2025 13:23:06 +0000 (13:23 +0000)]
On demand heapdump and threaddump generation for cps-and-ncmp
- Generate the heapdump of a running application on demand using the
/actuator/heapdump endpoint and threaddump using /actuator/threaddump
- RTD update as separate patch when the python issue is sorted
Issue-ID: CPS-2453
Change-Id: Ifcf4e7aecc1ee15f57011a1c4a4ec7bf67e45a6f
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Sourabh Sourabh [Fri, 17 Jan 2025 17:16:25 +0000 (17:16 +0000)]
Merge "[k6] Adjust thresholds"
danielhanrahan [Fri, 17 Jan 2025 16:49:14 +0000 (16:49 +0000)]
[k6] Adjust thresholds
Some cases improved performance after introduction of
one schemaset per module set tag.
Issue-ID: CPS-2540
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ib544d425758016df2fb3eeb1b0d0d2529b80c698
Toine Siebelink [Fri, 17 Jan 2025 16:40:43 +0000 (16:40 +0000)]
Merge "Realistic Examples: K6 Test-ware"
Toine Siebelink [Fri, 17 Jan 2025 16:11:24 +0000 (16:11 +0000)]
Merge "Moved impl package out from api package"
Lee Anjella Macabuhay [Fri, 17 Jan 2025 13:33:37 +0000 (13:33 +0000)]
Merge "Make Response Timeout Configurable in WebClient Configuration"
sourabh_sourabh [Thu, 16 Jan 2025 10:53:59 +0000 (10:53 +0000)]
Realistic Examples: K6 Test-ware
- Updated resourceIdentifier query parameter to align with GNBDUFunctionConfig structure.
- Introduced hierarchical notation (parent=..., child=...) for precise resource identification.
- Added examples for querying all GNBDUFunctions, specific gNB IDs, and sub-resources like RIM-RS reporting configurations.
Issue-ID: CPS-2482
Change-Id: I9e10db9bed7a3503f617a9f8dbd9fed8787402dc
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
leventecsanyi [Wed, 15 Jan 2025 10:57:28 +0000 (11:57 +0100)]
Moved impl package out from api package
- refactored cps service packages and the architecture test
Issue-ID: CPS-2543
Change-Id: I0fab54cebd157b19ff6105b7d4b6d8265a1af485
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
Sourabh Sourabh [Fri, 17 Jan 2025 09:49:36 +0000 (09:49 +0000)]
Merge "One SchemaSet per moduleSetTag"
Daniel Hanrahan [Thu, 16 Jan 2025 17:04:45 +0000 (17:04 +0000)]
Merge "Add LCM State dashboard to Grafana"
Daniel Hanrahan [Thu, 16 Jan 2025 16:56:25 +0000 (16:56 +0000)]
Merge "Handle restart case for cps-ncmp gauge metrics"
sourabh_sourabh [Thu, 16 Jan 2025 13:00:18 +0000 (13:00 +0000)]
Make Response Timeout Configurable in WebClient Configuration
- Added responseTimeoutInSeconds property in the ServiceConfig class to allow dynamic configuration of the timeout.
- Updated WebClientConfiguration to read the responseTimeoutInSeconds from ServiceConfig and set it in the HttpClient.
Issue-ID: CPS-2565
Change-Id: I096688319c55f0342b524511883ec0d33806b9b7
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
emaclee [Sun, 12 Jan 2025 12:39:55 +0000 (12:39 +0000)]
Handle restart case for cps-ncmp gauge metrics
Issue-ID: CPS-2456
Change-Id: I9ac5d6774fcd745d8141551eeff8a1deb1938f57
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
halil.cakal [Wed, 15 Jan 2025 13:24:56 +0000 (13:24 +0000)]
Add LCM State dashboard to Grafana
- adding a grafana dashboard for lcm state changes of
cm handles
Issue-ID: CPS-2558
Change-Id: Ie00884736ffa5c08e1be150c71cf8ac603f2ab60
Signed-off-by: halil.cakal <halil.cakal@est.tech>
ToineSiebelink [Thu, 16 Jan 2025 14:41:18 +0000 (14:41 +0000)]
One SchemaSet per moduleSetTag
- Registration: create and upgrade cases.
- Handle moduleSetTag deletion (all orphans) for testware
- Unit tests updated
- additional logging of details for upgrade scenarios
- Integration Tests updated
- Remove cache for module sets being processed
- Removed DbCleaner (startup)
- Removed redundant methods in NCMP Inventory for deleting schema set(s)
- Removed validation check for all schema set interactions
- Updated some schema set tests to use special characters previously not allowed
- Checked integration test scenarios for upgrades with and without tags: all scenarios covered!
TODO
- REST endpoint to remove orphaned schema set data, separate story: CPS-2554
- Investigate exception handling regarding DuplicateYangResourceException: CPS-2555
Issue-ID: CPS-2540
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: Iaa59cbdb86b7a4a8044624829bc002506ff40cc7
Lee Anjella Macabuhay [Wed, 15 Jan 2025 14:05:08 +0000 (14:05 +0000)]
Merge "Resolve Nexus-IQ report issues"
Lee Anjella Macabuhay [Wed, 15 Jan 2025 09:55:11 +0000 (09:55 +0000)]
Merge "Move LockReasonCategory under api package"
Lee Anjella Macabuhay [Tue, 14 Jan 2025 17:05:52 +0000 (17:05 +0000)]
Merge "Realistic Examples: NCMP Open API and Doc"
seanbeirne [Fri, 10 Jan 2025 14:11:10 +0000 (14:11 +0000)]
Resolve Nexus-IQ report issues
- Upgrading postgres 42.5.1->42.5.5
- Upgrading spring-boot-dependencies & spring-boot-starter-cache
3.2.12->3.4.1
Issue-ID: CPS-2550
Change-Id: I36ab8d72ff7c19e413b2ce0b8e12f4dbcc1c2441
Signed-off-by: seanbeirne <sean.beirne@est.tech>
Daniel Hanrahan [Tue, 14 Jan 2025 10:45:44 +0000 (10:45 +0000)]
Merge "Add conditionalProperty in subscription consumers and producers"
halil.cakal [Mon, 13 Jan 2025 16:51:19 +0000 (16:51 +0000)]
Change image of Grafana in local docker-compose
- change image of grafana to grafana/grafana from grafana/grafana-oss
in local docker-compose file
Issue-ID: CPS-2559
Change-Id: I03bf895c10a108c9aeae2db6b2dc6b39db505df5
Signed-off-by: halil.cakal <halil.cakal@est.tech>
leventecsanyi [Thu, 9 Jan 2025 14:01:30 +0000 (15:01 +0100)]
Move LockReasonCategory under api package
- reafctored package structure
Issue-ID: CPS-2514
Change-Id: Id54cd652e147b585730caacbe550287ae2c329e1
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
halil.cakal [Mon, 13 Jan 2025 10:55:11 +0000 (10:55 +0000)]
Update the cps's threshold for de-registration api
- Due to the performance improvment of de-registration flow
updating the cps' limit to 120 cmhandles/second
Issue-ID: CPS-2192
Change-Id: Ia0224a585deba9181de89c6bb4600e8d5529df14
Signed-off-by: halil.cakal <halil.cakal@est.tech>
emaclee [Mon, 13 Jan 2025 08:36:23 +0000 (08:36 +0000)]
Add conditionalProperty in subscription consumers and producers
Issue-ID: CPS-2556
Change-Id: Id6a70dbfabc9119727eb307f3c2928a13f3bf44a
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
sourabh_sourabh [Tue, 7 Jan 2025 13:51:20 +0000 (13:51 +0000)]
Realistic Examples: NCMP Open API and Doc
- Updated resourceIdentifier query parameter to align with GNBDUFunctionConfig structure.
- Introduced hierarchical notation (parent=..., child=...) for precise resource identification.
- Added examples for querying all GNBDUFunctions, specific gNB IDs, and sub-resources like RIM-RS reporting configurations.
Issue-ID: CPS-2483
Change-Id: I215944a45c754e43f61948464c5c8793c22e41c8
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Lee Anjella Macabuhay [Fri, 10 Jan 2025 10:07:32 +0000 (10:07 +0000)]
Merge "Implement Integration Testcases for XML Supported API's"
Rudrangi Anupriya [Thu, 9 Jan 2025 14:54:00 +0000 (20:24 +0530)]
Implement Integration Testcases for XML Supported API's
Issue-ID: CPS-2548
Change-Id: Icc7ffb66aabb03702355123c6d5c2eade0e7cb4a
Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
thmsdt [Thu, 9 Jan 2025 15:27:59 +0000 (16:27 +0100)]
docs config files for oslo release v2
Issue-ID: DOC-826
Change-Id: I6f27294301724feb46b737094c95175a17c33dfc
Signed-off-by: thmsdt <thomas.kulik@telekom.de>
Daniel Hanrahan [Wed, 8 Jan 2025 13:19:18 +0000 (13:19 +0000)]
Merge "Resolve Nexus-IQ report issues"
Daniel Hanrahan [Wed, 8 Jan 2025 12:41:28 +0000 (12:41 +0000)]
Merge "Remove hypersistence dependency in cps"
seanbeirne [Mon, 6 Jan 2025 12:31:13 +0000 (12:31 +0000)]
Resolve Nexus-IQ report issues
- Upgrading Springboot 3.3.1->3.3.7
- Upgrading Springboot dependencies 3.2.4->3.2.12
Issue-ID: CPS-2550
Change-Id: I0630b4fbdcfe44cebc835ef7be0df1b306e801e5
Signed-off-by: seanbeirne <sean.beirne@est.tech>
Daniel Hanrahan [Tue, 7 Jan 2025 14:54:45 +0000 (14:54 +0000)]
Merge "Add gauge metric for NCMP "cmhandle states""
emaclee [Tue, 7 Jan 2025 10:54:50 +0000 (10:54 +0000)]
Remove hypersistence dependency in cps
Issue-ID: CPS-2166
Change-Id: I543e32a97b84f87f9ec0bbb72e3883e7eea3c5e1
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
emaclee [Wed, 11 Dec 2024 14:58:25 +0000 (14:58 +0000)]
Add gauge metric for NCMP "cmhandle states"
Issue-ID: CPS-2456
Change-Id: I1aebcc68dfdc9c48c230c74376742d67b05c0615
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
mpriyank [Fri, 20 Dec 2024 11:31:58 +0000 (11:31 +0000)]
Update docs related to lock
- 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>
Priyank Maheshwari [Fri, 20 Dec 2024 10:49:32 +0000 (10:49 +0000)]
Merge "Add schema to persist notification subscription information"
Toine Siebelink [Fri, 20 Dec 2024 09:49:39 +0000 (09:49 +0000)]
Merge "Remove check before removing from hazelcast cache"
rajesh.kumar [Mon, 30 Sep 2024 12:41:47 +0000 (18:11 +0530)]
Add schema to persist notification subscription information
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>
Toine Siebelink [Thu, 19 Dec 2024 16:09:23 +0000 (16:09 +0000)]
Merge "Cps and Ncmp distributed lock for various use cases"
mpriyank [Wed, 27 Nov 2024 14:43:28 +0000 (14:43 +0000)]
Cps and Ncmp distributed lock for various use cases
- 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>
Lee Anjella Macabuhay [Thu, 19 Dec 2024 13:13:51 +0000 (13:13 +0000)]
Merge "RTD docs for async use case"
emaclee [Thu, 19 Dec 2024 12:25:56 +0000 (12:25 +0000)]
Remove check before removing from hazelcast cache
Issue-ID: CPS-2420
Change-Id: I2299d5790792f7c2b2b1a6aa371b5ea43c6a9ee8
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
mpriyank [Thu, 19 Dec 2024 10:48:12 +0000 (10:48 +0000)]
RTD docs for async use case
- 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>
emaclee [Thu, 19 Dec 2024 09:31:43 +0000 (09:31 +0000)]
Hazelcast related code update
- 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>
Lee Anjella Macabuhay [Fri, 13 Dec 2024 09:32:29 +0000 (09:32 +0000)]
Merge "Implementation of Data validation feature in CPS APIs"
Toine Siebelink [Thu, 12 Dec 2024 09:27:28 +0000 (09:27 +0000)]
Merge "Increase Test coverage for cps-ncmp-service"
Rudrangi Anupriya [Mon, 2 Dec 2024 10:07:07 +0000 (15:37 +0530)]
Implementation of Data validation feature in CPS APIs
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>
seanbeirne [Wed, 4 Dec 2024 16:23:11 +0000 (16:23 +0000)]
Increase Test coverage for cps-ncmp-service
Issue-ID: CPS-475
Change-Id: I35f127540e0fe5d412a9f855b647fef30f47159f
Signed-off-by: seanbeirne <sean.beirne@est.tech>
Lee Anjella Macabuhay [Wed, 11 Dec 2024 12:38:53 +0000 (12:38 +0000)]
Merge "Policy Executor API Review Board Comments"
Lee Anjella Macabuhay [Wed, 11 Dec 2024 09:49:57 +0000 (09:49 +0000)]
Merge "Extend the container-up time after the tests finished"
ToineSiebelink [Mon, 9 Dec 2024 11:22:29 +0000 (11:22 +0000)]
Policy Executor API Review Board Comments
- 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>
halil.cakal [Mon, 9 Dec 2024 17:38:35 +0000 (17:38 +0000)]
Extend the container-up time after the tests finished
- 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>
leventecsanyi [Tue, 3 Dec 2024 09:45:57 +0000 (10:45 +0100)]
Separated inventoryFacade to Interface and Impl
- created NetworkCmProxyInventoryFacade IF
Issue-ID: CPS-2513
Change-Id: Ibda2d7899514ee22d4b04cad971e107bfccce2df
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
Toine Siebelink [Tue, 10 Dec 2024 10:21:07 +0000 (10:21 +0000)]
Merge "Hazelcast Optimisation"
emaclee [Mon, 9 Dec 2024 13:00:25 +0000 (13:00 +0000)]
Hazelcast Optimisation
Issue-ID: CPS-2420
Change-Id: I707e0fbbddeb4ddc7c573a2b3ebd8fbca08126a6
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
Toine Siebelink [Mon, 9 Dec 2024 08:38:31 +0000 (08:38 +0000)]
Merge "[k6] Use constant arrival rate"
danielhanrahan [Fri, 1 Nov 2024 17:36:42 +0000 (17:36 +0000)]
[Module Sync] Store CM-handle IDs in work queue
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
danielhanrahan [Thu, 5 Dec 2024 00:06:24 +0000 (00:06 +0000)]
[k6] Use constant arrival rate
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
leventecsanyi [Tue, 26 Nov 2024 14:29:45 +0000 (15:29 +0100)]
Moved common classes under the api package under api
- 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>
Toine Siebelink [Thu, 5 Dec 2024 08:49:05 +0000 (08:49 +0000)]
Merge "Add persistent storage to prometheus"
seanbeirne [Mon, 2 Dec 2024 11:33:36 +0000 (11:33 +0000)]
Inventory Persistance returns YangModelCmHandles for alternate Ids
-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>
Toine Siebelink [Wed, 4 Dec 2024 16:38:45 +0000 (16:38 +0000)]
Merge "[BUG] Effective trust factors in DMI trust level"
Toine Siebelink [Wed, 4 Dec 2024 15:18:33 +0000 (15:18 +0000)]
Merge "Add tests of attribute-axis feature"
danielhanrahan [Wed, 4 Dec 2024 14:37:26 +0000 (14:37 +0000)]
[BUG] Effective trust factors in DMI trust level
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
halil.cakal [Tue, 26 Nov 2024 16:33:46 +0000 (16:33 +0000)]
Add persistent storage to prometheus
- 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>
Daniel Hanrahan [Wed, 4 Dec 2024 13:29:46 +0000 (13:29 +0000)]
Merge "Plot metrics for each cps-and-ncmp instance separately in Grafana"
halil.cakal [Wed, 4 Dec 2024 10:12:02 +0000 (10:12 +0000)]
Plot metrics for each cps-and-ncmp instance separately in Grafana
- 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>
Daniel Hanrahan [Wed, 4 Dec 2024 10:38:42 +0000 (10:38 +0000)]
Merge "Improve test coverage trustlevel manager"
Daniel Hanrahan [Wed, 4 Dec 2024 09:36:23 +0000 (09:36 +0000)]
Merge "Add comments to (describe) all Liquibase steps"
ToineSiebelink [Tue, 3 Dec 2024 18:29:25 +0000 (18:29 +0000)]
Improve test coverage trustlevel manager
Issue-ID: CPS-475
Change-Id: I572227b4f6c61bd2286d8cb3fb85c3dc21142a47
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
ToineSiebelink [Thu, 28 Nov 2024 11:04:40 +0000 (11:04 +0000)]
Add comments to (describe) all Liquibase steps
Issue-ID: CPS-776
Change-Id: I768da4e9d9a1e75d2cc1fa879a5237efb4c7421f
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
mpriyank [Tue, 3 Dec 2024 16:08:25 +0000 (16:08 +0000)]
Added performance section and updated api version
- 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>
danielhanrahan [Mon, 2 Dec 2024 14:49:10 +0000 (14:49 +0000)]
Add tests of attribute-axis feature
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
Priyank Maheshwari [Tue, 3 Dec 2024 13:26:09 +0000 (13:26 +0000)]
Merge "[Cps Path Parser] Introduce Attribute axis"
Toine Siebelink [Tue, 3 Dec 2024 10:28:46 +0000 (10:28 +0000)]
Merge "Faster CM-handle searches using Hazelcast optimization"