cps.git
2 days agoStage #5 of release process 26/142926/3
seanbeirne [Wed, 14 Jan 2026 13:25:43 +0000 (13:25 +0000)]
Stage #5 of release process

Issue-ID: CPS-3120
Change-Id: I21524eddcbc488262357f2bc964ae9bd74b04070
Signed-off-by: seanbeirne <sean.beirne@est.tech>
2 days agoMerge "Update Release Notes for Release 3.7.4"
Lee Anjella Macabuhay [Thu, 15 Jan 2026 10:58:33 +0000 (10:58 +0000)]
Merge "Update Release Notes for Release 3.7.4"

2 days agoUpdate Release Notes for Release 3.7.4 33/142933/1
seanbeirne [Thu, 15 Jan 2026 10:00:21 +0000 (10:00 +0000)]
Update Release Notes for Release 3.7.4

Issue-ID: CPS-3120
Change-Id: I2b64c796c1f61db99eb8d7cf000a89a727b1986b
Signed-off-by: seanbeirne <sean.beirne@est.tech>
2 days agoEnsure delete has target MO in resource identifier, not the parent 32/142932/1
ToineSiebelink [Thu, 15 Jan 2026 09:27:27 +0000 (09:27 +0000)]
Ensure delete has target MO in resource identifier, not the parent

Issue-ID: CPS-3130
Change-Id: Ie343a0221d2daee9b8ea46eb4c2df80e9721aa97
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
3 days agoMerge "Fix issues missed by checkstyle"
Lee Anjella Macabuhay [Wed, 14 Jan 2026 17:43:06 +0000 (17:43 +0000)]
Merge "Fix issues missed by checkstyle"

3 days agoFix issues missed by checkstyle 30/142930/1
ToineSiebelink [Wed, 14 Jan 2026 16:29:40 +0000 (16:29 +0000)]
Fix issues missed by checkstyle

- Added a module in our checkstyle config to check for unused variable
  (very surprised this was never there)
- the missing finals in ProvMnSException were a false positive since there was a @NoArgsContructor
  (surprised Sonar didnt realize that)
