cps/ncmp-dmi-plugin.git
2 weeks agoCI: Deploy python based Github2Gerrit 01/143201/1
Kevin Sandi [Wed, 11 Feb 2026 21:32:27 +0000 (15:32 -0600)]
CI: Deploy python based Github2Gerrit

Issue-ID: CIMAN-33
Change-Id: I2953df4860c028c57759409067f7970ba59af911
Signed-off-by: Kevin Sandi <ksandi@contractor.linuxfoundation.org>
2 weeks agoAdd Sean Beirne and Gerard Nugent as Committers for CPS 55/143155/1
ToineSiebelink [Tue, 10 Feb 2026 16:31:10 +0000 (16:31 +0000)]
Add Sean Beirne and Gerard Nugent as Committers for CPS

Issue-ID: CPS-1887
Change-Id: Id281b5d9cb4fc22dc2edf608b6d97c98d48b3bf8
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
3 weeks agoMerge "Include delay in provmns requests for k6 testing"
Lee Anjella Macabuhay [Thu, 5 Feb 2026 10:25:17 +0000 (10:25 +0000)]
Merge "Include delay in provmns requests for k6 testing"

3 weeks agoInclude delay in provmns requests for k6 testing 73/143073/4
seanbeirne [Wed, 28 Jan 2026 09:35:17 +0000 (09:35 +0000)]
Include delay in provmns requests for k6 testing

- extracted delay method to common sleeper class
- Changed /v1/data delay from write to read as per NCMP code it will
  only ever be read once it reaches the DMI

Issue-ID: CPS-3133
Change-Id: I43f61549ea16c76ae7657cfdb5b58ea1eeb25b58
Signed-off-by: seanbeirne <sean.beirne@est.tech>
4 weeks agoChore: Remove broken sphinxcontrib-swaggerdoc module 32/143032/1
Matthew Watkins [Tue, 27 Jan 2026 15:21:17 +0000 (15:21 +0000)]
Chore: Remove broken sphinxcontrib-swaggerdoc module

This Python module is no longer maintained and will not allow us to
update to more modern Python versions in the docs jobs.

Issue-ID: CIMAN-33
Change-Id: Iddaf1288387e3ad77e58b2fe4a05d876f324a196
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
6 weeks agoUpdate latest release of 3GPP ProvMnS interface in DMI 11/142911/1
seanbeirne [Mon, 12 Jan 2026 16:54:07 +0000 (16:54 +0000)]
Update latest release of 3GPP ProvMnS interface in DMI

Issue-ID: CPS-3102
Change-Id: Ifdd3ced7079b0873324a04e5ec91f5c12a37258f
Signed-off-by: seanbeirne <sean.beirne@est.tech>
7 weeks agoSimulate 400 reponse from DMI-stub and give generic response on ProvMnS 96/142896/1
seanbeirne [Thu, 8 Jan 2026 12:29:15 +0000 (12:29 +0000)]
Simulate 400 reponse from DMI-stub and give generic response on ProvMnS
Patch

- ProvMnS patch now returns generic response
- Module tag 'errorTag' now returns 400 response

Issue-ID: CPS-2826
Change-Id: I8bddef148719ced9998ff3da926c8f86995d5654
Signed-off-by: seanbeirne <sean.beirne@est.tech>
7 weeks agoUpdate ONAP and Stub DMI to new ProvMnS version 62/142862/2
seanbeirne [Tue, 6 Jan 2026 16:33:23 +0000 (16:33 +0000)]
Update ONAP and Stub DMI to new ProvMnS version

- Version 18.5.0 -> 18.6.0
- Included change in Stub PUT response

Issue-ID: CPS-3102
Change-Id: I4dd82e6884de660e374e004761a3396de68f898c
Signed-off-by: seanbeirne <sean.beirne@est.tech>
2 months agoAdd (error)simulations to DMI Stub ProvMnS Interface 75/142775/4
ToineSiebelink [Tue, 16 Dec 2025 17:36:52 +0000 (17:36 +0000)]
Add (error)simulations to DMI Stub ProvMnS Interface

- Added Controller Test for easier testing of simulation URI patterns
  (faster then build & PostMan!)
- Add Validator Dependency for latest Springboot
- Add timeout and http error simulation based on patterns in FDN
- Add info level logging to all stub methods
  (this might affect k6 performance tests!)
- Changed ProvMns interface to allow (any) object be returned for all operation incl. Delete
  (inline with production interfaces updates)

Issue-ID: CPS-3094
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I25d1c660d72bbd2ab929cd66d65e304e6255637c

2 months agoUpdate plugins and other dependencies to compile with more modern Java 66/142766/1
ToineSiebelink [Mon, 15 Dec 2025 08:43:30 +0000 (08:43 +0000)]
Update plugins and other dependencies to compile  with more modern Java

- Update Maven compile plugin
- Update Lombok
- Update SpotBug
- Fix SpotBug warning in SdncOperations

Issue-ID: CPS-3093
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I609dad2b1626f8cb67b642a54b6aabc7569ca344

3 months agoBump CPS version in DMI to 3.7.3 32/142532/1
egernug [Wed, 26 Nov 2025 14:21:19 +0000 (14:21 +0000)]
Bump CPS version in DMI to 3.7.3

Issue-ID: CPS-3047

Change-Id: I3316f564f669f4efab4e65795f3a577013dff2a2
Signed-off-by: egernug <gerard.nugent@est.tech>
3 months agoRevert commit for: Connection refused exp. in DmiRestClient #1 15/142515/2
halil.cakal [Tue, 25 Nov 2025 14:27:46 +0000 (14:27 +0000)]
Revert commit for: Connection refused exp. in DmiRestClient #1

- This is a manual revert for the commit : 142464: changed env. variable server.port for dmi-stub | https://gerrit.onap.org/r/c/cps/ncmp-dmi-plugin/+/142464
- There have been k6 failures after build # : 2637

