cps.git
27 hours agoMerge "Bump lfit/releng-reusable-workflows from 0.2.22 to 0.2.24"
Toine Siebelink [Tue, 28 Oct 2025 17:09:06 +0000 (17:09 +0000)]
Merge "Bump lfit/releng-reusable-workflows from 0.2.22 to 0.2.24"

27 hours agoMerge "Analyze the fluctuations seen in the Groovy based performance tests"
Toine Siebelink [Tue, 28 Oct 2025 17:07:57 +0000 (17:07 +0000)]
Merge "Analyze the fluctuations seen in the Groovy based performance tests"

30 hours agoIntroduce Model Loader Locking Mechanism 50/142250/10
ToineSiebelink [Tue, 28 Oct 2025 13:36:11 +0000 (13:36 +0000)]
Introduce Model Loader Locking Mechanism

- Moved core hazelcast config class and parameters from ncmp to cps service
- Renamed CpsAndNcmp lock classes and config to 'CpsCommonLocks' for common use
- Moved (duplicated) test to correct test base class
- Introducing Model Loader Coordination classes
- Update lombok config in cps-service to include qualifier annotations
- Update model loaders to only execute when master

Issue-ID:CPS-2989
Change-Id: I8d846e589e362d168bd95c454cee3b2c195a1ec7
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
33 hours agoAnalyze the fluctuations seen in the Groovy based performance tests 65/142265/1
Arpit Singh [Tue, 28 Oct 2025 11:38:18 +0000 (17:08 +0530)]
Analyze the fluctuations seen in the Groovy based performance tests

Testing the cause of fluctuations in QueryPerfTest by disabling the
DeltaPerfTests

This is done as the fluctuations started after Delta Performance Tests
were merged

Issue-ID: CPS-3020
Change-Id: Ia953718a5f4b72fb3ff9c12b70b59ede7b9b2262
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
2 days agoBump lfit/releng-reusable-workflows from 0.2.22 to 0.2.24 19/142319/1
dependabot[bot] [Mon, 27 Oct 2025 00:37:28 +0000 (00:37 +0000)]
Bump lfit/releng-reusable-workflows from 0.2.22 to 0.2.24

