cps/ncmp-dmi-plugin.git
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>
11 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>
11 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"

13 months agoMerge "CPS-2182 -#3 Include module Set Tag in dmi batch data enpoint"
Sourabh Sourabh [Mon, 20 May 2024 16:27:44 +0000 (16:27 +0000)]
Merge "CPS-2182 -#3 Include module Set Tag in dmi batch data enpoint"

13 months agoCPS-2182 -#3 Include module Set Tag in dmi batch data enpoint 60/137860/15
david.mcweeney [Wed, 8 May 2024 11:37:02 +0000 (12:37 +0100)]
CPS-2182 -#3 Include module Set Tag in dmi batch data enpoint

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

13 months agoMerge "Separate REST endpoints to individual read and write calls"
Toine Siebelink [Mon, 20 May 2024 13:18:36 +0000 (13:18 +0000)]
Merge "Separate REST endpoints to individual read and write calls"

13 months agoMerge "CPS-2187 - #5 Add module Set Tag to dmi (single cm handle) data request"
Toine Siebelink [Mon, 20 May 2024 08:45:44 +0000 (08:45 +0000)]
Merge "CPS-2187 - #5 Add module Set Tag to dmi (single cm handle) data request"

13 months agoSet CPS Project Status to 'Mature' 39/137939/1
ToineSiebelink [Thu, 16 May 2024 14:38:06 +0000 (15:38 +0100)]
Set CPS Project Status to 'Mature'

As approved by TSC on 2024-05-16
See also https://wiki.onap.org/display/DW/ONAP+Project+and+Component+Lifecycle

Issue-ID: CPS-2220

Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I39b91b774a60892ea148eb9ce62bb2518990c393

13 months agoCPS-2187 - #5 Add module Set Tag to dmi (single cm handle) data request 42/137842/16
david.mcweeney [Thu, 2 May 2024 14:14:52 +0000 (15:14 +0100)]
CPS-2187 - #5 Add module Set Tag to dmi (single cm handle) data request

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

13 months agoSeparate REST endpoints to individual read and write calls 94/137894/4
egernug [Tue, 14 May 2024 13:02:07 +0000 (14:02 +0100)]
Separate REST endpoints to individual read and write calls

Issue-ID: CPS-2141

Change-Id: I5fe1a8e087084c35e51f24d8e8d1241194335725
Signed-off-by: egernug <gerard.nugent@est.tech>
13 months agoMerge "CPS-2181 - #2 Included Module Set Tag as incoming param for Yang Module Resour...
Toine Siebelink [Thu, 16 May 2024 08:42:45 +0000 (08:42 +0000)]
Merge "CPS-2181 - #2 Included Module Set Tag as incoming param for Yang Module Resources - DMI"

13 months agoCPS-2181 - #2 Included Module Set Tag as incoming param for Yang Module Resources... 37/137837/6
david.mcweeney [Tue, 30 Apr 2024 09:24:41 +0000 (10:24 +0100)]
CPS-2181 - #2 Included Module Set Tag as incoming param for Yang Module Resources - DMI

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

13 months agoBump DMI to 1.6.0-SNAPSHOT 03/137903/1
mpriyank [Wed, 15 May 2024 09:48:17 +0000 (10:48 +0100)]
Bump DMI to 1.6.0-SNAPSHOT

- bump dmi to 1.6.0-SNAPSHOT version

Issue-ID: CPS-2229
Change-Id: I673f0bd60d78a96eece97cd113fcc94caabab7da
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
14 months agoIncrease version for DMI Release 97/137897/3
seanbeirne [Tue, 14 May 2024 14:39:35 +0000 (15:39 +0100)]
Increase version for DMI Release

Issue-ID: CPS-2224
Change-Id: I83f885fbc5aa060fbf48ef3cb27cb2ef69ffbb95
Signed-off-by: seanbeirne <sean.beirne@est.tech>
14 months agoCreate maven docker stage yaml for release 95/137895/2
seanbeirne [Tue, 14 May 2024 13:21:23 +0000 (14:21 +0100)]
Create maven docker stage yaml for release

Issue-ID: CPS-2224
Change-Id: Ib21d147e5545337d83673f794a13c74f8e1627e6
Signed-off-by: seanbeirne <sean.beirne@est.tech>
14 months agoCreate maven stage yaml for release 92/137892/2
seanbeirne [Tue, 14 May 2024 12:47:28 +0000 (13:47 +0100)]
Create maven stage yaml for release