Issue-ID: CPS-3056

Change-Id: I003fe0fcfdc14204059c16c5188c84d031071a09
Signed-off-by: halil.cakal <halil.cakal@est.tech>
3 months agochanged env. variable server.port for dmi-stub 64/142464/1
halil.cakal [Fri, 21 Nov 2025 13:21:18 +0000 (13:21 +0000)]
changed env. variable server.port for dmi-stub

- the env. variable for server.port has been changed to SERVER_PORT
  since DMI_STUB_SERVER_PORT wasn't binded if minikube used as a
kubernetes cluster

Issue-ID: CPS-3056

Change-Id: I812fa5d01b3bf23686be0c03dc03e988691a342a
Signed-off-by: halil.cakal <halil.cakal@est.tech>
3 months agoChanged networkd id dynamically in response object for Create Resource Data Operation 05/142405/5
halil.cakal [Tue, 11 Nov 2025 10:33:23 +0000 (10:33 +0000)]
Changed networkd id dynamically in response object for Create Resource Data Operation

- in cps-charts, added second dmi-stub
- in order to demo for two dmi-stub instances in kubernetes cluster,
  Create Resource Data Operation should return a composite network id of:
    dmiAddress + cmHandleId in response
- added env. variable name to change dmi-stub server port for the second
  instance

Issue-ID: CPS-2934

Change-Id: Iaf20d8e9a8a2c0245219004baf16bad787b0a356
Signed-off-by: halil.cakal <halil.cakal@est.tech>
4 months agoBump CPS version in DMI to 3.7.2 89/142289/1
egernug [Mon, 20 Oct 2025 14:01:50 +0000 (15:01 +0100)]
Bump CPS version in DMI to 3.7.2

Issue-ID: CPS-89

Change-Id: Ia45fbf881262dba024f4f13462667e2cea5f0c63
Signed-off-by: egernug <gerard.nugent@est.tech>
4 months agoMerge "Controller for ONAP-DMI & DMI-Stub"
Lee Anjella Macabuhay [Mon, 13 Oct 2025 13:22:10 +0000 (13:22 +0000)]
Merge "Controller for ONAP-DMI & DMI-Stub"

4 months agoController for ONAP-DMI & DMI-Stub 35/142235/3
seanbeirne [Mon, 6 Oct 2025 09:37:11 +0000 (10:37 +0100)]
Controller for ONAP-DMI & DMI-Stub

- Based off previous commit for NCMP ProvMnS implementation

Issue-ID: CPS-2966
Change-Id: Iedcc5376339385022fde36e91f6b3821bcb362be
Signed-off-by: seanbeirne <sean.beirne@est.tech>
4 months agoUpdate Springboot versions 32/142232/1
egernug [Mon, 6 Oct 2025 10:05:54 +0000 (11:05 +0100)]
Update Springboot versions

- Uplift to Springboot 3.5.6

Issue-ID: CPS-89

Change-Id: I1b5b3b977d8fb5e4c410b10a0970d085838dcac3
Signed-off-by: egernug <gerard.nugent@est.tech>
5 months agoUpdate DMI plugin with new subscription schemas 46/142146/3
emaclee [Tue, 30 Sep 2025 10:42:02 +0000 (11:42 +0100)]
Update DMI plugin with new subscription schemas

- update imported packages to align with new subscription
  schemas in CPS
- upgrade to CPS latest version in pom file (from 3.7.0 to
  3.7.1)

Issue-ID: CPS-2723
Change-Id: I6d0b6eb674b86fb3fe53cd4508fde85e8dbeff23
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
5 months agoFix for forward slash in id field of a resourceId 56/142056/4
mpriyank [Tue, 16 Sep 2025 09:42:39 +0000 (10:42 +0100)]
Fix for forward slash in id field of a resourceId

- Reverted the logic to have a custom encoder as it was not supporting
  all the use cases
- Now the client will properly encode the resourceId field in NCMP,
  which will result in DMI receiving the properly encoded
  resourceIdentifier
- Encoded resourceId is then sent as a URI to preserve the encoding as
  needed by SDNC

Issue-ID: CPS-2939
Change-Id: I13601ef0c306f0a5f23bf1fef410297076a4b282
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
5 months agoEncoding the special characters in the resource identifier 88/141888/6
mpriyank [Thu, 21 Aug 2025 13:01:32 +0000 (14:01 +0100)]
Encoding the special characters in the resource identifier

- during passthrough requests, if the resource identifier had special
  characters then the resource was not returned by the sdnc
- fix is to do proper encoding when the passthrough read operation is
  made
- Introduced a utility to convert the resource-id to encoded resource id
  and then make the same request using resttemplate
- Added testware for the same
- Inspected code for the changed files and fixed the issues

Issue-ID: CPS-2939
Change-Id: I940156e09640c36a090afd2518080f619c93b440
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
6 months agoChore: Add dependabot config 13/141813/1
Kevin Sandi [Wed, 13 Aug 2025 17:57:57 +0000 (11:57 -0600)]
Chore: Add dependabot config

Issue-ID: CIMAN-33
Change-Id: I3f598bf69e46aa72282db41e896b4e82933de7ed
Signed-off-by: Kevin Sandi <ksandi@contractor.linuxfoundation.org>
6 months agoChore: Add dependabot config 05/141705/1
Kevin Sandi [Wed, 13 Aug 2025 01:45:03 +0000 (19:45 -0600)]
Chore: Add dependabot config

Issue-ID: CIMAN-33
Change-Id: I17387467cd3f0cfba59396b6515a9020f4106dea
Signed-off-by: Kevin Sandi <ksandi@contractor.linuxfoundation.org>
7 months agoUpdated CPS version in DMI 44/141644/1
egernug [Fri, 1 Aug 2025 13:51:27 +0000 (14:51 +0100)]
Updated CPS version in DMI