Bumps [lfit/releng-reusable-workflows](https://github.com/lfit/releng-reusable-workflows) from 0.2.22 to 0.2.24.
- [Release notes](https://github.com/lfit/releng-reusable-workflows/releases)
- [Commits](https://github.com/lfit/releng-reusable-workflows/compare/353a06e737c950cb297b3138784729ebd24e4861...b138097fe80abdc0f3d220787cbd82dbe231179c)

updated-dependencies:
- dependency-name: lfit/releng-reusable-workflows
  dependency-version: 0.2.24
  dependency-type: direct:production
  update-type: version-update:semver-patch

CIMAN-33

Change-Id: I6f6daba9433f529477e9b6763a0e2c59084846af
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: onap.gh2gerrit <releng+onap-gh2gerrit@linuxfoundation.org>
6 days agoAdjust timing for Creating Delta Report Test Data 64/142264/2
Arpit Singh [Thu, 23 Oct 2025 04:01:41 +0000 (09:31 +0530)]
Adjust timing for Creating Delta Report Test Data

The recorded time for creating a modified variant of openroadm anchor
is slightly more when it is being run on the Jenkins pipeline.

Fix is to adjust the timings by adding more buffer for the test to run successfully.

Issue-ID: CPS-3018
Change-Id: I654b16dc68c83d9433d4ec0d31f9b889a558eca9
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
7 days agoMerge "Isolate Delta Report performance test data"
Lee Anjella Macabuhay [Wed, 22 Oct 2025 10:29:13 +0000 (10:29 +0000)]
Merge "Isolate Delta Report performance test data"

8 days agoMerge "Introduce GET operation in ProvMnS"
Lee Anjella Macabuhay [Tue, 21 Oct 2025 11:46:21 +0000 (11:46 +0000)]
Merge "Introduce GET operation in ProvMnS"

8 days agoMerge "complete flow for subscription delete"
Lee Anjella Macabuhay [Tue, 21 Oct 2025 11:39:09 +0000 (11:39 +0000)]
Merge "complete flow for subscription delete"

8 days agoMerge "Add scripts that manage k8s orchestration (Split-4)"
Lee Anjella Macabuhay [Tue, 21 Oct 2025 09:15:43 +0000 (09:15 +0000)]
Merge "Add scripts that manage k8s orchestration (Split-4)"

9 days agoBump to version 3.7.3 88/142288/1
egernug [Mon, 20 Oct 2025 13:17:45 +0000 (14:17 +0100)]
Bump to version 3.7.3

Issue-ID: CPS-89

Change-Id: Ic2b6cf485f1c530f58667dec54414dd8752cf7b3
Signed-off-by: egernug <gerard.nugent@est.tech>
9 days agoAdd docker stage container 3.7.2 87/142287/1
egernug [Mon, 20 Oct 2025 12:47:55 +0000 (13:47 +0100)]
Add docker stage container 3.7.2

Issue-ID: CPS-89

Change-Id: Ifb379445a1d2cfaab53db534a397459202f53ecc
Signed-off-by: egernug <gerard.nugent@est.tech>
9 days agoAdd maven stage yaml 3.7.2 86/142286/1
egernug [Mon, 20 Oct 2025 12:27:25 +0000 (13:27 +0100)]
Add maven stage yaml 3.7.2

Issue-ID: CPS-89

Change-Id: I07b409bfdc1d235e260846b5d72b524b95b1a37c
Signed-off-by: egernug <gerard.nugent@est.tech>
9 days agoUpdate Release Notes for version 3.7.2 85/142285/3
egernug [Mon, 20 Oct 2025 08:31:51 +0000 (09:31 +0100)]
Update Release Notes for version 3.7.2

Issue-ID: CPS-89

Change-Id: I3a6c4909d26c6ed181c00dd20346ab212c0d7179
Signed-off-by: egernug <gerard.nugent@est.tech>
9 days agoMerge "Revert "(Bug) Ensure clean up process also removes orphaned data in fragmentta...
Lee Anjella Macabuhay [Mon, 20 Oct 2025 10:57:48 +0000 (10:57 +0000)]
Merge "Revert "(Bug) Ensure clean up process also removes orphaned data in fragmenttable""

9 days agoRevert "(Bug) Ensure clean up process also removes orphaned data in fragmenttable" 67/141867/1
Gerard Nugent [Mon, 20 Oct 2025 10:45:08 +0000 (10:45 +0000)]
Revert "(Bug) Ensure clean up process also removes orphaned data in fragmenttable"

This reverts commit 15e20fdf691556fd1c6a8d581dbd06716c02b06d.

Reason for revert: Previous revert patch makes this incorrect.

Issue-ID: CPS-3006
Change-Id: I366cc5fa23aa89295f6c3a5b88068d91478e6cb3
Signed-off-by: egernug <gerard.nugent@est.tech>
12 days agoMerge "Revert "Inconsistency With JSON Response(List Items) Using ReplaceANode API""
Priyank Maheshwari [Fri, 17 Oct 2025 06:50:58 +0000 (06:50 +0000)]
Merge "Revert "Inconsistency With JSON Response(List Items) Using ReplaceANode API""

13 days agoMerge "(BUG) Move adding to cache in registration"
Priyank Maheshwari [Thu, 16 Oct 2025 12:20:02 +0000 (12:20 +0000)]
Merge "(BUG) Move adding to cache in registration"

13 days ago(BUG) Move adding to cache in registration 75/142275/1
emaclee [Thu, 16 Oct 2025 09:56:37 +0000 (10:56 +0100)]
(BUG) Move adding to cache in registration

Issue-ID: CPS-3007
Change-Id: I8dac91f165bba61d0a3935e191e1d906f41ceff8
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2 weeks agocomplete flow for subscription delete 14/142114/17
shikha0203 [Tue, 23 Sep 2025 09:15:24 +0000 (10:15 +0100)]
complete flow for subscription delete

- Consume dataJobDeleted events and extract relevant details
- Query affected dataNodeSelectors and subscription details from DMI
- Remove target subscriber from arrays, keeping remaining subscribers intact
- If last subscriber is removed, delete entire entry
- Send the delete event to the relevant DMI
- Update tracking of subscription removal throughout the system

Issue-ID: CPS-2724
Change-Id: I9ed6c2553dd2573dd18f356efefa0a713c1c2627
Signed-off-by: shikha0203 <shivani.khare@est.tech>
2 weeks agoRevert "Inconsistency With JSON Response(List Items) Using ReplaceANode API" 63/142263/2
Arpit Singh [Wed, 15 Oct 2025 09:10:00 +0000 (14:40 +0530)]
Revert "Inconsistency With JSON Response(List Items) Using ReplaceANode API"

- This reverts commit 30d460ae43131d5fef3de041dcbcd2943702724a associated
  with CPS-2800.
- Due to logical errors in the previous patch, any data node added
  using Replace a node with descendants API gets added at the root level
  instead of the specific xpath.
- Suitable approach is to revert the patch and rework on a new patch set
  with corrected logic.

Issue-ID: CPS-3013
Change-Id: I5bc5441ffed039332b8e64eb9d6037771174de4e
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
2 weeks agoMerge "(Bug) Ensure clean up process also removes orphaned data in fragmenttable"
Priyank Maheshwari [Wed, 15 Oct 2025 11:19:10 +0000 (11:19 +0000)]
Merge "(Bug) Ensure clean up process also removes orphaned data in fragmenttable"

2 weeks agoMerge "Bug: Add check from alternateId cache before saving state"
Toine Siebelink [Wed, 15 Oct 2025 11:13:59 +0000 (11:13 +0000)]
Merge "Bug: Add check from alternateId cache before saving state"

2 weeks agoIntroduce GET operation in ProvMnS 44/142244/6
seanbeirne [Tue, 5 Aug 2025 09:53:44 +0000 (10:53 +0100)]
Introduce GET operation in ProvMnS

 - Moved code gen for ProvMns from ncmp-rest to ncmp-service package
 - Created new util class for provmns operations
 - Fixed legacy naming of methods

Issue-ID: CPS-2703
Change-Id: I665a227e10c019d4dbc5d585cd65f5094de0d825
Signed-off-by: seanbeirne <sean.beirne@est.tech>
2 weeks agoMerge "Fix the application readiness state during migration"
Toine Siebelink [Wed, 15 Oct 2025 10:43:01 +0000 (10:43 +0000)]
Merge "Fix the application readiness state during migration"

2 weeks agoAdd scripts that manage k8s orchestration (Split-4) 26/142226/8
halil.cakal [Tue, 30 Sep 2025 12:45:33 +0000 (13:45 +0100)]
Add scripts that manage k8s orchestration (Split-4)

- updated bash scripts for installing charts, running k6 tests,
  uninstalling deployment, and storing pod logs
- added environment variable: deploymentType to differentiate deployment
  cluster and hosts
- added hosts that is related to k8s cluster deployment
- updated readme.md
- set timeout to 300s for the pod availability
- increase resources (cpu and memory) for kafka and zookeper services to
  let them start successfully on virtual machine
- increase resources (cpu and memory) for dbpostgresql service to
  support at least 30K cm handle for the virtual test server

Issue-ID: CPS-2967

Change-Id: I464c551749725788019e1fec23a443085b2cb54d
Signed-off-by: halil.cakal <halil.cakal@est.tech>
2 weeks ago(Bug) Ensure clean up process also removes orphaned data in fragmenttable 72/142272/7
emaclee [Tue, 14 Oct 2025 12:56:38 +0000 (13:56 +0100)]
(Bug) Ensure clean up process also removes orphaned data in fragmenttable

- Add method to remove orphaned data from fragment table to the
  endpoint /cps/api/{}/admin/dataspaces/{}/actions/clean
- the condition for removing fragment table data is based on the following:
- (a) if entity's xpath contains more than 1 '/' and the parent is
  null
- (b) the parent id is equal to the id of an entity that
  meets condition (a)

Issue-ID: CPS-3006
Change-Id: I1a7de57993c58c3b607b3fdee7476a29bdea5bc2
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2 weeks agoBug: Add check from alternateId cache before saving state 73/142273/4
emaclee [Tue, 14 Oct 2025 12:24:53 +0000 (13:24 +0100)]
Bug: Add check from alternateId cache before saving state

- ensured the the alternate ids/cm handle ids were removed from
  cache as part of the remove cm handle process
- upon saving a cm handle state , a check to the cache is
  performed first

Issue-ID: CPS-3007
Change-Id: I399c3bc36244cc49e20f435a84ebc68bd9050654
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2 weeks agoMerge "Add integration test for create subscription"
Priyank Maheshwari [Wed, 15 Oct 2025 08:36:46 +0000 (08:36 +0000)]
Merge "Add integration test for create subscription"

2 weeks agoIsolate Delta Report performance test data 62/142262/5
Arpit Singh [Tue, 14 Oct 2025 08:48:25 +0000 (14:18 +0530)]
Isolate Delta Report performance test data

- Performance tests for Delta report required creation of an anchor used
  only for performance tests of Delta Report
- Current approach made this anchor available to other performance tests
  causing them to fail.
- Updated approach isolates the test data for Delta Report to
  DeltaPerfTest class.
- removed addModifiedOpenRoadData() method as it is no longer needed to
  create anchor for Delta Report tests.

Issue-ID: CPS-3012
Change-Id: Ib7e22ce937fbbafa77c42a09d1c2eaed3c00796d
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
2 weeks agoFix the application readiness state during migration 24/142224/5
mpriyank [Thu, 2 Oct 2025 15:39:58 +0000 (16:39 +0100)]
Fix the application readiness state during migration

- updating the readiness health indicator to just work on the readiness
  state and not on the overall state.
- before this fix, during migration the readiness, liveness and overall
  status is DOWN.
- after the fix, readiness and overall state would be DOWN, while the
  application will be live, hence liveness probe will show as UP
- ReadinessManager relies on ApplicationReadyEvent now instead of
  ApplicationStartedEvent
- Dynamically register the model loaders during Application startup
- removed the initial delay string from the watchdogs
- Added a new arch rule for the cps init package to be used in
  ncmp-service
- removed the module-sync-delayed package

Issue-ID: CPS-2993
Change-Id: I4c3bbc8633b84984095ad11ca8e4fbade91fd0f2
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 weeks agoAdd integration test for create subscription 28/142228/6
emaclee [Fri, 3 Oct 2025 16:55:33 +0000 (17:55 +0100)]
Add integration test for create subscription

- add test for creating subscription and sending to multiple DMIs
- update status of a subscription based on dmi response event
- add test for creating subscription wherein it partailly overlaps with existing active subscriptions
- add test for creating subscription wherein it fully overlaps with existing active subscriptions

Issue-ID: CPS-2995
Change-Id: Iabbd54168ab8b9b241c357519e65e206440533dd
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2 weeks agoBump lfit/releng-reusable-workflows from 0.2.21 to 0.2.22 49/142249/1
dependabot[bot] [Mon, 13 Oct 2025 00:30:00 +0000 (00:30 +0000)]
Bump lfit/releng-reusable-workflows from 0.2.21 to 0.2.22

Bumps [lfit/releng-reusable-workflows](https://github.com/lfit/releng-reusable-workflows) from 0.2.21 to 0.2.22.
- [Release notes](https://github.com/lfit/releng-reusable-workflows/releases)
- [Commits](https://github.com/lfit/releng-reusable-workflows/compare/4231fda07b06d356c904fe39a868522393dee4bb...353a06e737c950cb297b3138784729ebd24e4861)

updated-dependencies:
- dependency-name: lfit/releng-reusable-workflows
  dependency-version: 0.2.22
  dependency-type: direct:production
  update-type: version-update:semver-patch

CIMAN-33

Change-Id: I8f2bc63a8062731d679060b73eeca0fd2cf63ff4
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: onap.gh2gerrit <releng+onap-gh2gerrit@linuxfoundation.org>
2 weeks agoFix: Correct import statement for ignoring delta performance tests 54/142254/1
Arpit Singh [Fri, 10 Oct 2025 10:12:31 +0000 (15:42 +0530)]
Fix: Correct import statement for ignoring delta performance tests

Changed the import statement to spock.lang.Ignore to ignore delta
performance tests correctly.

Issue-ID: CPS-2997
Change-Id: I1876ad229bd7c858820ab86a097d246b7cfcc135
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
2 weeks agoIgnore CPS Delta performance tests 53/142253/1
Arpit Singh [Thu, 9 Oct 2025 11:46:19 +0000 (17:16 +0530)]
Ignore CPS Delta performance tests

Patch adds @Ignore annotation to skip Delta Report related performance
tests.
This is to test the stability of other tests that are impacted by delta
report performance tests.

Issue-ID: CPS-2997
Change-Id: I944b3941e92c2e74a05c1cd51803acf915b236d2
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
3 weeks agoMerge "Fix YangModelCmHandle SonarQube error"
Priyank Maheshwari [Wed, 8 Oct 2025 15:52:11 +0000 (15:52 +0000)]
Merge "Fix YangModelCmHandle SonarQube error"

3 weeks agoUpdate performance test parameters for the Query API 49/142049/4
Arpit Singh [Mon, 6 Oct 2025 13:29:31 +0000 (18:59 +0530)]
Update performance test parameters for the Query API

- Performance tests for Delta report needed addition of a new anchor to the test data.

- This resulted in the failure of performance tests for Query across anchors API and slight increase in timings of respective test.

- The task modifies the test parameters to ensure compatibility with new anchor configuration.

Issue-ID: CPS-2997
Change-Id: I573f0f414dba6324e91b62bd9a06053bed406c13
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
3 weeks agoFix YangModelCmHandle SonarQube error 46/142246/2
egernug [Wed, 8 Oct 2025 12:58:24 +0000 (13:58 +0100)]
Fix YangModelCmHandle SonarQube error

- Changed YangModelCmHandle.toYangModelCmHandle to use DmiPluginRegistration object instead of 3 inputs
- Changed tests and YangDataConverter to reflect change

Issue-ID: CPS-3002

Change-Id: I8aab2ff8593d88b8b1655ea85dc509e062996392
Signed-off-by: egernug <gerard.nugent@est.tech>
3 weeks agoMerge "Refactored large functions into smallar, modular blocks (Split-3)"
Toine Siebelink [Wed, 8 Oct 2025 13:25:25 +0000 (13:25 +0000)]
Merge "Refactored large functions into smallar, modular blocks (Split-3)"

3 weeks agoRefactored large functions into smallar, modular blocks (Split-3) 55/142155/6
halil.cakal [Tue, 30 Sep 2025 12:45:33 +0000 (13:45 +0100)]
Refactored large functions into smallar, modular blocks (Split-3)

- extract meta-data into a separate config file for summary report
- extract trend names into a separate config file for trend declarations
- refactor large functions into readable blocks
- added pullPolicy (Always) for cps-deployment
- fix an issue with adding a result column: if duration tests results
  are zero, it is currently marked as passed.

Issue-ID: CPS-2967

Change-Id: I0f9f37b885023f065daaccfaaf01cd94c4fcb44c
Signed-off-by: halil.cakal <halil.cakal@est.tech>
3 weeks agoMerge "Added extra buffer to Delta Performace Tests"
Priyank Maheshwari [Mon, 6 Oct 2025 08:28:59 +0000 (08:28 +0000)]
Merge "Added extra buffer to Delta Performace Tests"

3 weeks agoAdded extra buffer to Delta Performace Tests 47/142047/3
Arpit Singh [Fri, 3 Oct 2025 11:29:22 +0000 (16:59 +0530)]
Added extra buffer to Delta Performace Tests

The existing buffer time on delta report related performance tests was
not sufficient.

Added 4-5 seconds of extra buffer time across all tests.

Removed the method resetTestAnchorData as it was causing Query API
related tests to fail.

Implemented an alternative approach to test Apply Delta Report
performance test, where the delta report is applied to a separate anchor
named openroadm-modified1 instead of openroadm1.

Issue-ID: CPS-2996
Change-Id: Ib063e0470b487105e31dc3fc1211f630a1392d8a
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
3 weeks agoBump lfit/releng-reusable-workflows from 0.2.19 to 0.2.21 29/142229/1
dependabot[bot] [Mon, 6 Oct 2025 00:44:09 +0000 (00:44 +0000)]
Bump lfit/releng-reusable-workflows from 0.2.19 to 0.2.21

Bumps [lfit/releng-reusable-workflows](https://github.com/lfit/releng-reusable-workflows) from 0.2.19 to 0.2.21.
- [Release notes](https://github.com/lfit/releng-reusable-workflows/releases)
- [Commits](https://github.com/lfit/releng-reusable-workflows/compare/f318aaac9f4fce73a8059fe95ba9080833e018c2...4231fda07b06d356c904fe39a868522393dee4bb)

updated-dependencies:
- dependency-name: lfit/releng-reusable-workflows
  dependency-version: 0.2.21
  dependency-type: direct:production
  update-type: version-update:semver-patch

CIMAN-33

Change-Id: Ib1cba0852c145006031464a1cbea0536309d115e
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: onap.gh2gerrit <releng+onap-gh2gerrit@linuxfoundation.org>
3 weeks agoMerge "Include a dmi-properties value at the top level"
Lee Anjella Macabuhay [Fri, 3 Oct 2025 18:02:07 +0000 (18:02 +0000)]
Merge "Include a dmi-properties value at the top level"

3 weeks agoMerge "Performance tests for CPS Delta APIs"
Priyank Maheshwari [Thu, 2 Oct 2025 12:55:54 +0000 (12:55 +0000)]
Merge "Performance tests for CPS Delta APIs"

4 weeks agoMerge "Cleanup k6 test templatters (Split-2)"
Priyank Maheshwari [Wed, 1 Oct 2025 14:02:42 +0000 (14:02 +0000)]
Merge "Cleanup k6 test templatters (Split-2)"

4 weeks agoPerformance tests for CPS Delta APIs 23/141623/13
Arpit Singh [Tue, 19 Aug 2025 11:39:48 +0000 (17:09 +0530)]
Performance tests for CPS Delta APIs

- Performance tests for two Delta APIs
- Delta Between 2 anchors
- Delta between an anchor and JSON payload
- Tests are inclusive of old and new delta report formats.
- Added a method to generate anchors with modified openroadm data
- Added a method to reset test data for an anchor

Issue-ID: CPS-2839
Change-Id: I8ec3a265c5fa02b8cd9060b65fee79a6ca9366e0
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
4 weeks agoBump CPS to 3.7.2 42/142142/1
egernug [Mon, 29 Sep 2025 14:37:03 +0000 (15:37 +0100)]
Bump CPS to 3.7.2

Issue-ID: CPS-2994

Change-Id: Ib61e34e148c4575b3a18eaeb694a2f1f1d34e863
Signed-off-by: egernug <gerard.nugent@est.tech>
4 weeks agoAdd docker stage container 3.7.1 41/142141/2
egernug [Mon, 29 Sep 2025 13:38:12 +0000 (14:38 +0100)]
Add docker stage container 3.7.1

Issue-ID: CPS-2994

Change-Id: I9912bdc8418b791becaa3c2186f601ac87461fe5
Signed-off-by: egernug <gerard.nugent@est.tech>
4 weeks agoAdd maven stage yaml 3.7.1 40/142140/1
egernug [Mon, 29 Sep 2025 13:19:47 +0000 (14:19 +0100)]
Add maven stage yaml 3.7.1

Issue-ID: CPS-2994

Change-Id: Idc935ef985d0135a4eb4f0eedcff33cbd0e280fd
Signed-off-by: egernug <gerard.nugent@est.tech>
4 weeks agoUpdate RElease Notes for release 3.7.1 38/142138/3
egernug [Mon, 29 Sep 2025 09:38:08 +0000 (10:38 +0100)]
Update RElease Notes for release 3.7.1

Issue-ID: CPS-2994

Change-Id: I1416e44bcce33f1713a9531c5687fb37164fd547
Signed-off-by: egernug <gerard.nugent@est.tech>
4 weeks agoCleanup k6 test templatters (Split-2) 04/142104/5
halil.cakal [Fri, 19 Sep 2025 15:29:07 +0000 (16:29 +0100)]
Cleanup k6 test templatters (Split-2)

- the current template files make the development of k6 test complex and
  difficult to manage unnecessarily, need to be removed
- so that new ports and variables for the kubernetes cluster can be
  provieded easily for Split-3
- simplify the algorith to generate a human readeable summary report
- remove internal nodePort that is a remained action from commit
  (Split-1) that already merged
- total lines of code removed approx: 600

Issue-ID: CPS-2967

Change-Id: I971c58814890a4b65a283bb09411122d0647fd31
Signed-off-by: halil.cakal <halil.cakal@est.tech>
4 weeks agoMerge "Refactor EventsProducer class to remove Generic type for legacyevent"
Toine Siebelink [Thu, 25 Sep 2025 16:19:21 +0000 (16:19 +0000)]
Merge "Refactor EventsProducer class to remove Generic type for legacyevent"

4 weeks agoInclude a dmi-properties value at the top level 21/142121/1
egernug [Thu, 25 Sep 2025 14:42:50 +0000 (15:42 +0100)]
Include a dmi-properties value at the top level

- Added dmi-properties to YangModelCmHandle
- Amended tests to include new property

Issue-ID: CPS-2987

Change-Id: Ib1b8bc99389afff55d4ab93f2a435fb86769e43e
Signed-off-by: egernug <gerard.nugent@est.tech>
4 weeks agoMerge "Change parent node xPath for saving subscription"
Priyank Maheshwari [Thu, 25 Sep 2025 13:15:14 +0000 (13:15 +0000)]
Merge "Change parent node xPath for saving subscription"

4 weeks agoRefactor EventsProducer class to remove Generic type for legacyevent 18/142118/1
mpriyank [Wed, 24 Sep 2025 12:22:21 +0000 (13:22 +0100)]
Refactor EventsProducer class to remove Generic type for legacyevent

- EventsProducer refactored to not use generic type and instead use
  LegacyEvent type for all the events that still uses non-cloud events.
- Events are implementing LegacyEvent interface now just to
  differentiate b/w cloud and non-cloud events when creating a
  kafkatemplate to send events

Issue-ID: CPS-2990
Change-Id: Ic905ceadefca9e492cb999b633c86d13227c30c2
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
4 weeks agoMerge "Control Model loader execution Order"
Priyank Maheshwari [Thu, 25 Sep 2025 10:12:51 +0000 (10:12 +0000)]
Merge "Control Model loader execution Order"

4 weeks agoMerge "Local k8s env. running k6 test (Split-1)"
Priyank Maheshwari [Thu, 25 Sep 2025 09:52:26 +0000 (09:52 +0000)]
Merge "Local k8s env. running k6 test (Split-1)"

5 weeks agoChange parent node xPath for saving subscription 10/142110/1
emaclee [Tue, 23 Sep 2025 16:34:23 +0000 (17:34 +0100)]
Change parent node xPath for saving subscription

- wrong parent node xPath was used by calling wrong method ,
  should be /dataJob and not '/'

Issue-ID: CPS-2723
Change-Id: I62549bc1c0df4359de1f89d5951f351fdeed830d
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
5 weeks agoControl Model loader execution Order 09/142109/1
ToineSiebelink [Wed, 24 Sep 2025 08:31:45 +0000 (09:31 +0100)]
Control Model loader execution Order

- Use @Order annotation to execute model loader sequentially instead of parallel
- Removed duplicated steps between model loaders (just one)
- Improved and consistent logging for each model loader starting and stopping

Issue-ID: CPS-2988
Change-Id: Icd1bb365a65831fbef52f6d9881d8d23dbb3c8aa
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
5 weeks agoMerge "Manual Implementation of ProvMnS controller"
Priyank Maheshwari [Tue, 23 Sep 2025 15:32:50 +0000 (15:32 +0000)]
Merge "Manual Implementation of ProvMnS controller"

5 weeks agoMerge "Consume 'ACCEPTED' create response event from DMI"
Priyank Maheshwari [Tue, 23 Sep 2025 15:01:26 +0000 (15:01 +0000)]
Merge "Consume 'ACCEPTED' create response event from DMI"

5 weeks agoConsume 'ACCEPTED' create response event from DMI 60/142060/6
emaclee [Wed, 17 Sep 2025 14:09:08 +0000 (15:09 +0100)]
Consume 'ACCEPTED' create response event from DMI

- added agreed schema for dmi out event response
- added method to consume event from DMI for create response
- added method to update subscription status where status is
  ACCEPTED

Issue-ID: CPS-2982
Change-Id: Idbb3046a2fa1aad9d03f06cbbc17d163696c3b7a
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
5 weeks agoMerge "Include a cm-handle-state at the top level"
Toine Siebelink [Tue, 23 Sep 2025 07:55:56 +0000 (07:55 +0000)]
Merge "Include a cm-handle-state at the top level"

5 weeks agoMerge "Uplift dependency versions to eliminate vulnerabilities"
Toine Siebelink [Tue, 23 Sep 2025 07:40:42 +0000 (07:40 +0000)]
Merge "Uplift dependency versions to eliminate vulnerabilities"

5 weeks agoManual Implementation of ProvMnS controller 14/142014/6
seanbeirne [Tue, 12 Aug 2025 15:04:47 +0000 (16:04 +0100)]
Manual Implementation of ProvMnS controller

- Implementation of ProvMnS using spring

Issue-ID: CPS-2966
Change-Id: Ia767b2779aa7b741230f295886f898246daf025c
Signed-off-by: seanbeirne <sean.beirne@est.tech>
5 weeks agoUplift dependency versions to eliminate vulnerabilities 03/142103/1
egernug [Mon, 22 Sep 2025 12:43:16 +0000 (13:43 +0100)]
Uplift dependency versions to eliminate vulnerabilities

-Springboot to 3.5.6
-Postgres to 42.7.8

Issue-ID: CPS-2747

Change-Id: I3161ba870ad9a16d0f11be2b019c8ae1fab393c4
Signed-off-by: egernug <gerard.nugent@est.tech>
5 weeks agoInclude a cm-handle-state at the top level 31/142031/4
egernug [Wed, 10 Sep 2025 12:36:13 +0000 (13:36 +0100)]
Include a cm-handle-state at the top level

- Added cm-handle-state to YangModelCmHandle
- Amended tests to include new property

Issue-ID: CPS-2922

Change-Id: I82333eb69b4b5d77a76cb15868d7e7e6865de9e2
Signed-off-by: egernug <gerard.nugent@est.tech>
5 weeks agoBump lfit/releng-reusable-workflows from 0.2.18 to 0.2.19 99/142099/1
dependabot[bot] [Mon, 22 Sep 2025 00:45:50 +0000 (00:45 +0000)]
Bump lfit/releng-reusable-workflows from 0.2.18 to 0.2.19

Bumps [lfit/releng-reusable-workflows](https://github.com/lfit/releng-reusable-workflows) from 0.2.18 to 0.2.19.
- [Release notes](https://github.com/lfit/releng-reusable-workflows/releases)
- [Commits](https://github.com/lfit/releng-reusable-workflows/compare/8c3cf221da0e47955647647c9a254c1f807081ce...f318aaac9f4fce73a8059fe95ba9080833e018c2)

updated-dependencies:
- dependency-name: lfit/releng-reusable-workflows
  dependency-version: 0.2.19
  dependency-type: direct:production
  update-type: version-update:semver-patch

CIMAN-33

Change-Id: I6903eace93b637407f106b25592e8b1cd5adbec7
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: onap.gh2gerrit <releng+onap-gh2gerrit@linuxfoundation.org>
5 weeks agoCI: Add Github2Gerrit workflow 77/142077/1
Kevin Sandi [Fri, 19 Sep 2025 19:54:02 +0000 (13:54 -0600)]
CI: Add Github2Gerrit workflow

Issue-ID: CIMAN-33
Change-Id: Ieffd064d98784d237ca19314cb1b3712691db2b6
Signed-off-by: Kevin Sandi <ksandi@contractor.linuxfoundation.org>
5 weeks agoLocal k8s env. running k6 test (Split-1) 68/142068/1
halil.cakal [Fri, 19 Sep 2025 11:41:41 +0000 (12:41 +0100)]
Local k8s env. running k6 test (Split-1)

- add a new service for kafka to provide broker external connectivity
- update resources with remedy values (hardware resources will be align
  with stakeholder requirements later)
- update kafka broker address to correct one for dmi-stub
- update licence headers for readme.md

Issue-ID: CPS-2967

Change-Id: I518f3c8f620efd3965efb6a5d1fa19a12ce28676
Signed-off-by: halil.cakal <halil.cakal@est.tech>
5 weeks agoMerge "Bug: Update operation executes on a data node that is not present in the database"
Priyank Maheshwari [Thu, 18 Sep 2025 11:29:31 +0000 (11:29 +0000)]
Merge "Bug: Update operation executes on a data node that is not present in the database"

5 weeks agoBug: Update operation executes on a data node that is not present in the database 33/142033/8
Arpit Singh [Thu, 11 Sep 2025 06:46:46 +0000 (12:16 +0530)]
Bug: Update operation executes on a data node that is not present in the database

Failing test where an attempt is made to update a data node that does not exist
in database.
The test shows that no exception is thrown when such datanode is
updated.

Issue-ID: CPS-2980
Change-Id: Ia42b66016be4e880e6207916c4f98b9aa3069dad
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
6 weeks agoMerge "Remove CpsDataService dependency from DeltaReportExecutor"
Priyank Maheshwari [Wed, 17 Sep 2025 14:08:45 +0000 (14:08 +0000)]
Merge "Remove CpsDataService dependency from DeltaReportExecutor"

6 weeks agoRemove CpsDataService dependency from DeltaReportExecutor 25/141625/7
Arpit Singh [Mon, 25 Aug 2025 14:26:02 +0000 (19:56 +0530)]
Remove CpsDataService dependency from DeltaReportExecutor

CpsDataService is injected as bean in DeltaReportExecutor, This is
causing a cyclic dependency impacting CPS-2523(in progress).

The cyclic dependency forming is as follows:
CpsDataServiceImpl->CpsDeltaServiceImpl->DeltaReportExecutor->CpsDataService

The solution implemented is for DeltaReportExecutor to directly call
CpsDataPersistenceService

Since the cps delta service does not depend on CpsDataService, the
data validation steps which were present in CpsDataService have been
implemented in CpsDeltaServiceImpl and DeltaReportExecutor.

Issue-ID: CPS-2964
Change-Id: I1eecee22f67139eda111948d8aafad62c17340e2
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
6 weeks agoSubscription CREATE flow 03/142003/11
emaclee [Mon, 8 Sep 2025 14:58:01 +0000 (15:58 +0100)]
Subscription CREATE flow

- cover scenarios of the following: add subscription for non
  existing details in database, add subscription for overlapping
  details
- method first persists subscription and then send relevant
  details to DMIs
- remove classes, files and configuration that was from legacy
  subscription implementation

Issue-ID: CPS-2723
Change-Id: Iee60da409ced76874e0208e4284b7d5cd00c9f6a
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
6 weeks agoMerge "Update JEX Parser method"
Toine Siebelink [Mon, 15 Sep 2025 16:32:03 +0000 (16:32 +0000)]
Merge "Update JEX Parser method"

6 weeks agoUpdate JEX Parser method 02/142002/10
ToineSiebelink [Fri, 5 Sep 2025 16:11:39 +0000 (17:11 +0100)]
Update JEX Parser method

-JEX parser needs to be updated to accommodate consumer and service methods in NCMP
-updated NcmpInEventConsumer and NcmpInEventConsumerSpec class
-Ensure REGEX for XPaths is safe and performant

Issue-ID: CPS-2976
Change-Id: Ibe55c2574d49561f989463702f4f8a495d9de35f
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
7 weeks agoLast inspect on all modules 18/142018/3
ToineSiebelink [Tue, 9 Sep 2025 11:46:29 +0000 (12:46 +0100)]
Last inspect on all modules

- Mainly focussed on spelling mistakes (e.g. schema set instead of schemaset)
- Removed some unused code (overloaded but unused interface methods)
- spelling issues resolve in many timed method (names) by adding full stops.
  I think this only affects Graphana dashboards etc and should be OK
- Changed timeformat descriptions to say just "ISO standard format"
- Fixed latest SonarQube warnings
  (removed test from MultiPartFileUtilSpec as the scenarios are correctly unit-tested in ZipFileSizeValidatorSpec)

Issue-ID:CPS-2941

Change-Id: Ia654be16881b65b21522a554d6a70a3b38a6379e
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
7 weeks agoMerge "Add test coverage for last missed branch in cps-service"
Priyank Maheshwari [Tue, 9 Sep 2025 10:18:56 +0000 (10:18 +0000)]
Merge "Add test coverage for last missed branch in cps-service"

7 weeks agoMerge "Make original delta report format consistent with delta report new format"
Priyank Maheshwari [Tue, 9 Sep 2025 10:16:30 +0000 (10:16 +0000)]
Merge "Make original delta report format consistent with delta report new format"

7 weeks agoMerge "More fixes suggested by Project-wide Inspect Code..."
Lee Anjella Macabuhay [Mon, 8 Sep 2025 13:46:16 +0000 (13:46 +0000)]
Merge "More fixes suggested by Project-wide Inspect Code..."

7 weeks agoAdd test coverage for last missed branch in cps-service 00/142000/1
ToineSiebelink [Mon, 8 Sep 2025 10:17:54 +0000 (11:17 +0100)]
Add test coverage for last missed branch in cps-service

- Add test for user-order leaf-list using test-tree model
 (see https://en.wikipedia.org/wiki/The_Rattlin%27_Bog)

Issue-ID: CPS-475
Change-Id: I1adf107289e7fa0a9f832bfdc4267c04615eaa28
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
7 weeks agoUpdated onboardOrUpgradeModel in InventoryModelLoader to check if module revision... 90/141990/1
sourabh_sourabh [Thu, 4 Sep 2025 16:44:47 +0000 (17:44 +0100)]
Updated onboardOrUpgradeModel in InventoryModelLoader to check if module revision already installed for all scenario

 - Simplified conditional flow by removing duplicate revision checks.

Issue-ID: CPS-2974
Change-Id: I8e5ca62c60a33eb01abffbd917a98e18fefb22f0
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
7 weeks agoMore fixes suggested by Project-wide Inspect Code... 91/141991/1
ToineSiebelink [Thu, 4 Sep 2025 14:28:04 +0000 (15:28 +0100)]
More fixes suggested by Project-wide Inspect Code...

- Removed some code duplication highlighted by Inspect
- Refactored some logging duplication
- Corrected suspected duplicate logging by correcting the message (copy&paste error)
- Added 1 or 2 null checks as suggested by Inspect (might need test for coverage)

Issue-ID: CPS-2941
Change-Id: I2119535ecb2fc377309da3bd9e3777f71b711b9a
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
7 weeks agoMerge "update and use cm data job subscription model"
Lee Anjella Macabuhay [Thu, 4 Sep 2025 15:47:17 +0000 (15:47 +0000)]
Merge "update and use cm data job subscription model"

7 weeks agoMerge "Fix issue with package name cmnotificationsubscription"
Lee Anjella Macabuhay [Thu, 4 Sep 2025 14:00:53 +0000 (14:00 +0000)]
Merge "Fix issue with package name cmnotificationsubscription"

7 weeks agoMerge "Add ReadinessHealthIndicator to expose migration readiness status"
Toine Siebelink [Thu, 4 Sep 2025 12:00:29 +0000 (12:00 +0000)]
Merge "Add ReadinessHealthIndicator to expose migration readiness status"

7 weeks agoFix issue with package name cmnotificationsubscription 89/141989/1
ToineSiebelink [Thu, 4 Sep 2025 10:49:28 +0000 (11:49 +0100)]
Fix issue with package name cmnotificationsubscription

- removed _1_0_0 postfix (inconsistent with others)
- renamed/moved to ../datajobs/subscriptions

Issue-ID: CPS-2941
Change-Id: I2d461ecabc8d404bb9e936ef0a528eb98735ac03
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
7 weeks agoAdd ReadinessHealthIndicator to expose migration readiness status 69/141969/6
sourabh_sourabh [Tue, 2 Sep 2025 16:22:06 +0000 (17:22 +0100)]
Add ReadinessHealthIndicator to expose migration readiness status

- Reports READY when migrations are complete.
- Reports NOT READY when a migration or rollback is in progress.
- This will allow Helm (Kubernetes) and other monitoring tools to detect application readiness during migrations and act accordingly.

Issue-ID: CPS-2974
Change-Id: I72441e186178d4cbd0cd98e754ca6059b4ff0bb6
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
7 weeks agoupdate and use cm data job subscription model 88/141988/2
shikha0203 [Wed, 3 Sep 2025 16:35:14 +0000 (17:35 +0100)]
update and use cm data job subscription model

Issue-ID: CPS-2971
Change-Id: I68368d5253e4e8aacfc4279527202acf91caa6e2
Signed-off-by: shikha0203 <shivani.khare@est.tech>
7 weeks agoMerge "Refactor(deployment): make environment variables explicit for cps container"
Lee Anjella Macabuhay [Thu, 4 Sep 2025 09:02:22 +0000 (09:02 +0000)]
Merge "Refactor(deployment): make environment variables explicit for cps container"

8 weeks agoMerge "Code Inspection WHOLE project"
Lee Anjella Macabuhay [Wed, 3 Sep 2025 16:43:06 +0000 (16:43 +0000)]
Merge "Code Inspection WHOLE project"

8 weeks agoRefactor(deployment): make environment variables explicit for cps container 68/141968/3
sourabh_sourabh [Tue, 2 Sep 2025 13:56:25 +0000 (14:56 +0100)]
Refactor(deployment): make environment variables explicit for cps container

 - Replaced dynamic env loop with explicit environment variable definitions
  (DB_HOST, DB_USERNAME, DB_PASSWORD, DMI_USERNAME, DMI_PASSWORD, KAFKA_BOOTSTRAP_SERVER).
 - Made dmi stub env. variable from string to integer for ms

Issue-ID: CPS-2973
Change-Id: Icc2962f03fe078ac85d5097f8e5d56620c79800b
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
8 weeks agoMerge "update readme.md for cps charts"
Priyank Maheshwari [Wed, 3 Sep 2025 09:31:02 +0000 (09:31 +0000)]
Merge "update readme.md for cps charts"

8 weeks agoMerge "Inconsistency With JSON Response(List Items) Using ReplaceANode API"
Priyank Maheshwari [Wed, 3 Sep 2025 09:08:54 +0000 (09:08 +0000)]
Merge "Inconsistency With JSON Response(List Items) Using ReplaceANode API"

8 weeks agoMerge "Add requestID and clientID in cps core logs"
Priyank Maheshwari [Wed, 3 Sep 2025 07:52:54 +0000 (07:52 +0000)]
Merge "Add requestID and clientID in cps core logs"

8 weeks agoCode Inspection WHOLE project 72/141972/1
ToineSiebelink [Tue, 2 Sep 2025 15:55:15 +0000 (16:55 +0100)]
Code Inspection WHOLE project

- applied most of the simple/safe stuff
- Many @suppress unchecked-warnings
- Many @Serial annotations
- A lot of copyrights updates!

Issue-ID: CPS-2941
Change-Id: Id926ba1e9d7c6e0941355f89e5c736907e7af165
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
8 weeks agoUpdated the k8s objects with correct labels 46/141946/3
mpriyank [Wed, 27 Aug 2025 13:35:22 +0000 (14:35 +0100)]
Updated the k8s objects with correct labels

- added the label for app=cps-and-ncmp to all the kubernetes objects
- also added the relevant components label based on the type of
  kubernetes object
- added a custom service account cps-hazelcast-service-account to just
  provide the least amount of priviledges
- added cps-hazelcast-rbac file so that the hazelcast members are able
  to discover using the k8s discovery service

Issue-ID: CPS-2960
Change-Id: I32d76fc3a955bd846c5e6aa0d78b80b8995a9c42
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
8 weeks agoModified Inventory loader to handle module install or upgrade based on flag 62/141962/7
sourabh_sourabh [Wed, 27 Aug 2025 10:44:10 +0000 (11:44 +0100)]
Modified Inventory loader to handle module install or upgrade based on flag

Issue-ID: CPS-2970
Change-Id: I5b8b0aa2db3fcad6da2a5dd774720f22855523cd
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>