Issue-ID: CPS-2224
Change-Id: I0559f9b20e3a5593490c1f9be494bd03e14dac36
Signed-off-by: seanbeirne <sean.beirne@est.tech>
14 months agoUpdate pom for stage release 90/137890/1
seanbeirne [Tue, 14 May 2024 09:43:00 +0000 (10:43 +0100)]
Update pom for stage release

Issue-ID: CPS-2224
Change-Id: I739b3e395c01ffe4095af6547a95097c26704474
Signed-off-by: seanbeirne <sean.beirne@est.tech>
14 months agoIncrease Test Coverage for DMI 58/137858/2
seanbeirne [Tue, 7 May 2024 09:59:54 +0000 (10:59 +0100)]
Increase Test Coverage for DMI

Issue-ID: CPS-2203
Change-Id: Ib2fd213512db9f23220db53ed795961e747ee17c
Signed-off-by: seanbeirne <sean.beirne@est.tech>
14 months agoDMI REST interface documentation 05/137805/4
egernug [Mon, 29 Apr 2024 14:26:50 +0000 (15:26 +0100)]
DMI REST interface documentation

Issue-ID: CPS-2141

Change-Id: Ifb31682128cc23d20cdb46214bddc3cc9061257c
Signed-off-by: egernug <gerard.nugent@est.tech>
14 months agoDefine DMI REST interface for Datajobs 04/137704/6
egernug [Wed, 17 Apr 2024 09:08:38 +0000 (10:08 +0100)]
Define DMI REST interface for Datajobs

Define new REST interface :
Method: POST
Path: /dmi/v1/dataJob/{requestId}
New Interface DMI-I-02

Issue-ID: CPS-2141

Change-Id: I46ddbc4b179fcdfc3396d4044aa201dc7f503918
Signed-off-by: egernug <gerard.nugent@est.tech>
15 months agoMerge "Read and send Response (DMI <> NCMP) for CmSubscription"
Daniel Hanrahan [Thu, 11 Apr 2024 14:46:42 +0000 (14:46 +0000)]
Merge "Read and send Response (DMI <> NCMP) for CmSubscription"

15 months agoRead and send Response (DMI <> NCMP) for CmSubscription 99/137499/9
seanbeirne [Tue, 12 Mar 2024 12:07:54 +0000 (12:07 +0000)]
Read and send Response (DMI <> NCMP) for CmSubscription

-Update subscription code to new models

Issue-ID: CPS-1971
Change-Id: I382ca31407f8088ddea889a7ab904a22c09789ff
Signed-off-by: seanbeirne <sean.beirne@est.tech>
15 months agoMerge "Add moduleSetTag to the request towards dmi plugin"
Toine Siebelink [Thu, 4 Apr 2024 13:30:08 +0000 (13:30 +0000)]
Merge "Add moduleSetTag to the request towards dmi plugin"

15 months agoRemove old committers from INFO.yaml (DMI) 45/137645/1
ToineSiebelink [Thu, 4 Apr 2024 10:00:59 +0000 (11:00 +0100)]
Remove old committers from INFO.yaml (DMI)

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

15 months agoAdd moduleSetTag to the request towards dmi plugin 38/137638/4
leventecsanyi [Tue, 2 Apr 2024 12:37:57 +0000 (14:37 +0200)]
Add moduleSetTag to the request towards dmi plugin

    - extended openapi definition with moduleSetTag
    - updated openapi.yaml and release-notes.rst

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

15 months agoModify INFO.yaml for committer rights (DMI) 07/137607/1
danielhanrahan [Thu, 28 Mar 2024 16:32:09 +0000 (16:32 +0000)]
Modify INFO.yaml for committer rights (DMI)

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

16 months agoRemove old subscription code and other fixes 84/137484/7
mpriyank [Wed, 6 Mar 2024 12:52:47 +0000 (12:52 +0000)]
Remove old subscription code and other fixes

- removed old subscription related dummy code.
- updated cps version to 3.4.6 to use the latest released version
- added six dependency for the RTD fix
- Removing the CloudEventMapper for now. Can be brought back when
  somebody uses it
- added missing test for InvalidDatastoreException which was failing on
  coverage check locally