Issue-ID: CPS-2917

Change-Id: I2cdf77696f86d3eecbe4ec77a917f426c05a6a9d
Signed-off-by: egernug <gerard.nugent@est.tech>
7 months agoUplift springboot to 3.5.4 04/141604/1
egernug [Wed, 30 Jul 2025 10:59:43 +0000 (11:59 +0100)]
Uplift springboot to 3.5.4

Issue-ID: CPS-2747

Change-Id: I0ce0f4e8bc0a400b40a532924a7e4f778276f207
Signed-off-by: egernug <gerard.nugent@est.tech>
7 months agoInclude ProvMnS interface on DMI-Stub 78/141578/2
seanbeirne [Tue, 22 Jul 2025 16:04:07 +0000 (17:04 +0100)]
Include ProvMnS interface on DMI-Stub

Issue-ID: CPS-2737
Change-Id: Ibf873bcbb7f0e47aeec0e528051910a6e7da7278
Signed-off-by: seanbeirne <sean.beirne@est.tech>
7 months agoMerge "Include ProvMnS interface on ONAP-DMI"
Toine Siebelink [Wed, 23 Jul 2025 14:30:36 +0000 (14:30 +0000)]
Merge "Include ProvMnS interface on ONAP-DMI"

7 months agoCm Avc Event for passthrough write operation 27/141527/6
mpriyank [Mon, 14 Jul 2025 09:32:23 +0000 (10:32 +0100)]
Cm Avc Event for passthrough write operation

- Cm Avc event is sent when there is a successful passthrough
  WRITE(create,update,delete) operation
- This event will be used by NCMP to update the cache
- Added testware for this scenario and also added a missing test for
  enabling data sync flag

Issue-ID: CPS-2877
Change-Id: I4ceb196a4598dac2c2560decbec0ab8ce088c610
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
7 months agoInclude ProvMnS interface on ONAP-DMI 63/141563/1
seanbeirne [Mon, 21 Jul 2025 15:14:20 +0000 (16:14 +0100)]
Include ProvMnS interface on ONAP-DMI

- DMI-stub will be completed on seperate patch
- ONAP-DMI will only return 501 NOT_IMPLEMENTED

Issue-ID: CPS-2737
Change-Id: Ibf76130734c7293b4b063a9ab6319796fb023771
Signed-off-by: seanbeirne <sean.beirne@est.tech>
7 months agoUplift Springboot to 3.5.3 in DMI 93/141493/2
egernug [Tue, 8 Jul 2025 12:50:45 +0000 (13:50 +0100)]
Uplift Springboot to 3.5.3 in DMI

-Uplifted springboot

Issue-ID: CPS-2871

Change-Id: I104106ae7a94d25ccdd3faeb934d59d6d2b50098
Signed-off-by: egernug <gerard.nugent@est.tech>
8 months agoMerge "Fix the input spec url for code generation in CPS-NCMP and ONAP-DMI-PLUGIN...
Sourabh Sourabh [Mon, 23 Jun 2025 14:26:55 +0000 (14:26 +0000)]
Merge "Fix the input spec url for code generation in CPS-NCMP and ONAP-DMI-PLUGIN repo"

8 months agoFix DMI vulnerabilities 50/141350/1
egernug [Fri, 20 Jun 2025 14:29:30 +0000 (15:29 +0100)]
Fix DMI vulnerabilities

-Upgraded httpclient5 to 5.4.4
-Upgraded springbooot to 3.4.7

Issue-ID: CPS-89

Change-Id: I92398cb9f1aa5c013102e4d6948a475c1d70d98a
Signed-off-by: egernug <gerard.nugent@est.tech>
8 months agoFix the input spec url for code generation in CPS-NCMP and ONAP-DMI-PLUGIN repo 44/141344/2
egernug [Thu, 19 Jun 2025 10:07:00 +0000 (11:07 +0100)]
Fix the input spec url for code generation in CPS-NCMP and ONAP-DMI-PLUGIN repo

- Added rst_epilog to conf.py
- Referenced rst_epilog replace in design.rst. Release variable in conf.py now controls what branch we download from.
- Added variable to pom.xml to download OpenAPI files from referenced branch

Issue-ID: CPS-2857

Change-Id: I79503398971f919b3cabc69a485ed7470d1ce7ed
Signed-off-by: egernug <gerard.nugent@est.tech>
8 months agoRender swagger-ui for dmi-plugin and dmi-plugin-internal 01/141301/4
egernug [Mon, 16 Jun 2025 13:12:07 +0000 (14:12 +0100)]
Render swagger-ui for dmi-plugin and dmi-plugin-internal

- Added resource-copy to maven-resources-plugin to make openapi.yaml available to swagger-ui

Issue-ID: CPS-2856

Change-Id: Ida9f14743b03b54680b259cf267a39a52e7a9305
Signed-off-by: egernug <gerard.nugent@est.tech>
8 months agoMerge "Download DMI API from the newly moved OpenAPI files CPS"
Priyank Maheshwari [Mon, 16 Jun 2025 15:50:03 +0000 (15:50 +0000)]
Merge "Download DMI API from the newly moved OpenAPI files CPS"

8 months agoRemove Excessive Logging from DMI Stub 60/141260/2
ToineSiebelink [Thu, 12 Jun 2025 16:35:59 +0000 (17:35 +0100)]
Remove Excessive Logging from DMI Stub

- Changed most info level logging to debug-level (10,000s of occurrences)
- Changed some info level logging for problems to warn-level (0 occurrences anyway)
- Removed Configuration i.e. disabled Springboot Built-In Request Logging

Issue-ID: CPS-2816
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: Ice0e2ac0d425de02d1d872cc7f3173746c2f029c

8 months agoDownload DMI API from the newly moved OpenAPI files CPS 63/141263/1
sourabh_sourabh [Fri, 13 Jun 2025 13:11:39 +0000 (14:11 +0100)]
Download DMI API from the newly moved OpenAPI files CPS