- it was still a code smell though and I refactored the code so we didn't need the allArgsConstructor anymore (nor setters)
- also fixed valid warning on access level noArgsCosntructor (checkstyle never caught those before so that's ok)

Issue-ID: CPS-3128
Change-Id: I6acc5bd9bc6bd18f30a346e8049ce6ee456c580a
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
3 days agoForward authorization header from ProvMnS to Policy Executor 29/142929/4
seanbeirne [Wed, 14 Jan 2026 16:00:46 +0000 (16:00 +0000)]
Forward authorization header from ProvMnS to Policy Executor

- Forwards with no validation to Policy Executor
- Logs authorization in policy executor stub

Issue-ID: CPS-3129
Change-Id: I74014bba3848534df42262a9a8397cd99d5ac2cb
Signed-off-by: seanbeirne <sean.beirne@est.tech>
3 days agoMerge "Fix Response code returned by Apply Delta Report API"
Toine Siebelink [Wed, 14 Jan 2026 13:35:38 +0000 (13:35 +0000)]
Merge "Fix Response code returned by Apply Delta Report API"

3 days agoMerge "Update Release Notes for Release 3.7.4"
Lee Anjella Macabuhay [Wed, 14 Jan 2026 12:25:49 +0000 (12:25 +0000)]
Merge "Update Release Notes for Release 3.7.4"

3 days agoUpdate Release Notes for Release 3.7.4 25/142925/1
seanbeirne [Wed, 14 Jan 2026 11:48:34 +0000 (11:48 +0000)]
Update Release Notes for Release 3.7.4

Issue-ID: CPS-3120
Change-Id: Iaca7bc383f5ad99c8c8dea4ca14903b9cf3688c7
Signed-off-by: seanbeirne <sean.beirne@est.tech>
3 days agoMerge "Handling null source and target data in CloudEventData."
Lee Anjella Macabuhay [Wed, 14 Jan 2026 11:22:15 +0000 (11:22 +0000)]
Merge "Handling null source and target data in CloudEventData."

3 days agoMerge "Increase Buffer size for NCMP and DMI to 64MB"
Toine Siebelink [Wed, 14 Jan 2026 11:21:10 +0000 (11:21 +0000)]
Merge "Increase Buffer size for NCMP and DMI to 64MB"

3 days agoIncrease Buffer size for NCMP and DMI to 64MB 22/142922/1
seanbeirne [Wed, 14 Jan 2026 10:21:23 +0000 (10:21 +0000)]
Increase Buffer size for NCMP and DMI to 64MB

Issue-ID: CPS-3076
Change-Id: I05e354d05f2e8c6a4d21d4bb031e8c7132095f76
Signed-off-by: seanbeirne <sean.beirne@est.tech>
3 days agoMerge "Update Postman to include working PATCH request on ProvMnS"
Toine Siebelink [Wed, 14 Jan 2026 09:59:23 +0000 (09:59 +0000)]
Merge "Update Postman to include working PATCH request on ProvMnS"

4 days agoHandling null source and target data in CloudEventData. 16/142816/8
Sourabh Verma [Mon, 5 Jan 2026 11:53:43 +0000 (17:23 +0530)]
Handling null source and target data in CloudEventData.

-A delta report with null or empty source/target would generate a cloud event with null source and target data.

-The patch fixed the issue and the source and target data in cloud event are populated only when they are present in delta report.

Issue-ID: CPS-3105
Change-Id: Ic76004fdcf4e2f63cdf415f2fc7645203ba17258
Signed-off-by: Sourabh Verma <sv001010507@techmahindra.com>
4 days agoRevert removing buildOperationDetailsForPatchItem for patch item replace 20/142920/1
seanbeirne [Tue, 13 Jan 2026 19:59:23 +0000 (19:59 +0000)]
Revert removing buildOperationDetailsForPatchItem for patch item replace

Issue-ID: CPS-3119
Change-Id: I84fc34aefbc19b30e3a825d444f4e1328218cbf7
Signed-off-by: seanbeirne <sean.beirne@est.tech>
4 days agoMerge "ProvMnS: Update Documentation"
Toine Siebelink [Tue, 13 Jan 2026 18:30:14 +0000 (18:30 +0000)]
Merge "ProvMnS: Update Documentation"

4 days agoMerge "ProvMnS correct parameters send to PolicyExecutor(class)"
Toine Siebelink [Tue, 13 Jan 2026 18:26:00 +0000 (18:26 +0000)]
Merge "ProvMnS correct parameters send to PolicyExecutor(class)"

4 days agoProvMnS correct parameters send to PolicyExecutor(class) 18/142918/5
seanbeirne [Tue, 13 Jan 2026 11:37:30 +0000 (11:37 +0000)]
ProvMnS correct parameters send to PolicyExecutor(class)

- Improved Policy Executor unit test to include request body check
- remove AlternateId prefix from ResourceIdentifier
- remove wrapping of changeRequest

Issue-ID: CPS-3119
Change-Id: I4e0e159e180b09a82c9702035bdef625750f8521
Signed-off-by: seanbeirne <sean.beirne@est.tech>
4 days agoProvMnS: Update Documentation 13/142913/2
ToineSiebelink [Mon, 12 Jan 2026 17:36:51 +0000 (17:36 +0000)]
ProvMnS: Update Documentation

Issue-ID: CPS-2706
Change-Id: I6dc66c09318b8dc4683885baafd1c55ed33325ef
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
4 days agoMerge "Remove duplicate clean up"
Toine Siebelink [Tue, 13 Jan 2026 17:08:52 +0000 (17:08 +0000)]
Merge "Remove duplicate clean up"

4 days agoMerge "Update Latest Release of 3GPP ProvMnS interface in NCMP"
Toine Siebelink [Tue, 13 Jan 2026 11:44:36 +0000 (11:44 +0000)]
Merge "Update Latest Release of 3GPP ProvMnS interface in NCMP"

4 days agoUplift Springboot 14/142914/1
emaclee [Tue, 13 Jan 2026 10:06:41 +0000 (10:06 +0000)]
Uplift Springboot

- from version 3.5.6 to 3.5.9

Issue-ID: CPS-3118
Change-Id: I495c4a06b9ba37ae1e1d7ad8a141f0beb4bee6fb
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
5 days agoUpdate Latest Release of 3GPP ProvMnS interface in NCMP 10/142910/1
seanbeirne [Mon, 12 Jan 2026 16:46:43 +0000 (16:46 +0000)]
Update Latest Release of 3GPP ProvMnS interface in NCMP

- Change from master branch of 3GPP to Tagged version

Issue-ID: CPS-3102
Change-Id: Ie6cc971d7f3cc7c4e4d99863a00623db2591f5ba
Signed-off-by: seanbeirne <sean.beirne@est.tech>
5 days agoUpdate Postman to include working PATCH request on ProvMnS 66/142866/7
seanbeirne [Wed, 7 Jan 2026 15:31:06 +0000 (15:31 +0000)]
Update Postman to include working PATCH request on ProvMnS

- Patch Request includes add, replace & remove
- CmHandle Not Ready Requests with 'errorTag' module set tag

Issue-ID: CPS-2826
Change-Id: I48a56b911a63be7f5648b3d9cc5724e44ca9d257
Signed-off-by: seanbeirne <sean.beirne@est.tech>
5 days agoMerge "Demo improvement: output request details as nice json in Policy Executor Stub"
Lee Anjella Macabuhay [Mon, 12 Jan 2026 10:57:19 +0000 (10:57 +0000)]
Merge "Demo improvement: output request details as nice json in Policy Executor Stub"

5 days agoDemo improvement: output request details as nice json in Policy Executor Stub 97/142897/2
ToineSiebelink [Fri, 9 Jan 2026 16:41:34 +0000 (16:41 +0000)]
Demo improvement: output request details as nice json in Policy Executor Stub

Issue-ID: CPS-2826
Change-Id: Ia67f3cd8086a58ef0daad308fca9f326edb60b2f
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
5 days agoRemove duplicate clean up 16/142916/1
emaclee [Mon, 12 Jan 2026 10:07:18 +0000 (10:07 +0000)]
Remove duplicate clean up

- duplicated clean up as a seperate jenkins job will run teardown
- aligned with 24930: [CPS] Modify duplicate repo cloning | https://gerrit.nordix.org/c/infra/cicd/+/24930

Issue-ID: CPS-3113
Change-Id: Ia11bea9f369d218e0ebcf84e1b5bd1df9327fc40
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
8 days agoMerge "Fix bugs for Policy Executor requests:"
Lee Anjella Macabuhay [Fri, 9 Jan 2026 16:10:44 +0000 (16:10 +0000)]
Merge "Fix bugs for Policy Executor requests:"

8 days agoFix bugs for Policy Executor requests: 95/142895/2
ToineSiebelink [Thu, 8 Jan 2026 13:22:35 +0000 (13:22 +0000)]
Fix bugs for Policy Executor requests:

- applied naming convention, main ones:
  requestParameters.fdn() For fdn from URI and or extendedFdn in case of patch -operation
  (extended)path for anything that might have attributes
  only use terms "resourceIdentifier" and "targetIdentifier" JUST before calling Policy Execution method
- Ensure path for each patch operation is appended to target FDN
- DeleteOperationDetails is not needed, using blank default instead
- So only one type of OperationDetails required, so removed interface and renamed the only impl.
- Refactored code to correctly handle possible child paths in patchItems
- hardcoded attribute conversion to object for standard /attributes without #
- objectName in body for patch is optional, should be same as in URI, id should be same too. So we CAN ignore (no validation!)
- added convenience method for getting parent or targetFdn (when /attributes is used)
- added convenience method for removing trailing # (when #/attributes is used)
- renamed ParameterMapper to Helper as it is more generic now. Also made is static for easier access

TODO
- Check URL send to DMI (test!) when using (#)/attributes

Decisions Csaba K (to record in Wiki)
- (#)/attributes is NOT allowed in get or create or delete
- (#)/attributes is NOT compulsory for Patch.replace and Patch.uppate
- (#)/attributes should NOT be in URI to PolicyExecutor (targetIdentifier)

Issue-ID: CPS-2826
Change-Id: Icd1dbcd6033b79019d35d6cb68c1d6caee64fb01
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
9 days agoFix Response code returned by Apply Delta Report API 42/142742/12
Sourabh Verma [Fri, 12 Dec 2025 11:46:30 +0000 (17:16 +0530)]
Fix Response code returned by Apply Delta Report API

-Changed response message when syntactically wrong json used.
-Added Response Code and Exception messages for invalid xpath,invalid action,semantically wrong json and executing same request in delta report.

Issue-ID: CPS-3098
Change-Id: Ic76004fdcf7e9f63cdf415f8da7641016ba17258
Signed-off-by: Sourabh Verma <sv001010507@techmahindra.com>
9 days agoMerge "Fix bug for Patch errors; badOp populated incorrectly"
Lee Anjella Macabuhay [Thu, 8 Jan 2026 12:38:44 +0000 (12:38 +0000)]
Merge "Fix bug for Patch errors; badOp populated incorrectly"

9 days agoMerge "Change copyright information to Deutsche Telekom AG"
Lee Anjella Macabuhay [Thu, 8 Jan 2026 11:44:35 +0000 (11:44 +0000)]
Merge "Change copyright information to Deutsche Telekom AG"

9 days agoFix bug for Patch errors; badOp populated incorrectly 70/142870/1
ToineSiebelink [Thu, 8 Jan 2026 11:16:34 +0000 (11:16 +0000)]
Fix bug for Patch errors; badOp populated incorrectly

Issue-ID: CPS-2826
Change-Id: I34ac7f26c9b081c77bfbb2ba2fc18edf583e3d7d
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
9 days agoChange copyright information to Deutsche Telekom AG 17/142817/3
Arpit Singh6 [Thu, 8 Jan 2026 05:27:45 +0000 (10:57 +0530)]
Change copyright information to Deutsche Telekom AG

As per DT team requirement all the copyright statements need to be
changed from the ownership of TechMahindra Ltd. to Deutsche Telekom AG.

- Replace copyright text from:
  - TechMahindra Ltd
- To:
  - Deutsche Telekom AG

Issue-ID: CPS-3110
Change-Id: I8588752e37ed58e354c36f3059dc4923d05a14b7
Signed-off-by: Arpit Singh6 <AS00745003@techmahindra.com>
10 days agoMerge "dmi-stub-2 restart issue and "Connection refused exception""
Lee Anjella Macabuhay [Wed, 7 Jan 2026 17:40:33 +0000 (17:40 +0000)]
Merge "dmi-stub-2 restart issue and "Connection refused exception""

10 days agoMerge "Ensure all ProvMnsExceptions map to a 3GPP Type"
Lee Anjella Macabuhay [Wed, 7 Jan 2026 17:39:33 +0000 (17:39 +0000)]
Merge "Ensure all ProvMnsExceptions map to a 3GPP Type"

10 days agoMerge "Revert "Implement Exactly Once Semantics for CmAvcEvents flow""
Toine Siebelink [Wed, 7 Jan 2026 17:34:25 +0000 (17:34 +0000)]
Merge "Revert "Implement Exactly Once Semantics for CmAvcEvents flow""

10 days agoEnsure all ProvMnsExceptions map to a 3GPP Type 65/142865/3
ToineSiebelink [Wed, 7 Jan 2026 12:08:19 +0000 (12:08 +0000)]
Ensure all ProvMnsExceptions map to a 3GPP Type

- Added missing types in map
- Ensure each type is asserted ProvMnSControllerSpec
- Used static imports for http error codes in ProvMnSController and Spec for easier checking of which are used and testes

Issue-ID: CPS-3093
Change-Id: I9340226a53950af08230ff7d77036d46b8130513
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
10 days agodmi-stub-2 restart issue and "Connection refused exception" 67/142867/2
egernug [Wed, 7 Jan 2026 15:49:50 +0000 (15:49 +0000)]
dmi-stub-2 restart issue and "Connection refused exception"

- Fixed Template Structure
- Standardized Port Configuration (unified container ports 8092)
- Added actuator environment variables
- Configured working probes
- The setup now provides two independent DMI stub services with reliable health monitoring and external access.

Issue-ID: CPS-3056

Change-Id: I7e4b7db4c0e29ab887597ef5f8ba16778f4d74d2
Signed-off-by: egernug <gerard.nugent@est.tech>
10 days agoREMOVE (#)/attribute validation based on content-type 63/142863/2
ToineSiebelink [Tue, 6 Jan 2026 16:45:12 +0000 (16:45 +0000)]
REMOVE (#)/attribute validation based on content-type

- removed validation and test (as agreed in meeting with stakeholder today)
- Add test for last missing code branch :-D (and cleaned it up!)

Issue-ID: CPS-3099
Change-Id: If5f4aae7d51df9854f7212ec76148f13aaf5b6b6
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
10 days agoRevert "Implement Exactly Once Semantics for CmAvcEvents flow" 64/142864/2
emaclee [Tue, 6 Jan 2026 09:53:54 +0000 (09:53 +0000)]
Revert "Implement Exactly Once Semantics for CmAvcEvents flow"

This reverts commit bab08c745e60f339107bb8265d2e198702f85742.

Issue-ID: CPS-3103
Change-Id: Ifd17870ead776dab9a813c6f628efdeb57feba57
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
10 days agoMerge "Postman and Stub updates for testing ProvMns Error handling"
Lee Anjella Macabuhay [Wed, 7 Jan 2026 13:17:13 +0000 (13:17 +0000)]
Merge "Postman and Stub updates for testing ProvMns Error handling"

10 days agoPostman and Stub updates for testing ProvMns Error handling 61/142861/3
ToineSiebelink [Tue, 6 Jan 2026 09:24:14 +0000 (09:24 +0000)]
Postman and Stub updates for testing ProvMns Error handling

- Aligned PolicyExecutor Stub simulations with DMI Stub
- Add Simulation for Policy Denial in Stub PE Controller
- Postman updates: Data (ProvMnS) folder, including:
  - get, put, del success scenarios
  - get, put, del error and deny scenarios
NOTE Enable Policy Executor (env variable) to test/demo deny scenarios!
- Also contains fix for double slash (will disappear once separate for commit for that is merged)
TODO
- PostMan Patch scenarios will be done in separate commit by Sean as it requires DMI Stub update too

Issue-ID: CPS-2707
Change-Id: I97f801e3de73062acaf0b6cf122be6e0a104974e
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
10 days agoMerge "Update latest release of 3GPP ProvMnS interface"
Lee Anjella Macabuhay [Wed, 7 Jan 2026 12:48:33 +0000 (12:48 +0000)]
Merge "Update latest release of 3GPP ProvMnS interface"

11 days agoUpdate latest release of 3GPP ProvMnS interface 46/142846/7
seanbeirne [Mon, 5 Jan 2026 13:47:04 +0000 (13:47 +0000)]
Update latest release of 3GPP ProvMnS interface

- badOP -> badOp
- 204 response code on delete
- Changes made to make Patch error responses compatible with required
  badOp
- Unintended OpenApi yaml file changes made, legacy changes from
  previous commits

Change-Id: I287a11642f7b58112b1bf5440546fb1c7ac7fde0
Signed-off-by: seanbeirne <sean.beirne@est.tech>
11 days agoRemoved extra slash on outgoing fdn 58/142858/1
seanbeirne [Tue, 6 Jan 2026 09:34:41 +0000 (09:34 +0000)]
Removed extra slash on outgoing fdn

- Extra preceding slash added for longest match search
- Now will be removed when forwarding to dmi

Issue-ID: CPS-2707
Change-Id: Id81bb18ce0718dc7b63beb2a71ddebe1311e4cd5
Signed-off-by: seanbeirne <sean.beirne@est.tech>
12 days agofix: 100% code coverage for ParameterMapper 43/142843/1
emaclee [Mon, 5 Jan 2026 13:29:16 +0000 (13:29 +0000)]
fix: 100% code coverage for ParameterMapper

Issue-ID: CPS-3093
Change-Id: I7eefa3cf389d10b737a990704de74e8c455ff839
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2 weeks agoMerge "Revert docker compose config to 2 instances"
Lee Anjella Macabuhay [Fri, 2 Jan 2026 11:27:08 +0000 (11:27 +0000)]
Merge "Revert docker compose config to 2 instances"

2 weeks agoRevert docker compose config to 2 instances 40/142840/1
seanbeirne [Fri, 2 Jan 2026 10:57:54 +0000 (10:57 +0000)]
Revert docker compose config to 2 instances

Issue-ID: CPS-3093
Change-Id: Id0a4390d3062eff62712e39bf065967386e6e87a
Signed-off-by: seanbeirne <sean.beirne@est.tech>
2 weeks agoMerge "Adjust timing for Delta Report performance test and make OpenROADM test data...
Lee Anjella Macabuhay [Fri, 2 Jan 2026 08:42:26 +0000 (08:42 +0000)]
Merge "Adjust timing for Delta Report performance test and make OpenROADM test data deterministic"

3 weeks agoRefactor ProvMnS error handling and simplify request parameters 83/142783/3
ToineSiebelink [Thu, 11 Dec 2025 16:10:20 +0000 (16:10 +0000)]
Refactor ProvMnS error handling and simplify request parameters

This update covers several tickets: CPS-3078, CPS-3093, CPS-3095, CPS-3096, CPS-3099
- Consolidate error handling in ProvMnSRestExceptionHandler
  - changed reason to title
- Remove ErrorResponseBuilder and integrate functionality into exception handler
- Refactor ProvMnsController and centralize error handling into 1 common method. including
  - correct code for Policy Executor denial
  - handle timeouts
  - handle all other exceptions
  - handle #/attribute reference validation depending on content type
- Enhance ProvMnSException with additional error handling capabilities
  use ProvMnSException to store the information to create the correct error response
- Simplify OperationDetailsFactory implementation

TODO: Remove docker config updates for debugging
TODO Lee Anjella
   - Check if a mapping to type is available for every possible statuscode in provMnsExceptions
   - COVREAGE 100% MIsine exception in ParameterMapper.java

Issue-ID: CPS-3093
Change-Id: Ic5ed5a8502ebf74166c73c037884979f468cdb8d
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
3 weeks agoMerge "fix: Reduce high cardinality in ProvMnS API client metrics"
Toine Siebelink [Mon, 22 Dec 2025 17:51:53 +0000 (17:51 +0000)]
Merge "fix: Reduce high cardinality in ProvMnS API client metrics"

3 weeks agofix: Reduce high cardinality in ProvMnS API client metrics 90/142790/5
emaclee [Mon, 22 Dec 2025 13:42:59 +0000 (13:42 +0000)]
fix: Reduce high cardinality in ProvMnS API client metrics

- Add ClientRequestMetricsTagCustomizer to template FDN values in URI metrics
- Apply custom metrics handler to DMI WebClients
- Template URI from /ProvMnS/v1/SubNetwork=A/ManagedElement=E to /ProvMnS/v1/{fdn}
- Preserve query parameters as templates for operational visibility
- Fix existing tests to handle new WebClient configuration dependencies

Issue-ID: CPS-3067
Change-Id: I98b972a9d84f6e6710e82ae73bc5499771c3a340
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
4 weeks agoMerge "Add dmi-properties to integration test"
Lee Anjella Macabuhay [Fri, 19 Dec 2025 09:48:28 +0000 (09:48 +0000)]
Merge "Add dmi-properties to integration test"

4 weeks agoMerge "Part 2: Add delta report in Kafka notification"
Lee Anjella Macabuhay [Fri, 19 Dec 2025 09:47:44 +0000 (09:47 +0000)]
Merge "Part 2: Add delta report in Kafka notification"

4 weeks agoAdjust timing for Delta Report performance test and make OpenROADM test data determin... 09/142809/4
Arpit Singh [Thu, 18 Dec 2025 05:21:11 +0000 (10:51 +0530)]
Adjust timing for Delta Report performance test and make OpenROADM test data deterministic

- Adjusted timing for Delta Report performance test to account for changes
  observed after isolating anchors within DeltaPerfTest.
- Change applies to Delta between 2 anchors test
- Modified approach for creating modified OpenROADM test data:
  - Replaced random generation with deterministic logic
  - Ensures consistent and reliable performance test results

Issue-ID: CPS-3101
Change-Id: Ic64e242d400915a958b9817407a3b0fa991b86a7
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
4 weeks agoPart 2: Add delta report in Kafka notification 67/142267/19
Arpit Singh [Thu, 30 Oct 2025 13:06:16 +0000 (18:36 +0530)]
Part 2: Add delta report in Kafka notification

Added support for delta report in kafka notifications for CPS core
endpoints.
The following methods are supported in this path:
 - saveData, saveListElements,
   updateNodeLeavesAndExistingDescendantLeaves, updateNodeLeaves,
   updateDataNodeAndDescendants, replaceListContent, deleteDataNode,
   deleteListOrListElement, deleteDataNodes.
The following methods are not supported in this patch:
 - updateDataNodesAndDescendants, deleteDataNodes
 As they need a separate method to generate delta report and then send
 the notifications, which can be done as a separate patch.

Issue-ID: CPS-3026
Change-Id: I28700c67df55e8e19754d7ca9e9a1aab5540fc71
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
4 weeks agoMerge "Bug: k6 logs not saving"
Toine Siebelink [Wed, 17 Dec 2025 13:16:42 +0000 (13:16 +0000)]
Merge "Bug: k6 logs not saving"

4 weeks agoAdd dmi-properties to integration test 80/142780/1
egernug [Wed, 17 Dec 2025 12:36:40 +0000 (12:36 +0000)]
Add dmi-properties to integration test

Issue-ID: CPS-3061

Change-Id: I1dbf82bf6674875242f640f36caeedfcb7668764
Signed-off-by: egernug <gerard.nugent@est.tech>
4 weeks agoBug: k6 logs not saving 78/142778/2
emaclee [Tue, 16 Dec 2025 19:06:09 +0000 (19:06 +0000)]
Bug: k6 logs not saving

- renamed make-logs.sh to archive-logs.sh
- refactored archive-logs.sh for better readability
- implemented log file numbering with newest files first
- modified so only one zip folder for each test run; zip folder
  contains all services logs
- improve timestamp format for better readability
- moved log collection action from teardown to main script
  exit handler
- ensure logs are captured regardless of test outcome

Issue-ID:CPS-3079
Change-Id: I6d90c9be95ea61c29a1fa2ecdc4ea4d022420e85
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
4 weeks agoMerge "Migrate cm-handles.additional-properties to cm-handles.dmi-properties"
Toine Siebelink [Wed, 17 Dec 2025 11:05:29 +0000 (11:05 +0000)]
Merge "Migrate cm-handles.additional-properties to cm-handles.dmi-properties"

4 weeks agoMerge "Fix: update documentation for CPS-2428 notification subscription APIs"
Toine Siebelink [Tue, 16 Dec 2025 10:58:43 +0000 (10:58 +0000)]
Merge "Fix: update documentation for CPS-2428 notification subscription APIs"

4 weeks agoMigrate cm-handles.additional-properties to cm-handles.dmi-properties 54/142754/4
egernug [Tue, 9 Dec 2025 12:26:42 +0000 (12:26 +0000)]
Migrate cm-handles.additional-properties to cm-handles.dmi-properties

- Split bulkUpdateCmHandleStatesAndProperties and updateCmHandleFields to perform separate tasks
- updateCmHandleFields updates fields in previous use cases
- bulkUpdateCmHandleStatesAndProperties only updates fields for migration purposes
- Added dmiProperties to CmHandleStateAndDmiPropertiesUpdate
- Added convertAdditionalPropertiesToJson to convert additionalProperties to dmiProperties

Issue-ID: CPS-3063

Change-Id: I7560a289150147d1cda40e75a41d52c2723316e8
Signed-off-by: egernug <gerard.nugent@est.tech>
4 weeks agoMerge "Isolate Delta Report performance test data"
Toine Siebelink [Tue, 16 Dec 2025 09:03:29 +0000 (09:03 +0000)]
Merge "Isolate Delta Report performance test data"

4 weeks agoIsolate Delta Report performance test data 65/142665/3
Arpit Singh [Wed, 10 Dec 2025 05:13:38 +0000 (10:43 +0530)]
Isolate Delta Report performance test data

- Delta report performance tests shared openroadm anchor with other
  performance tests in CPS.
- The patch removes the use of openroadm anchors for Delta Report
  performance tests.
- Delta Report performance tests now use two independent anchors as
  source and target: delta-report-anchor and openroadm-modified.
- Both the anchors are deleted once the Delta Report tests finish
  executing.
- Removed @Ignore from first Delta Report test to check if there is any
  impact on other CPS performance tests.

Issue-ID: CPS-3092
Change-Id: Ib1107329973d58cb4b90091f4983d3f42e07a3d7
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
5 weeks agoFix: update documentation for CPS-2428 notification subscription APIs 68/142668/4
Arpit Singh [Wed, 10 Dec 2025 12:25:38 +0000 (17:55 +0530)]
Fix: update documentation for CPS-2428 notification subscription APIs

Three APIs were added to manage CPS notifications:
- Create notification subscription
- Get notification subscription
- Delete notification subscription

Swagger examples were outdated and did not reflect the correct fields.
Updated documentation to ensure accurate examples for successful API execution.

- Added missing Javadoc in notification subscription class for better clarity.

Issue-ID: CPS-3094
Change-Id: I740b7721d8cfe4cea38a9da014b99989e3e13027
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
5 weeks agoFix Null Pointer Exception during LCM Event Metric Recording 24/142724/2
ToineSiebelink [Wed, 10 Dec 2025 15:34:36 +0000 (15:34 +0000)]
Fix Null Pointer Exception during LCM Event Metric Recording

- Add null check when recording metric for unknown states (initial create and delete use cases)
- Extend Create Integration test to verify the (number of) recording metrics
- Moved Instrumentation bean to integration testbase as it is now used in several test classes
- Update version of docker test container to latest (part of troubleshooting with Docker for windows integration)
- Clean up some legacy issues in related integration testware
  - unnecessary and distracting spacing
  - correct use of #testValue in descriptions

Issue-ID:CPS-3088

Change-Id: Ic1163e33606ee2fe2c4e136e63282708a4625f60
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
5 weeks agoMerge "Update Patch Operation to make multiple calls to Policy Executor"
Toine Siebelink [Tue, 9 Dec 2025 16:11:32 +0000 (16:11 +0000)]
Merge "Update Patch Operation to make multiple calls to Policy Executor"

5 weeks agoUpdate Patch Operation to make multiple calls to Policy Executor 34/142634/4
leventecsanyi [Wed, 3 Dec 2025 12:21:56 +0000 (13:21 +0100)]
Update Patch Operation to make multiple calls to Policy Executor

  - refatored OperationDetailsFactory
  - updated testware

Issue-ID: CPS-3071
Change-Id: Ic078c7c8125dc1424e3c9e379fc617b07b8f6fec
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
5 weeks agoAccept single-element FDN in the ProvMnS interface 93/142693/2
leventecsanyi [Mon, 8 Dec 2025 11:39:37 +0000 (12:39 +0100)]
Accept single-element FDN in the ProvMnS interface

 - removed extra validation to accept simple FDNs

Issue-ID: CPS-3077
Change-Id: I67d19d45957e4cfa11b9776bdc42f5253b9593aa
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
5 weeks agoMerge "refactor: Remove LcmEventHeader parameter from sendLcmEvent method"
Lee Anjella Macabuhay [Mon, 8 Dec 2025 10:40:10 +0000 (10:40 +0000)]
Merge "refactor: Remove LcmEventHeader parameter from sendLcmEvent method"

5 weeks agoMerge "Update current expectation for k6 tests #3"
Toine Siebelink [Mon, 8 Dec 2025 10:38:57 +0000 (10:38 +0000)]
Merge "Update current expectation for k6 tests #3"

5 weeks agoUpdate current expectation for k6 tests #3 85/142685/1
halil.cakal [Mon, 8 Dec 2025 09:05:14 +0000 (09:05 +0000)]
Update current expectation for k6 tests #3

- The new values (current expectation) is adjusted according to avarage
  value of test results after excluding the peaks (while other tests are
also running in parallel)

Issue-ID: CPS-2697

Change-Id: I7e929d188dc0d4b90a95e7d884b4583b0f4ee7db
Signed-off-by: halil.cakal <halil.cakal@est.tech>
5 weeks agoBump lfit/releng-reusable-workflows/.github/workflows/reuse-openssf-scorecard.yaml 77/142677/1
dependabot[bot] [Mon, 8 Dec 2025 00:24:10 +0000 (00:24 +0000)]
Bump lfit/releng-reusable-workflows/.github/workflows/reuse-openssf-scorecard.yaml

Bumps [lfit/releng-reusable-workflows/.github/workflows/reuse-openssf-scorecard.yaml](https://github.com/lfit/releng-reusable-workflows) from 0.2.26 to 0.2.28.
- [Release notes](https://github.com/lfit/releng-reusable-workflows/releases)
- [Commits](https://github.com/lfit/releng-reusable-workflows/compare/f8814d81051c7a2e4d7584657b4d283b62a56b20...b4c8bfdea114d034bfa6ed2fe2c9775bc091d5ca)

updated-dependencies:
- dependency-name: lfit/releng-reusable-workflows/.github/workflows/reuse-openssf-scorecard.yaml
  dependency-version: 0.2.28
  dependency-type: direct:production
  update-type: version-update:semver-patch

CIMAN-33

Change-Id: I62483d24900bf17eb7f06838ecfcd757e9ad05fc
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: onap.gh2gerrit <releng+onap-gh2gerrit@linuxfoundation.org>
6 weeks agoUpdate current expectation (cps limit) for k6 tests #2 45/142645/1
halil.cakal [Thu, 4 Dec 2025 16:25:40 +0000 (16:25 +0000)]
Update current expectation (cps limit) for k6 tests #2

- More fine tuninng on current expectations

Issue-ID: CPS-2697

Change-Id: I64aad8e911a2dbe39768a1329ce83d25891376a8
Signed-off-by: halil.cakal <halil.cakal@est.tech>
6 weeks agorefactor: Remove LcmEventHeader parameter from sendLcmEvent method 41/142641/2
ToineSiebelink [Wed, 3 Dec 2025 10:47:52 +0000 (10:47 +0000)]
refactor: Remove LcmEventHeader parameter from sendLcmEvent method

- Remove LcmEventHeader parameter from LcmEventsProducer.sendLcmEvent()
- Extract headers directly from LcmEvent object using new extractHeadersAsMap() method
- Remove json definition of now unnecessary lcm event header object
- Fix bug(?) related to recording metrics when sending event failed
- Removed unnecessary null checks for status during metric record
- Refactored LcmEventHelper, LcmEventProducer and LcmEventProducerHelper into 3 classes with clear responsibilities
  LcmEventProducer               : can send events (depends on LcmObjectCreator)
  LcmEventObjectCreator          : create events(depends on CmHandlePropertyChangeDetector)
  CmHandlePropertyChangeDetector : detects the updates
- Cleaned up corresponding test classes
- Renamed cps/events/EventsProducer.java to cps/events/EventProducer (singular, consistent with other classes)
  (apologies, this caused updates for 3/4 of the files in this commit)
- Renamed dmi/EventProducer to dmi/DmiEventProducer to avoid clashes with main EventProducer (in some testware)

Issue-ID: CPS-3072
Change-Id: I2126fed8a1d45c0360a777b4419103804c5ff9f2
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
6 weeks agoMerge "Fix Replace a Node API behaviour handling List items"
Lee Anjella Macabuhay [Thu, 4 Dec 2025 14:30:25 +0000 (14:30 +0000)]
Merge "Fix Replace a Node API behaviour handling List items"

6 weeks agoMerge "Added k8 specific tests for second dmi-stub in postman-collections"
Lee Anjella Macabuhay [Thu, 4 Dec 2025 13:37:26 +0000 (13:37 +0000)]
Merge "Added k8 specific tests for second dmi-stub in postman-collections"

6 weeks agoMerge "Update current expectation (cps limit) for k6 tests"
Toine Siebelink [Thu, 4 Dec 2025 13:25:41 +0000 (13:25 +0000)]
Merge "Update current expectation (cps limit) for k6 tests"

6 weeks agoUpdate current expectation (cps limit) for k6 tests 39/142639/1
halil.cakal [Thu, 4 Dec 2025 10:23:28 +0000 (10:23 +0000)]
Update current expectation (cps limit) for k6 tests

- After k6 started to use k8s cluster, current test expectations have
  been improved for some k6 tests, thus values updated

Issue-ID: CPS-2697

Change-Id: I5bdda7cd5be480d14806d015416bfd1bd09e8117
Signed-off-by: halil.cakal <halil.cakal@est.tech>
6 weeks agoFix Replace a Node API behaviour handling List items 71/142271/20
Arpit Singh [Wed, 3 Dec 2025 11:47:59 +0000 (17:17 +0530)]
Fix Replace a Node API behaviour handling List items

Jira - [CPS-2708] Enhance Replace A Node with List Items
Documentation - https://lf-onap.atlassian.net/wiki/x/gIDMAQ

- Previously, Replace a node endpoint accepted list items and returned a
  200 OK response, but the data was not actually replaced when cross
  checked.
- This patch fixes the issue of phantom replace operations and ensures
  that the API correctly handles list items.

Issue-ID:CPS-2708
Change-Id: Ibc9bbb88ccbb07302355321c6d5c2eade0e7e5fa
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
6 weeks agoMerge "Fix response code returned by Get delta between 2 anchors API"
Toine Siebelink [Thu, 4 Dec 2025 08:53:31 +0000 (08:53 +0000)]
Merge "Fix response code returned by Get delta between 2 anchors API"

6 weeks agoMerge "Integration test for state migration job"
Toine Siebelink [Thu, 4 Dec 2025 08:48:45 +0000 (08:48 +0000)]
Merge "Integration test for state migration job"

6 weeks agoFix response code returned by Get delta between 2 anchors API 68/142368/9
Arpit Singh [Fri, 14 Nov 2025 12:24:29 +0000 (17:54 +0530)]
Fix response code returned by Get delta between 2 anchors API

- Get delta between 2 anchors returned a 200 OK response in case an
  invalid xpath is provided with the request.
- The patch fixes that and now the API returns 400 BAD RERQUEST when an
  invalid xpath is used

Issue-ID: CPS-3041
Change-Id: Ic73003fdcf8e2f67cdf715f8da7641016ba61258
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
6 weeks agoIntegration test for state migration job 23/142623/4
egernug [Tue, 2 Dec 2025 11:40:45 +0000 (11:40 +0000)]
Integration test for state migration job

- Added DataMigrationIntegrationSpec test class
- Changed migrateInventoryToModelRelease20250722 signature to take in batch size
- Changed InventoryModelLoaderSpec to call upgradeAndMigrateInventoryModel() directly
- Added schemaSetExists() check in ModuleUpgradeServiceIntegrationSpec to allow for suite and isolated execution

Issue-ID: CPS-3061

Change-Id: I2a51a5e3fae91155396357500f5e2d2cec70f8df
Signed-off-by: egernug <gerard.nugent@est.tech>
6 weeks agoMerge "Move ConditionProperties from CPS to NCMP"
Lee Anjella Macabuhay [Wed, 3 Dec 2025 12:57:27 +0000 (12:57 +0000)]
Merge "Move ConditionProperties from CPS to NCMP"

6 weeks agoMove ConditionProperties from CPS to NCMP 68/142568/4
shikha0203 [Thu, 27 Nov 2025 10:32:33 +0000 (10:32 +0000)]
Move ConditionProperties from CPS to NCMP

Issue-ID: CPS-2729
Change-Id: Iba04f16a000dd461165ab8db18bd71e168a64eb2
Signed-off-by: shikha0203 <shivani.khare@est.tech>
6 weeks agoExpand Integration test to verify LCM Event 29/142629/2
ToineSiebelink [Tue, 2 Dec 2025 17:32:19 +0000 (17:32 +0000)]
Expand Integration test to verify LCM Event

- Fixed small bug: EventId and EventTime in header and event should be identical
- Check LCM event details for common fields
- Check Header value and corresponding event fields (duplicated!)
- Check old and new value for create and update use cases
- Removed unessary public method

Issue-ID: CPS-3072
Change-Id: I4eaa44747e0ca4c631dea037a2f55a307e0ad1a4
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
6 weeks agoMerge "Limit number of operations in a ProvMnS PATCH request"
Toine Siebelink [Tue, 2 Dec 2025 11:02:38 +0000 (11:02 +0000)]
Merge "Limit number of operations in a ProvMnS PATCH request"

6 weeks agoLimit number of operations in a ProvMnS PATCH request 75/142575/2
seanbeirne [Fri, 28 Nov 2025 11:22:09 +0000 (11:22 +0000)]
Limit number of operations in a ProvMnS PATCH request

-New configurable stting in application.yml

Issue-ID: CPS-3070
Change-Id: Ia41ec57cd72a19da989b85b3dbd88e36b2f2dc5b
Signed-off-by: seanbeirne <sean.beirne@est.tech>
6 weeks agoAdded k8 specific tests for second dmi-stub in postman-collections 49/142449/4
halil.cakal [Fri, 14 Nov 2025 11:47:50 +0000 (11:47 +0000)]
Added k8 specific tests for second dmi-stub in postman-collections

- added new env. variable suit for k8s deployment
- new tests are added for k8s, all using the new env. suit:
  - cm handle registration for dmi-stub-1 and dmi-stub-2 each having two
    cm handles
  - cm handle get for dmi-stub-1 and dmi-stub-2
  - get resource data operation
  - delete cm handles for both dmis

Issue-ID: CPS-3039

Change-Id: Icd0a99b09d4c83a356886dbc9b80ea9463fb35a8
Signed-off-by: halil.cakal <halil.cakal@est.tech>
7 weeks agoError Handling for unsupported ProvMnS PATCH operations 76/142576/1
seanbeirne [Fri, 28 Nov 2025 16:18:54 +0000 (16:18 +0000)]
Error Handling for unsupported ProvMnS PATCH operations

Issue-ID: CPS-3068
Change-Id: I906038c79e17b63ac228ccfcb8a39fcf72e294d7
Signed-off-by: seanbeirne <sean.beirne@est.tech>
7 weeks agoMerge "Migrate state data to new cm-handles.cm-handle-state"
Lee Anjella Macabuhay [Thu, 27 Nov 2025 16:09:06 +0000 (16:09 +0000)]
Merge "Migrate state data to new cm-handles.cm-handle-state"

7 weeks agoMigrate state data to new cm-handles.cm-handle-state 24/142424/13
egernug [Thu, 13 Nov 2025 11:31:12 +0000 (11:31 +0000)]
Migrate state data to new cm-handles.cm-handle-state

- Added new DataMigration class to perform migration
- Amended InventoryModelLoader to use migration class
- Moved setAndUpdateCmHandleField to InventoryPersistence and made public
- Created bulk implementation of setAndUpdateCmHandleField

Issue-ID: CPS-3023

Change-Id: Ie6ee5af7d3edb1a4e27de358da1da3624af04f48
Signed-off-by: egernug <gerard.nugent@est.tech>
7 weeks agoMerge "Improve mapping for Resource objects in PolicyExecutor"
Lee Anjella Macabuhay [Thu, 27 Nov 2025 08:58:53 +0000 (08:58 +0000)]
Merge "Improve mapping for Resource objects in PolicyExecutor"

7 weeks agoMerge "Bump to version 3.7.4"
Lee Anjella Macabuhay [Wed, 26 Nov 2025 14:17:32 +0000 (14:17 +0000)]
Merge "Bump to version 3.7.4"

7 weeks agoBump to version 3.7.4 30/142530/3
egernug [Wed, 26 Nov 2025 13:38:38 +0000 (13:38 +0000)]
Bump to version 3.7.4

Issue-ID: CPS-3047

Change-Id: I42ac0c2ed389f7fd13647dc473c53bb80c414783
Signed-off-by: egernug <gerard.nugent@est.tech>
7 weeks agoMerge "Add container 3.7.3"
Lee Anjella Macabuhay [Wed, 26 Nov 2025 13:34:20 +0000 (13:34 +0000)]
Merge "Add container 3.7.3"

7 weeks agoAdd container 3.7.3 26/142526/1
egernug [Wed, 26 Nov 2025 13:17:46 +0000 (13:17 +0000)]
Add container 3.7.3

Issue-ID: CPS-3047

Change-Id: I539b3451b5c78638824b29b81ef165b60dbba9f0
Signed-off-by: egernug <gerard.nugent@est.tech>