Issue-ID: CPS-2149
Change-Id: I60e9036398fea82bb0162ab5524a1cc45dedb611
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
16 months agoupdate link to upper-constraints.txt 14/137414/1
thmsdt [Tue, 27 Feb 2024 10:25:18 +0000 (11:25 +0100)]
update link to upper-constraints.txt

Issue-ID: DOC-823

Change-Id: I7a49a3e0b44a0a1d418692ea6cb809becabea120
Signed-off-by: thmsdt <thomas.kulik@telekom.de>
17 months agoFix: Add six as dependency for sphinxcontrib-swaggerdoc 04/137104/1
halil.cakal [Thu, 1 Feb 2024 09:40:25 +0000 (09:40 +0000)]
Fix: Add six as dependency for sphinxcontrib-swaggerdoc

Issue-ID: CIMAN-33
Change-Id: Ia51f6d99fb91533cd92944f3a1c271f80d3f33de
Signed-off-by: halil.cakal <halil.cakal@est.tech>
17 months agoOmitting the basic auth header in healthcheck test 82/137082/2
waqas.ikram [Thu, 25 Jan 2024 12:03:26 +0000 (12:03 +0000)]
Omitting the basic auth header in healthcheck test

as it is not required and adding v3 to uri of api-docs plus allowing
swagger-ui.html to be access as well

Issue-ID: CPS-2045
Change-Id: Ia254e718a28d58578b8b0dcbf2abd8f7ef1c0e1d
Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
17 months agoUpdate relevant robot scripts in DMI CSITs 30/137030/4
emaclee [Thu, 18 Jan 2024 12:44:58 +0000 (12:44 +0000)]
Update relevant robot scripts in DMI CSITs

Issue-ID: CPS-2032
Change-Id: I9f7f1e9078612434d07efeb9dadeb65d2f5acc48
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
18 months agoAdd CSIT test for DMI Swagger UI 60/136960/1
halil.cakal [Wed, 10 Jan 2024 15:24:09 +0000 (15:24 +0000)]
Add CSIT test for DMI Swagger UI

- Test that DMI Swagger UI is accessible.

Issue-ID: CPS-1916
Change-Id: I4b357c47903b6541674146ad726899f67af28858
Signed-off-by: halil.cakal <halil.cakal@est.tech>
20 months agoIncrease minor version of DMI 99/136399/1
mpriyank [Tue, 7 Nov 2023 14:33:55 +0000 (14:33 +0000)]
Increase minor version of DMI

- increased the minor version of DMI Plugin to 1.5.0 and now we are
  working towards 1.5.0-SNAPSHOT

Issue-ID: CPS-1944
Change-Id: I4e9c00185d9d7842669dc825947dc247bad71f04
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
20 months agoBump DMI to 1.4.1-SNAPSHOT 94/136394/1
mpriyank [Tue, 7 Nov 2023 12:11:57 +0000 (12:11 +0000)]
Bump DMI to 1.4.1-SNAPSHOT

- bump dmi to 1.4.1-SNAPSHOT

Issue-ID: CPS-1955
Change-Id: I7d752b1195d613bbc84f7b9252359e3e141d0a7f
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
20 months agoAdd container yaml for dmi 93/136393/1
mpriyank [Tue, 7 Nov 2023 11:36:35 +0000 (11:36 +0000)]
Add container yaml for dmi

Issue-ID: CPS-1955
Change-Id: I428a1b4d0282478caabb4454b55afd86931301ce
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
20 months agoMaven stage yaml file 92/136392/1
mpriyank [Tue, 7 Nov 2023 10:29:50 +0000 (10:29 +0000)]
Maven stage yaml file

- to release dmi plugin 1.4.0 version

Issue-ID: CPS-1955
Change-Id: Ia17884e446404a70e668382a0f4b2a0e4915c9b8
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
20 months agoDMI Release notes and dependency update 89/136389/3
mpriyank [Mon, 6 Nov 2023 17:53:00 +0000 (17:53 +0000)]
DMI Release notes and dependency update

- CPS Core dependency added
- Release notes updated

Issue-ID: CPS-1955
Change-Id: Ic01b9f4ae0276bbcabc4d12298181d3397eb1394
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
20 months agoMerge "Sonar Fixes"
Toine Siebelink [Thu, 2 Nov 2023 16:17:37 +0000 (16:17 +0000)]
Merge "Sonar Fixes"