- Delete docs from docs folder in DMI
- Download files from CPS in pom.xml to perform code generation
- Stop copying files in pom.xml to the DMI doc folder
- Add downloaded OpenAPI files to .gitignore
- Change RTD to download files from CPS repo

Issue-ID: CPS-2815
Change-Id: I17bddd5235b0e333587730a38d9ed0d6e0cfcba7
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
8 months agoAdd Docker image build configuration with dynamic tagging and base image reference 41/141241/3
sourabh_sourabh [Wed, 11 Jun 2025 09:22:19 +0000 (10:22 +0100)]
Add Docker image build configuration with dynamic tagging and base image reference

- Defined target image using `${docker.push.registry}/onap/${image.name}:${image.tag}` format.
- Ensures consistent image versioning and reproducible builds for deployment pipelines.

Issue-ID: CPS-2837
Change-Id: I94928d2505d37cf3b847ffbac9f1f8996f7b1936
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
8 months agoMerge "Change DMI server from Tomcat to Jetty"
Priyank Maheshwari [Wed, 11 Jun 2025 11:34:29 +0000 (11:34 +0000)]
Merge "Change DMI server from Tomcat to Jetty"

8 months agoRemove unused cps auth params from DMI 82/141182/2
mpriyank [Tue, 10 Jun 2025 11:27:12 +0000 (12:27 +0100)]
Remove unused cps auth params from DMI

- we have removed spring security from CPS repo hence cleaning up the
  auth related parameters
- updating the documentation related to the same

Issue-ID: CPS-2841
Change-Id: Ia1deab32ad6b39346a3c9793a1ea5a4c17e3a7f7
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
8 months agoChange DMI server from Tomcat to Jetty 72/141172/3
egernug [Mon, 9 Jun 2025 15:17:49 +0000 (16:17 +0100)]
Change DMI server from Tomcat to Jetty

- Excluded Tomcat from Springboot in both dmi-service and dmi-stub-app
- Added dependency for spring-boot-starter-jetty
- Added JettyConfig  to allowAmbiguousPathSeparators

Issue-ID: CPS-2846

Change-Id: I202366bb0a24b0d591dbbd84c6ae3f89b062e44f
Signed-off-by: egernug <gerard.nugent@est.tech>
8 months ago[DMI] Enabling datasync flag when the cmhandle is READY #2 37/140837/11
mpriyank [Fri, 18 Apr 2025 11:30:37 +0000 (12:30 +0100)]
[DMI] Enabling datasync flag when the cmhandle is READY #2

- enabling the datasync flag once the cmhandle is successfully registered
  with CPS-NCMP and in READY state
- data sync flag can only be enabled when it has fetched all the modules from the
  cm handles over the network
- testware added for the same
- removed the use of auth username and password when calling to register
  cm handle with NCMP

Issue-ID: CPS-2757
Change-Id: Ib97483e51f1c314d663c1954c96a3ba96b699f2e
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
8 months agoAdd eg of Pnf registration event 33/141133/1
mpriyank [Fri, 6 Jun 2025 11:13:10 +0000 (12:13 +0100)]
Add eg of Pnf registration event

- as per suggestion , adding one more example from open air interface
  physical network function registration event

Issue-ID: CPS-2710
Change-Id: Ib2e7a1246cc8caa9bca784ab8293bf6a89d9e2aa
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
8 months agoMerge "Add git-commit-id-maven-plugin to generate build metadat"
Toine Siebelink [Tue, 3 Jun 2025 15:35:01 +0000 (15:35 +0000)]
Merge "Add git-commit-id-maven-plugin to generate build metadat"

8 months agoAdd git-commit-id-maven-plugin to generate build metadat 69/141069/1
sourabh_sourabh [Tue, 3 Jun 2025 13:03:05 +0000 (14:03 +0100)]
Add git-commit-id-maven-plugin to generate build metadat

- Integrated git-commit-id-maven-plugin in pom.xml
- Configured it to run during the package phase
- Outputs selected metadata to git.properties.
- Set custom date format and file output location

Issue-ID: CPS-2690
Change-Id: Id496bd7cc67982dedfd0a70dbdb6136046a2dac1
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
9 months ago[DMI] Automate the process of device registration #1 31/140831/15
mpriyank [Fri, 18 Apr 2025 10:54:27 +0000 (11:54 +0100)]
[DMI] Automate the process of device registration #1

- read from agreed topic using the VesEventSchema and call the
  registration endpoint in cps-ncmp to automate the device registration
  during mounting of the device.
- also added non cloud kafka consumer factory as VES event is not cloud
  compliant
- testware added

Issue-ID: CPS-2710
Change-Id: I5ab695afc225dcc372cff00a2f6f69c9047b14ed
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
9 months agoMerge "Implemented a Global Exception Handler using @ControllerAdvice to manage commo...
Toine Siebelink [Thu, 29 May 2025 13:10:33 +0000 (13:10 +0000)]
Merge "Implemented a Global Exception Handler using @ControllerAdvice to manage common exceptions across the application."

9 months agoBump up minor version of NCMP-DMI-PLUGIN 06/141006/1
mpriyank [Thu, 29 May 2025 11:09:44 +0000 (12:09 +0100)]
Bump up minor version of NCMP-DMI-PLUGIN

- NCMP-DMI-PLUGIN version bumped up to 1.8.0-SNAPSHOT

Issue-ID: CPS-2828
Change-Id: I8241d6f1632c96a8b7e0d133f6ade5e69f737059
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
9 months agoBump DMI to 1.7.1-SNAPSHOT 90/140990/1
mpriyank [Wed, 28 May 2025 15:24:52 +0000 (16:24 +0100)]
Bump DMI to 1.7.1-SNAPSHOT

- bump dmi
- update release notes

