cps/ncmp-dmi-plugin.git
5 days agoUplift Springboot to 3.5.3 in DMI 93/141493/2 master
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>
3 weeks 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"

3 weeks 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>
3 weeks 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>
3 weeks 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>
4 weeks 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"

4 weeks 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

4 weeks 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>
4 weeks 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>
4 weeks 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"

4 weeks 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>
4 weeks 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>
4 weeks 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>
5 weeks 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>
5 weeks 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"

5 weeks 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>
6 weeks 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>
6 weeks 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."

6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
7 weeks 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>
7 weeks 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>
2 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>
2 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>
2 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>
3 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>
4 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>
5 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>
5 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>
5 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"

6 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>
6 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>
7 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>
7 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>
7 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>
7 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"

7 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>
7 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>
7 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"

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
8 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>
8 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>
8 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>
10 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>
10 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"

10 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"

10 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>
10 months ago[DMI] Fix security vulnerabilities 08/138908/1
mpriyank [Thu, 5 Sep 2024 14:10:58 +0000 (15:10 +0100)]
[DMI] Fix security vulnerabilities

- upgraded spring-kafka and spring-kafka-test to 3.2.1 version
- upgraded json-path to 2.9.0 version

Issue-ID: CPS-2342
Change-Id: If8118cb831a16d43d2fa936770776b0bf02cf653
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
10 months ago[DMI] Upgrade docker compose version 06/138906/1
mpriyank [Thu, 5 Sep 2024 11:44:33 +0000 (12:44 +0100)]
[DMI] Upgrade docker compose version

- Upgrade docker compose version to 2.29.2 which is inline with the
  cps-and-ncmp

Issue-ID: CPS-2397
Change-Id: I1e3abbaea0bfdfab48d653cc62e6e110ad3e83fa
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
10 months agoExpose healthchecks for DMI stub 85/138885/1
danielhanrahan [Mon, 2 Sep 2024 12:27:26 +0000 (13:27 +0100)]
Expose healthchecks for DMI stub

This allows using /actuator/health/readiness probe, etc.
This is part of a larger story to add healthchecks to
docker-compose used in CSITs and k6.

Issue-ID: CPS-2376
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Iaf62fc935b5fa8d512deea0cac1d4008ca175bb6

10 months agoFix to allow disabling initial module delay in DMI stub 81/138881/1
danielhanrahan [Mon, 2 Sep 2024 09:00:46 +0000 (10:00 +0100)]
Fix to allow disabling initial module delay in DMI stub

This fix is needed to disable initial module delay.
If initial module delay is set to zero, some first requests
will still fail due to comparison being 0 > 0 == false.

Issue-ID: CPS-2353
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I26869a146759312718c48f2a840234786b3ee229

10 months agoChange module set tag responses to include ietf-yang-types 76/138876/1
danielhanrahan [Fri, 30 Aug 2024 14:00:46 +0000 (15:00 +0100)]
Change module set tag responses to include ietf-yang-types

It is needed for k6 tests of module search returning 20k that
all module sets share a common module.

Issue-ID: CPS-2353
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Id075e17efce88aee10f79f70cb36e9627307b148

10 months agoMerge "Modified dmi plugin stub behavior for EACH new module set tag"
Daniel Hanrahan [Fri, 30 Aug 2024 12:38:04 +0000 (12:38 +0000)]
Merge "Modified dmi plugin stub behavior for EACH new module set tag"

10 months agoFixed URL for data job result 49/138649/6
leventecsanyi [Mon, 5 Aug 2024 13:46:59 +0000 (15:46 +0200)]
Fixed URL for data job result

- fixed opeanapi and stub
- updated pnp simulator image

Issue-ID: CPS-2296
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
Change-Id: I6654762256097f9deb8ce40cfc8014bed67cb269

10 months agoRefactored dat job interfaces - result endpoint changed is a separate commit 59/138759/1
leventecsanyi [Thu, 15 Aug 2024 11:52:21 +0000 (13:52 +0200)]
Refactored dat job interfaces - result endpoint changed is a separate commit

-changed openapi and stub implementations

Issue-ID: CPS-2360
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
Change-Id: Ib7d826f5909278309b7c16dc5caaabbe5f01732b