20 months agoSonar Fixes 74/136374/2
egernug [Thu, 2 Nov 2023 11:28:51 +0000 (11:28 +0000)]
Sonar Fixes

Fixing deprecations in WebSecurityConfig and DmiConfiguration

Issue-ID: CPS-89

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

20 months agoMerge "Update dependencies to resolve vulnerabilities"
Toine Siebelink [Wed, 1 Nov 2023 12:37:07 +0000 (12:37 +0000)]
Merge "Update dependencies to resolve vulnerabilities"

20 months agoUpdate dependencies to resolve vulnerabilities 48/136348/1
egernug [Wed, 1 Nov 2023 11:02:24 +0000 (11:02 +0000)]
Update dependencies to resolve vulnerabilities

Issue-ID: CPS-1790

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

20 months agoMerge "Upgrade of DMI-Plugin to Spring Boot 3.1.2"
Toine Siebelink [Wed, 1 Nov 2023 10:02:14 +0000 (10:02 +0000)]
Merge "Upgrade of DMI-Plugin to Spring Boot 3.1.2"

20 months agoUpgrade of DMI-Plugin to Spring Boot 3.1.2 82/136282/6
egernug [Thu, 19 Oct 2023 10:23:13 +0000 (11:23 +0100)]
Upgrade of DMI-Plugin to Spring Boot 3.1.2

Issue-ID: CPS-1790

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

20 months ago[BUG] DMI Change management base endpoint 14/136314/3
halil.cakal [Wed, 25 Oct 2023 11:02:49 +0000 (12:02 +0100)]
[BUG] DMI Change management base endpoint

- Update DMI management endpoint from /manage to
  /actuator
- The actuator port is as same as application port
- Change CSIT portfolio
- Change web config filters
- Change docker-compose
- Update the docs

Issue-ID: CPS-1922
Change-Id: Iab45a625b518f1b24a77c99dbdf20a58105723b6
Signed-off-by: halil.cakal <halil.cakal@est.tech>
21 months agoModify INFO.yaml to add new committer [DMI] 44/136044/1
emaclee [Wed, 27 Sep 2023 08:19:41 +0000 (09:19 +0100)]
Modify INFO.yaml to add new committer [DMI]

Issue-ID: CPS-1887
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
Change-Id: I930d5a2f0660d077042134a885c39bb44b27b5f4

21 months agoUpdate readthedocs pages with healthcheck API 54/135954/4
halil.cakal [Tue, 12 Sep 2023 14:32:53 +0000 (15:32 +0100)]
Update readthedocs pages with healthcheck API

- Add healthcheck API to read the docs pages

Issue-ID: CPS-1868
Change-Id: I6d57bc26845f9d0dcd4402b4c6f0c087b9be0c5d
Signed-off-by: halil.cakal <halil.cakal@est.tech>
22 months agoFix pojos and classes with new cps version 19/135819/3
mpriyank [Thu, 24 Aug 2023 13:20:51 +0000 (14:20 +0100)]
Fix pojos and classes with new cps version

- incorporate changes done on pojos and schema rename in cps 3.3.6 which
  affects dmi plugin
- refactor the test cases and naming
- dmi plugin to use the upgraded cps version

Issue-ID: CPS-1828
Change-Id: I98fbb15dac58caac584b9e267be0c1cdc3675b91
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
23 months agoDMI to NCMP Subscription Delete Response 59/135559/2
seanbeirne [Tue, 25 Jul 2023 15:54:03 +0000 (16:54 +0100)]
DMI to NCMP Subscription Delete Response

Issue-ID: CPS-1809
Signed-off-by: seanbeirne <sean.beirne@est.tech>
Change-Id: I482cdea009dccc97aea5e96d5d831603c6e21206

23 months agoDMI Plugins respond back to NCMP Events Schema 51/134951/13
seanbeirne [Mon, 19 Jun 2023 13:42:28 +0000 (14:42 +0100)]
DMI Plugins respond back to NCMP Events Schema

- Introduced Cloud Events for Subscription Response
- Created SubscriptionEventResponseMapper
- Created CloudEventContructionException for DMI
- Modified Folder Structure for Subscriptions