Issue-ID: CPS-2828
Change-Id: I0dbc21747cbc8cd8564c3b0d2f55d2ca2a7a54d0
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
9 months agoAdd container yaml for DMI 89/140989/1
mpriyank [Wed, 28 May 2025 15:03:09 +0000 (16:03 +0100)]
Add container yaml for DMI

- add container yaml

Issue-ID: CPS-2828
Change-Id: Id1a6d9b1dc8541ee52ab0b588b76b7b0dd0c93db
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
9 months agoAdd maven stage yaml for DMI 88/140988/1
mpriyank [Wed, 28 May 2025 14:57:05 +0000 (15:57 +0100)]
Add maven stage yaml for DMI

- add maven yaml for DMI plugin

Issue-ID: CPS-2828
Change-Id: I3cd32d8052dd3ffe252486c747d466cd7e3f516f
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
9 months agoUpdate cps version and release notes 84/140984/1
mpriyank [Wed, 28 May 2025 14:01:47 +0000 (15:01 +0100)]
Update cps version and release notes

- refer 3.6.3 version of cps
- update release notes for paris release

Issue-ID: CPS-2828
Change-Id: Ifcb21dcd0dac064a3c435535184e5c2c3d50abde
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
9 months agoImplemented a Global Exception Handler using @ControllerAdvice to manage common excep... 83/140983/1
sourabh_sourabh [Wed, 28 May 2025 13:55:30 +0000 (14:55 +0100)]
Implemented a Global Exception Handler using @ControllerAdvice to manage common exceptions across the application.

- Handles validation errors (MethodArgumentNotValidException) with detailed field error responses.
- Handles missing request parameters (MissingServletRequestParameterException) with clear error messages.
- Catches all other uncaught exceptions and returns a generic internal server error response.
- This improves error consistency, observability, and simplifies controller logic.

Issue-ID: CPS-2827
Change-Id: I702ca917d71af997a5743288732dbc1c91ee2798
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
9 months agoRevert "Download DMI API from the newly moved OpenAPI files CPS" 05/140805/1
Sourabh Sourabh [Tue, 27 May 2025 14:53:23 +0000 (14:53 +0000)]
Revert "Download DMI API from the newly moved OpenAPI files CPS"

This reverts commit bec82715175f007b1c54f7c5db6e36d44f417ca6.

Reason for revert: Reason for revert: K6 performance on nordix is failing as dmi-plugin-stub is responding http 500 status for write data job.

Issue-ID: CPS-2815
Change-Id: I6d8cbacb10bf69ffafcd69e64166a240a8bff205
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
9 months agoDownload DMI API from the newly moved OpenAPI files CPS 98/140898/5
egernug [Fri, 16 May 2025 12:24:08 +0000 (13:24 +0100)]
Download DMI API from the newly moved OpenAPI files CPS

- Delete docs from docs folder in DMI
- Download files from CPS in pom.xml to perform code generation
- Stop copying files in pom.xml to the DMI doc folder
- Add downloaded OpenAPI files to .gitignore
- Change RTD to download files from CPS repo

Issue-ID: CPS-2815

Change-Id: Ib0369023152128141dcadf7ec28f2b30c9db8271
Signed-off-by: egernug <gerard.nugent@est.tech>
9 months agoFixing the CPS container creation in DMI-Plugin 53/140953/1
egernug [Fri, 23 May 2025 09:05:36 +0000 (10:05 +0100)]
Fixing the CPS container creation in DMI-Plugin

- Change in CSIT setup to point to the correct docker file in CPS

Issue-ID: CPS-2824

Change-Id: I479a4aa5b9a203583c5f37772578ff10039ab0bb
Signed-off-by: egernug <gerard.nugent@est.tech>
10 months agoRefactor OpenAPI schema: Enhance SubjobWriteRequest structure 28/140828/1
sourabh_sourabh [Tue, 29 Apr 2025 12:33:34 +0000 (13:33 +0100)]
Refactor OpenAPI schema: Enhance SubjobWriteRequest structure

Issue-ID: CPS-2774
Change-Id: I31985139035f2954dcf6cd8387a75abf49be16d9
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
10 months agoUpdate CPS version in dmi-plugin 09/140709/2
egernug [Wed, 16 Apr 2025 13:16:45 +0000 (14:16 +0100)]
Update CPS version in dmi-plugin

Issue-ID: CPS-2771

Change-Id: Ia87c2a2dc13dd9fc6559f522318f54c66a59bf52
Signed-off-by: egernug <gerard.nugent@est.tech>
10 months agoUpdate dependencies to eliminate vulnerabilities 92/140692/1
egernug [Mon, 14 Apr 2025 15:50:26 +0000 (16:50 +0100)]
Update dependencies to eliminate vulnerabilities

-Updated json-smart
-Update spotbugs
-Fixes for new spotbugs SE_NO_SERIALVERSIONID bug
-Deleted fixbugs dependency as it is obsolete

Issue-ID: CPS-89

Change-Id: I8f33e9c66e5243c2b5c2079267c184af9c0dcd80
Signed-off-by: egernug <gerard.nugent@est.tech>
11 months agoRemove jetty.threads.max property #1 92/140492/1
halil.cakal [Tue, 18 Mar 2025 10:59:16 +0000 (10:59 +0000)]
Remove jetty.threads.max property #1

- since the default value of jetty.threads.max is 200, no need to limit
  it with 25 threads only.
- also, the k6 tests will open more parallel connections to match FS
  requirement for 200K

Issue-ID: CPS-2625

Change-Id: Ie61ce8d0d2c52d02105e6f5d83f411279d504636
Signed-off-by: halil.cakal <halil.cakal@est.tech>
12 months agoRealistic Examples: DMI Open API 54/140054/5
sourabh_sourabh [Mon, 27 Jan 2025 14:55:04 +0000 (14:55 +0000)]
Realistic Examples: DMI Open API