10 months agoCorrected Resource location for Stub 49/138749/1
mpriyank [Wed, 14 Aug 2024 14:52:01 +0000 (15:52 +0100)]
Corrected Resource location for Stub

- eliminate nullpointerexception from the DMI Stub logs

Issue-ID: CPS-2313
Change-Id: Iccfce28b3ccacb55b14a16525dcc621b4e1ae675
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
10 months agoModified dmi plugin stub behavior for EACH new module set tag 51/138651/5
sourabh_sourabh [Thu, 8 Aug 2024 13:48:52 +0000 (14:48 +0100)]
Modified dmi plugin stub behavior for EACH new module set tag

- Dmi plugin stub controller (getModuleReferences and getModuleResources) is modified to send http 503 for any module set tag from 1st request time till 2 mins.
- After 2 mins or later any number of request having same module set
  tag, stud would send http 200 with module references.

Issue-ID: CPS-2353
Change-Id: Ie44b7e80fee90c919f5fa9ec53419283088112ac
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
10 months agonew onap logo 31/138731/1
thmsdt [Wed, 14 Aug 2024 08:22:19 +0000 (10:22 +0200)]
new onap logo

Issue-ID: DOC-826

Change-Id: I07dc65847a371517ad0e71aa230da5e3749cdd75
Signed-off-by: thmsdt <thomas.kulik@telekom.de>
11 months agoGet data job result 83/138583/6
leventecsanyi [Fri, 26 Jul 2024 11:25:12 +0000 (13:25 +0200)]
Get data job result

    - extended openapi
    - added not-implemented http error for result endpoint
    - added testware
    - added stub implementation
    - fixed writeDataJob bug in stub

Issue-ID: CPS-2296
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
Change-Id: I9398cb73b635bec360df886372690187ff54e0d4

11 months agoAdded REST endpoint for data job status 63/138563/6
leventecsanyi [Wed, 24 Jul 2024 13:42:32 +0000 (15:42 +0200)]
Added REST endpoint for data job status

- extended opanapi
- added not-implemented http error for new endpoint
- added testware

Issue-ID: CPS-2295
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
Change-Id: Ib7aa90da2ec53dd523740ad267919fd2e709e937

11 months agoMerge "Fix DMI CSITs by using new TLS certificates"
Priyank Maheshwari [Thu, 25 Jul 2024 09:32:28 +0000 (09:32 +0000)]
Merge "Fix DMI CSITs by using new TLS certificates"

11 months agoFix DMI CSITs by using new TLS certificates 67/138567/2
danielhanrahan [Wed, 24 Jul 2024 15:58:07 +0000 (16:58 +0100)]
Fix DMI CSITs by using new TLS certificates

TLS certs for SDNC and PNF simulators have expired, causing CSITs
to fail. The new certificates are valid until 22/07/2034

Issue-ID: CPS-2327
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I6d447d77a22f0af399a724b294cb4ad5fb634648

11 months agoAdded DataJob related stub implementations 01/138501/2
leventecsanyi [Thu, 18 Jul 2024 11:45:35 +0000 (13:45 +0200)]
Added DataJob related stub implementations

- updated pom.xml
- added dataJob related code to DMI Stub controller
- uplifted swagger core dependency

Issue-ID: CPS-2323
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
Change-Id: If30e1fad31daec004ad67dd3f2be1815aeb538b2

11 months agoMerge "Fix DMI Stub dependency issues"
Sourabh Sourabh [Wed, 17 Jul 2024 12:28:54 +0000 (12:28 +0000)]
Merge "Fix DMI Stub dependency issues"

11 months agoFix DMI Stub dependency issues 95/138495/2
egernug [Wed, 17 Jul 2024 06:41:44 +0000 (07:41 +0100)]
Fix DMI Stub dependency issues

Issue-ID: CPS-2321

Change-Id: I8d2b597aa7b537d29db7da6d60edeaa99fb2b76d
Signed-off-by: egernug <gerard.nugent@est.tech>
11 months agoSeparate dmi delay for passthrough operations 73/138473/4
halil.cakal [Fri, 12 Jul 2024 15:38:07 +0000 (16:38 +0100)]
Separate dmi delay for passthrough operations

- set dmi delay to 670 ms for passthrough write (CUD)
- set dmi delay to 300 ms for passthrough read