Issue-ID: CPS-1738
Signed-off-by: seanbeirne <sean.beirne@est.tech>
Change-Id: I242926fb3e6ceb8e6a6ca23bfbd794feacdeaf20

23 months agoMigrate DMI Plugin to Java 17 81/135481/3
egernug [Mon, 17 Jul 2023 12:45:51 +0000 (13:45 +0100)]
Migrate DMI Plugin to Java 17

As part of vulnerability work CPS is migrating to Java 17

Issue-ID: CPS-1775

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

2 years agoDMI Data AVC RFC8641 and CloudEvent Compliant 08/135008/5
mpriyank [Tue, 20 Jun 2023 12:42:31 +0000 (13:42 +0100)]
DMI Data AVC RFC8641 and CloudEvent Compliant

- Introduced CloudEvents for DMI Data AVC Events
- Kafkatemplate config to support legacy as well as CloudEvents
- AvcEvent to be compliant with RFC8641 schema format
- Updating the released version of CPS and NCMP 3.3.3
- Refactored the test code to handle the changes related to CloudEvents

Issue-ID: CPS-1719
Change-Id: I082bbceda6dc26c860e1eff977ede219296d1875
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoChange to OpenAPI 3.0 02/135202/1
egernug [Wed, 28 Jun 2023 09:57:53 +0000 (10:57 +0100)]
Change to OpenAPI 3.0

In preparation for Java 17 migration Swagger codegen needs to be replaced by OpenaAPI 3.0

Issue-ID: CPS-1745

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

2 years agoMerge "DMI Plugin replace WebSecurityConfigurerAdapter"
Toine Siebelink [Thu, 22 Jun 2023 15:36:49 +0000 (15:36 +0000)]
Merge "DMI Plugin replace WebSecurityConfigurerAdapter"

2 years agoDMI Plugin replace WebSecurityConfigurerAdapter 94/135094/2
egernug [Thu, 22 Jun 2023 12:26:13 +0000 (13:26 +0100)]
DMI Plugin replace WebSecurityConfigurerAdapter

Replacing the deprecated class.

Issue-ID: CPS-1759

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

2 years agoAdd RTD link to CPS in Release notes 83/135083/2
ToineSiebelink [Thu, 22 Jun 2023 09:16:06 +0000 (10:16 +0100)]
Add RTD link to CPS in Release notes

Issue-ID: REQ-1580
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I3481703ab6c96b4a12e0804fe04c48c47ffe92ab

2 years agoApply latest ReadTheDoc config rules 42/135042/1
ToineSiebelink [Wed, 21 Jun 2023 09:54:51 +0000 (10:54 +0100)]
Apply latest ReadTheDoc config rules

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

2 years agoDMI-Plugin : Replacing the word 'Batch' as 'DataOperation'. 78/134978/2
raviteja.karumuri [Mon, 19 Jun 2023 15:43:32 +0000 (16:43 +0100)]
DMI-Plugin : Replacing the word 'Batch' as 'DataOperation'.

Issue-ID: CPS-1754
Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech>
Change-Id: I8a1d6e329bb79d3762da17e9740854048b2aeace

2 years agoDMI-Plugin : Update batch endpoint (move url param into rest body) 92/134692/7
raviteja.karumuri [Wed, 24 May 2023 17:23:38 +0000 (18:23 +0100)]
DMI-Plugin : Update batch endpoint (move url param into rest body)

Issue-ID: CPS-1636
Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech>
Change-Id: I787be1be899a69c0972ccfd17016e67eaf8a771a

2 years agoRearrange method params 69/134269/1
mpriyank [Fri, 21 Apr 2023 11:06:11 +0000 (12:06 +0100)]
Rearrange method params

- auto generated code results in parameter sequence mismatch.

Issue-ID: CPS-1627
Change-Id: I5b9ca44867bff42bfc5ca35a41560d9ef86b069a
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoMerge "Align dependencies with CPS/NCMP"
Luke Gleeson [Thu, 20 Apr 2023 12:34:01 +0000 (12:34 +0000)]
Merge "Align dependencies with CPS/NCMP"

2 years agoAlign dependencies with CPS/NCMP 40/134240/5
ToineSiebelink [Wed, 19 Apr 2023 15:52:14 +0000 (16:52 +0100)]
Align dependencies with CPS/NCMP