- ResourceIdentifiers must be url encoded fdns from ManagedElement.
  e.g.: '/ManagedElement=NRNode1/GNBDUFunction=1/NRCellDU=cell1'

Issue-ID: CPS-2484
Change-Id: I04336c669a5165dac82fc6acec3dfc9d237522c8
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
12 months agoFix sonar issue and upgrade cps.version 91/140191/1
mpriyank [Wed, 12 Feb 2025 13:04:17 +0000 (13:04 +0000)]
Fix sonar issue and upgrade cps.version

- removed using the deprecated fromHttpUrl method and instead using the
  chained method fromUriString which was anyways called from the
  fromHttpUrl method
- also updated the latest cps version i.e 3.6.0

Issue-ID: CPS-245
Change-Id: I4892f27ceba934db526aab509b9edd0d2367ab6d
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
13 months agoUpgrade Spring Boot Version in ONAP DMI Plugin 96/139896/2
seanbeirne [Mon, 13 Jan 2025 14:03:25 +0000 (14:03 +0000)]
Upgrade Spring Boot Version in ONAP DMI Plugin

spring-boot-maven-plugin 3.1.2->3.4.1
spring-boot-dependencies 3.1.2->3.4.1
spring-cloud-dependencies 2022.0.3->2024.0.0
spring-kafka 3.2.1->3.2.6

Issue-ID: CPS-2400
Change-Id: Ie2f0b3661746d99a3bcd1e76a1477dc4a4e7b029
Signed-off-by: seanbeirne <sean.beirne@est.tech>
13 months agoMerge "Realistic Examples: DMI Open API"
Lee Anjella Macabuhay [Mon, 13 Jan 2025 11:43:29 +0000 (11:43 +0000)]
Merge "Realistic Examples: DMI Open API"

13 months agoremove reference to cps-temporal 82/139882/1
thmsdt [Thu, 9 Jan 2025 13:33:12 +0000 (14:33 +0100)]
remove reference to cps-temporal

Issue-ID: DOC-826

Change-Id: I3da755f11ba9bb557345be45b7c5de11370a8f58
Signed-off-by: thmsdt <thomas.kulik@telekom.de>
13 months agoRealistic Examples: DMI Open API 62/139862/1
sourabh_sourabh [Tue, 7 Jan 2025 16:10:21 +0000 (16:10 +0000)]
Realistic Examples: DMI Open API

Issue-ID: CPS-2484
Change-Id: I6e4705542155368bee7272f63524a3cac60cd77e
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
14 months agoONAP Code Coverage for DMI is not publishing to sonar 05/139705/3
sourabh_sourabh [Tue, 10 Dec 2024 11:32:35 +0000 (11:32 +0000)]
ONAP Code Coverage for DMI is not publishing to sonar

- Added sonar plugin for dmi service.

Issue-ID: CPS-2545
Change-Id: Ic779c81dc5db3071010f5b47cd3f4a75a107c494
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
14 months agoAdd plugin to copy openapi files to doc folder 47/139647/1
mpriyank [Wed, 4 Dec 2024 15:49:34 +0000 (15:49 +0000)]
Add plugin to copy openapi files to doc folder

- Added copy to doc folder plugin for ncmp-dmi-plugin
- Updated the info.version property to 1.7.0 which ensures that the
  plugin works

Issue-ID: CPS-2539
Change-Id: I1d456e2b16a6d66e6e71c21e5e16732408721837
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
14 months agoupdate ncmp-dmi-plugin version 30/139630/1
mpriyank [Mon, 2 Dec 2024 14:33:48 +0000 (14:33 +0000)]
update ncmp-dmi-plugin version

- updated the ncmp-dmi-plugin version to 1.7.0-SNAPSHOT

Issue-ID: CPS-2489
Change-Id: Iccdb6d6b0a87e5bd36b85615f622ea3b3cd1b00d
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
14 months agoMerge "[DMI] The expression ${parent.groupId} is deprecated"
Toine Siebelink [Mon, 2 Dec 2024 13:14:54 +0000 (13:14 +0000)]
Merge "[DMI] The expression ${parent.groupId} is deprecated"

15 months agoBump DMI to 1.6.1-SNAPSHOT 24/139624/1
mpriyank [Fri, 29 Nov 2024 17:16:55 +0000 (17:16 +0000)]
Bump DMI to 1.6.1-SNAPSHOT

- bumped ncmp-dmi-plugin to 1.6.1-SNAPSHOT

Issue-ID: CPS-2489
Change-Id: I30eacf8d71a0a62e4592c020a1f3ceab6193b953
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
15 months agoRelease DMI container 1.6.0 22/139622/2
egernug [Fri, 29 Nov 2024 16:49:46 +0000 (16:49 +0000)]
Release DMI container 1.6.0

Issue-ID: CPS-2489

Change-Id: I807b892a0028b2672c4cba6cf7b9d6e2be742972
Signed-off-by: egernug <gerard.nugent@est.tech>
15 months agoMerge "Update DMI to 1.6.0.yaml"
Priyank Maheshwari [Fri, 29 Nov 2024 17:02:55 +0000 (17:02 +0000)]
Merge "Update DMI to 1.6.0.yaml"

15 months ago[DMI] The expression ${parent.groupId} is deprecated 23/139623/1
sourabh_sourabh [Fri, 29 Nov 2024 16:55:38 +0000 (16:55 +0000)]
[DMI] The expression ${parent.groupId} is deprecated

- The expression ${parent.groupId} is deprecated. Used ${project.parent.groupId} instead.
- For this reason, future Maven versions might no longer support
  building such malformed projects.

Issue-ID: CPS-2470
Change-Id: Ibc6ac64c526fc8fc8eaf1e717eb2cd6c6b3f19e1
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
15 months agoUpdate DMI to 1.6.0.yaml 21/139621/1
egernug [Fri, 29 Nov 2024 16:43:03 +0000 (16:43 +0000)]
Update DMI to 1.6.0.yaml