Issue-ID: CPS-2285

Change-Id: I38f3db688fa311e6e25515909ea583dd76ee90dc
Signed-off-by: halil.cakal <halil.cakal@est.tech>
12 months agoRelocation of DMI Stub to DMI Plugin 00/138400/8
egernug [Mon, 8 Jul 2024 09:59:08 +0000 (10:59 +0100)]
Relocation of DMI Stub to DMI Plugin

Move the DMI Stub into Plugin to use generated code classes
Changes:
-Created dmi-stub module
-Changed dmi-plugin-demo-and-csit-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml dependency from cps-ncmp-rest to cps-ncmp-events
-Added extra required dependencies to dmi-plugin-demo-and-csit-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml
-Included EventDateTimeFormatter in dmi-plugin-demo-and-csit-stub/dmi-plugin-demo-and-csit-stub-service/utils
-Included dmi-stub in pom.xml

Issue-ID: CPS-2145

Change-Id: Ibf0c9601564d3b38979c07c6a00d622cf763bf6b
Signed-off-by: egernug <gerard.nugent@est.tech>
12 months agoCreate module structure in DMI Plugin 07/138307/2
egernug [Fri, 21 Jun 2024 11:53:06 +0000 (12:53 +0100)]
Create module structure in DMI Plugin

To push the stub in  to DMI Plugin the Plugin will need to be modulized akin to CPS/NCMP. This involves creating a new module in the repo and porting the packages in src into this module

Issue-ID: CPS-2284

Change-Id: Iffa4eded4e49c220891fe73c30ea3b2f12a9e66d
Signed-off-by: egernug <gerard.nugent@est.tech>
13 months agoMerge "Implement ACK in DMI Plugin"
Toine Siebelink [Wed, 5 Jun 2024 07:13:43 +0000 (07:13 +0000)]
Merge "Implement ACK in DMI Plugin"

13 months agoImplement ACK in DMI Plugin 99/138099/4
egernug [Wed, 29 May 2024 09:22:59 +0000 (10:22 +0100)]
Implement ACK in DMI Plugin

Implementing a response in DMI Plugin to indicate that the datajobs API is not implemented

Issue-ID: CPS-2243

Change-Id: I5215d634006a2031638110e3dc159c66ad4e7d86
Signed-off-by: egernug <gerard.nugent@est.tech>
13 months agoMerge "CPS-2187 - Move Module Set Tag into request body for data access passthrough"
Toine Siebelink [Wed, 29 May 2024 12:39:35 +0000 (12:39 +0000)]
Merge "CPS-2187 - Move Module Set Tag into request body for data access passthrough"

13 months agoMerge "DMI CmSubscription topic params update"
Lee Anjella Macabuhay [Tue, 28 May 2024 14:19:38 +0000 (14:19 +0000)]
Merge "DMI CmSubscription topic params update"

13 months agoCPS-2187 - Move Module Set Tag into request body for data access passthrough 88/138088/3
david.mcweeney [Tue, 28 May 2024 09:45:02 +0000 (10:45 +0100)]
CPS-2187 - Move Module Set Tag into request body for data access passthrough

Change-Id: If633e1d2cd3e9986917f3537286896198a6a3897
Signed-off-by: david.mcweeney <david.mcweeney@est.tech>
Issue-ID: CPS-2187

13 months agoDMI CmSubscription topic params update 81/138081/2
seanbeirne [Fri, 24 May 2024 14:51:02 +0000 (15:51 +0100)]
DMI CmSubscription topic params update

Issue-ID: CPS-2242
Change-Id: I4628e28a14bab7b15c615d13d6aea7ae97409f5a
Signed-off-by: seanbeirne <sean.beirne@est.tech>
13 months agoRemove allowReserved from Swagger definitions 38/138038/2
ToineSiebelink [Wed, 22 May 2024 10:54:23 +0000 (11:54 +0100)]
Remove allowReserved from Swagger definitions

- this option was used on some URL parameters (by accident)
- does not seem to affect production code but is at least misleadingt)

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

13 months agoMerge "DMI REST interface documentation"
Toine Siebelink [Tue, 21 May 2024 09:19:48 +0000 (09:19 +0000)]
Merge "DMI REST interface documentation"