- Updated several generic dependecies
- Changed OpenAPI to use core.v3 version
- Order of parameters in generated controlelr code changed
- Some maven plugins can uses 'latest' version (affected OpenApi code gen)
- set some lib versions for csit test
- removed spotbug exclusion file (it alwasy used CPS version of this file anyway)
- removed @Valid annotaions in affect file (as agrred long time back)

Issue-ID: CPS-1627

Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: Ib355382df68ed440618737067590631c7c3a1c8b

2 years agoMerge "Define an interface to accept collection of cm handles for Get operation."
Toine Siebelink [Thu, 20 Apr 2023 08:48:32 +0000 (08:48 +0000)]
Merge "Define an interface to accept collection of cm handles for Get operation."

2 years agoDefine an interface to accept collection of cm handles for Get operation. 14/134014/7
leventecsanyi [Wed, 5 Apr 2023 09:42:30 +0000 (11:42 +0200)]
Define an interface to accept collection of cm handles for Get operation.

 - Added REST endpoint (Not Implemented yet)
 - Created unit test

Issue-ID: CPS-1555
Change-Id: I24ce8d663602c08cc207f4657289631439d3fb9e
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2 years ago[CPS] Bump minor version - Step12 42/134042/2
mpriyank [Fri, 7 Apr 2023 09:20:37 +0000 (10:20 +0100)]
[CPS] Bump minor version - Step12

- bump minor version of ncmp-dmi-plugin from 1.3.0-SNAPSHOT to
  1.4.0-SNAPSHOT in the master branch

Issue-ID: CPS-1610
Change-Id: I9238d58841b3c5f0133087fa4df5ff717284f197
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoRemove docs/conf.yaml 20/134020/1
danielhanrahan [Wed, 5 Apr 2023 11:46:11 +0000 (12:46 +0100)]
Remove docs/conf.yaml

Change to ONAP pipeline is causing docs-rules job to fail if
docs/conf.yaml file exists. So we remove it.

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

2 years agoFix error 500 while pulling test container cp-kafka 19/133919/1
halil.cakal [Wed, 29 Mar 2023 17:40:46 +0000 (18:40 +0100)]
Fix error 500 while pulling test container cp-kafka

Issue-ID: CPS-1492
Change-Id: I76be5264b111be36f9d2d1f0af13606244189e7c
Signed-off-by: halil.cakal <halil.cakal@est.tech>
2 years agoSubscription Create Response Handling Dmi Part 43/133643/19
halil.cakal [Tue, 14 Mar 2023 11:24:26 +0000 (11:24 +0000)]
Subscription Create Response Handling Dmi Part

- Consume suscription event (payload) with kafka message key
  and kafka timestamp from ncmp, and extract cm handle ids.
- Generate subscription event response (payload) and revert it
  back to ncmp to specified topic with the corresponding
  kafka message key.
- Configure kafka consumer properties and dmi service name.

Issue-ID: CPS-1492
Change-Id: I87de30c00e0f93e350ce6f9fd6079504952da09b
Signed-off-by: halil.cakal <halil.cakal@est.tech>
2 years agoFix Avc event creator 89/133789/1
mpriyank [Thu, 23 Mar 2023 14:17:00 +0000 (14:17 +0000)]
Fix Avc event creator

- adhere to changes in the Avc event schema in cps-and-ncmp repo.
- Update cps version dependency in dmi-plugin

Issue-ID: CPS-1578
Change-Id: I6749aac437b7954725e5a3a7887ec260cb5e733e
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoAdd sphinxcontirb.spelling extension into conf.py 96/133696/1
halil.cakal [Mon, 20 Mar 2023 10:33:08 +0000 (10:33 +0000)]
Add sphinxcontirb.spelling extension into conf.py

- It also align dmi module with cps for tox.ini config

Issue-ID: DOC-798
Change-Id: Ie241f5490243de43fa2889ef88a6dca93702f7a9
Signed-off-by: halil.cakal <halil.cakal@est.tech>
2 years agoMerge existing dmi-plugin of data access passthrough endpoints 29/133629/2
sourabh_sourabh [Mon, 13 Mar 2023 15:49:35 +0000 (15:49 +0000)]
Merge existing dmi-plugin of data access passthrough endpoints

- Introduced datastore enum and execute existing method based on given
  datastore.

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