Issue-ID: CPS-2489

Change-Id: I347691e3f93385f2f8e7d858c28fc83a8f5ea6be
Signed-off-by: egernug <gerard.nugent@est.tech>
15 months ago[DMI] Fix for dmi stage-release job 19/139619/1
sourabh_sourabh [Fri, 29 Nov 2024 16:02:35 +0000 (16:02 +0000)]
[DMI] Fix for dmi stage-release job

- Used dmi group as static value.
- Made mvn dependency plugin inherited true explicitly.

Issue-ID: CPS-2470
Change-Id: Ia7a5f644b13c4f219cf45deaef52b595656bc3ee
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
15 months agoRelease notes and version update 18/139618/2
mpriyank [Fri, 29 Nov 2024 13:57:42 +0000 (13:57 +0000)]
Release notes and version update

- updated the latest cps released version i.e 3.5.5 in dmi-plugin POMs.
- Updated the release notes and syncd the openapi files

Issue-ID: CPS-2489
Change-Id: I1614a1d5fb903f1af19ca4cb6e8e372d0445bb6f
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
15 months agoUpdate openapi to reflect alternate id functionality 82/139582/7
seanbeirne [Wed, 27 Nov 2024 12:31:42 +0000 (12:31 +0000)]
Update openapi to reflect alternate id functionality

Issue-ID: CPS-2275
Change-Id: I833eb3389c2d8aa0eb02dffdd9302751edbebf58
Signed-off-by: seanbeirne <sean.beirne@est.tech>
15 months agoCorrecting the src openapi path 91/139591/1
mpriyank [Thu, 28 Nov 2024 14:56:53 +0000 (14:56 +0000)]
Correcting the src openapi path

- correcting the input path for openapi for dmi plugin and datajob to
  read it from dmi-service as that is the master copy.
- During the release process , the generated files in dmi-service/target
  directory need to be copied to ncmp-dmi-plugin/docs.. relevant
  directory

Issue-ID: CPS-2531
Change-Id: Ib751d4d40fb3fd6633ce13c5d14d6aa6586136e9
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
15 months ago[DMI] Used global variable for ncmp-dmi-plugin group id 80/139580/2
sourabh_sourabh [Wed, 27 Nov 2024 11:24:23 +0000 (11:24 +0000)]
[DMI] Used global variable for ncmp-dmi-plugin group id

Issue-ID: CPS-2499
Change-Id: I1bf8acba1134107b2cf1e51880e169524f3c8c54
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
15 months ago[DMI] Dummy code change to verify DMI merge master Job 2nd time 74/139574/1
sourabh_sourabh [Tue, 26 Nov 2024 14:51:57 +0000 (14:51 +0000)]
[DMI] Dummy code change to verify DMI merge master Job 2nd time

- Modify log info message

Issue-ID: CPS-2499
Change-Id: Iba9f71c33f68d94384506f7e9033cfe6c094ad69
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
15 months ago[DMI] Fix for DMI merge master Job 72/139572/3
sourabh_sourabh [Tue, 26 Nov 2024 13:45:56 +0000 (13:45 +0000)]
[DMI] Fix for DMI merge master Job

- ncmp-dmi-plugin group id is changed from "org.onap.cps" to "org.onap.cps.ncmp-dmi-plugin"

Issue-ID: CPS-2499
Change-Id: I6db7093c48c0f11ca2ef172458951a379d42d255
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
15 months agoRevert "[DMI] Fix for DMI merge master Job" 51/139151/1
Sourabh Sourabh [Thu, 21 Nov 2024 10:27:25 +0000 (10:27 +0000)]
Revert "[DMI] Fix for DMI merge master Job"

This reverts commit 726bc9b79335022f5e4174454972dee7f563a1c3.

Issue-ID: CPS-2499
Reason for revert: Merge master job is still failing

Change-Id: Id5331489f88e8e0c2f90e6c96c306d990d19293e
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
15 months ago[DMI] Fix for DMI merge master Job 08/139508/1
sourabh_sourabh [Wed, 20 Nov 2024 17:04:30 +0000 (17:04 +0000)]
[DMI] Fix for DMI merge master Job

- removed dmi stub module

Issue-ID: CPS-2499
Change-Id: I701071d408c008bcf36b374b38590a2d190c7a16
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
15 months ago[DMI] Fix for DMI merge master Job 06/139506/3
sourabh_sourabh [Wed, 20 Nov 2024 14:43:25 +0000 (14:43 +0000)]
[DMI] Fix for DMI merge master Job

- module names of onap dmi and stub is changed
- reverted to 1.6.0-SNAPSHOT

Issue-ID: CPS-2499
Change-Id: I2ca6f98ceb38bfc366997358ab9ecb0624098ac9
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
15 months ago[DMI] Fix for DMI merge master Job working 90/139490/2
sourabh_sourabh [Wed, 20 Nov 2024 10:37:59 +0000 (10:37 +0000)]
[DMI] Fix for DMI merge master Job working

- Configured ECOMP snapshot and release repository for onap dmi and stub
  with root.

Issue-ID: CPS-2499
Change-Id: I65aa559e5460b418c1a002a1e486e474500f1d00
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
15 months agoFix for DMI merge master Job working 59/139459/2
sourabh_sourabh [Tue, 19 Nov 2024 15:39:58 +0000 (15:39 +0000)]
Fix for DMI merge master Job working

- Docker image name od dmi and stub is changed.

Issue-ID: CPS-2499
Change-Id: Ib012cc3e319c5d071208b971146418e493e26da0
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
15 months agoFix for DMI merge master Job working 58/139458/2
sourabh_sourabh [Tue, 19 Nov 2024 13:36:26 +0000 (13:36 +0000)]
Fix for DMI merge master Job working

- Bumped DMI version from 1.6.0-SNAPSHOT to 3.5.5-SNAPSHOT

Issue-ID: CPS-2499
Change-Id: Ieeba324330080f5dc5f8723a7d8d6f37aa7945ca
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
15 months agoFix for DMI Merge job to address HTTP 403 issue while uploading dmi jar to nexus3... 22/139422/1
sourabh_sourabh [Mon, 18 Nov 2024 16:25:04 +0000 (16:25 +0000)]
Fix for DMI Merge job to address HTTP 403 issue while uploading dmi jar to nexus3.onap.org

- Enabled test plan

Issue-ID: CPS-2499
Change-Id: I3789c5602ebc640162f0274b784ebd9e08aaff60
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
15 months agoFix for DMI Merge job to address HTTP 403 issue while uploading dmi jar to nexus3... 18/139418/1
sourabh_sourabh [Mon, 18 Nov 2024 15:41:26 +0000 (15:41 +0000)]
Fix for DMI Merge job to address HTTP 403 issue while uploading dmi jar to nexus3.onap.org

Issue-ID: CPS-2499
Change-Id: Iba0141c5d1d51712ae2a17b7ffb1daeb2cdc19db
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
15 months agoFix for DMI Merge job to address HTTP 403 issue while uploading dmi jar to nexus3... 12/139412/2
sourabh_sourabh [Mon, 18 Nov 2024 13:22:35 +0000 (13:22 +0000)]
Fix for DMI Merge job to address HTTP 403 issue while uploading dmi jar to nexus3.onap.org

Issue-ID: CPS-2499
Change-Id: I18929479c73218d59296dcee8e28c50ff2da3a00
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
15 months agoFixed the java code checkstyle configuration and jacoco report 82/139382/13
sourabh_sourabh [Tue, 12 Nov 2024 13:12:02 +0000 (13:12 +0000)]
Fixed the java code checkstyle configuration and jacoco report

- Removed oParent dependency.
- pulled cps checkstyle and applied for all dmi modules for code style
  check and copyright.
- Ignored checkstyle folder for to be commited.
- Fixed java code styles.
- Added missing plugins and configurations for jacoco report.
- Configured deply plugin and related onap properties.
- Temporarily disabled CSIT.

Issue-ID: CPS-2471
Change-Id: I5a26c2a156b93c3e58c5c42814f1dff85831d4df
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
15 months agoFix for cps-ncmp-dmi-plugin-maven-merge-master job 98/139398/1
sourabh_sourabh [Wed, 13 Nov 2024 16:48:46 +0000 (16:48 +0000)]
Fix for cps-ncmp-dmi-plugin-maven-merge-master job

Issue-ID: CPS-2496
Change-Id: I66f3a215188eed6dd7c83a52ce831d97f9c0db46
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
16 months agoDMI simulator serving yang modules dynamically 94/139194/12
halil.cakal [Fri, 11 Oct 2024 16:22:06 +0000 (17:22 +0100)]
DMI simulator serving yang modules dynamically

- all modules and module references are created once,
   then are served as requested
- 5 module-set-tag supported from tagA to tagE
- 200 yang modules per module-set-tag
- module sizes are fixed at 32KiB each
- the average response size is 200 * 32KiB = 6.4MiB
   for each

Issue-ID: CPS-2410

Change-Id: Ie7ac73b8c0bd464b114a8d76104db4b569ae36f4
Signed-off-by: halil.cakal <halil.cakal@est.tech>
16 months agoAdded maven-checkstyle-plugin to parent POM for code style checks 51/139251/2
sourabh_sourabh [Tue, 22 Oct 2024 13:00:29 +0000 (14:00 +0100)]
Added maven-checkstyle-plugin to parent POM for code style checks

- Integrate Checkstyle to enforce coding standards across modules.
- Ensure Checkstyle applies to both dmi-service and dmi-stub modules.
- Fixed all code check style issues.

Issue-ID: CPS-2461
Change-Id: Ie84928c1f2e3de549cc8fab2001974369884a831
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
16 months agoUpdate the links from onap.org to lf-onap.atlassian.net 96/139196/2
halil.cakal [Mon, 14 Oct 2024 13:00:28 +0000 (14:00 +0100)]
Update the links from onap.org to lf-onap.atlassian.net

- rtd-validation failing in github' actions
- update broken links to fix job failure

Issue-ID: CPS-2447

Change-Id: I9541b1092e23ff6b36a7c09d3c12c994d9967b1a
Signed-off-by: halil.cakal <halil.cakal@est.tech>
17 months agoMove Swagger API to docs folder 15/138915/2
egernug [Mon, 9 Sep 2024 11:05:52 +0000 (12:05 +0100)]
Move Swagger API to docs folder

Use docs folder for code genereation

Issue-ID: CPS-2332

Change-Id: Ifd59025014766667e63baee65a06522903fd7da2
Signed-off-by: egernug <gerard.nugent@est.tech>
17 months agoMerge "Update cps version in DMI plugin"
Daniel Hanrahan [Mon, 9 Sep 2024 09:29:05 +0000 (09:29 +0000)]
Merge "Update cps version in DMI plugin"

17 months agoMerge "[DMI] Upgrade docker compose version"
Daniel Hanrahan [Fri, 6 Sep 2024 11:53:31 +0000 (11:53 +0000)]
Merge "[DMI] Upgrade docker compose version"

17 months agoUpdate cps version in DMI plugin 11/138911/1
mpriyank [Fri, 6 Sep 2024 09:44:47 +0000 (10:44 +0100)]
Update cps version in DMI plugin

- updated cps version to 3.5.2 i.e the latest released version
- updated corresponding dependant code from cps ncmp
- Fixed the testware

Issue-ID: CPS-2401
Change-Id: I8c3ed7cbdef11a195b86088006fd0e1e7642a572
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>