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

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

6 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

6 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

6 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

7 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>
7 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>
8 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>
8 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>
8 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>
8 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>
10 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>
10 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>
10 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>
10 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>
10 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>
11 months agoMerge "Sonar Fixes"
Toine Siebelink [Thu, 2 Nov 2023 16:17:37 +0000 (16:17 +0000)]
Merge "Sonar Fixes"

11 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

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

11 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

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

11 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

11 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>
12 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

12 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>
13 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>
14 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

14 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

14 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

15 months 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>
15 months 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

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

15 months 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

15 months 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

15 months 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

15 months 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

16 months 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

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

17 months 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

17 months 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."

17 months 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>
18 months 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>
18 months 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

18 months 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>
18 months 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>
18 months 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>
18 months 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>
18 months 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>
20 months agoNCMP-DMI: Modify CSIT script to have absolute root path env 17/133117/3
emaclee [Thu, 2 Feb 2023 11:03:31 +0000 (11:03 +0000)]
NCMP-DMI: Modify CSIT script to have absolute root path env

        - change set up to call docker compose for cps-ncmp
        - add root as a property in 'test.properties'
        - root is specified to be root directory folder for the current
          project

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

20 months agoMerge "[DMI] Publish Message hidden REST endpoint trigger"
Toine Siebelink [Wed, 1 Feb 2023 14:17:23 +0000 (14:17 +0000)]
Merge "[DMI] Publish Message hidden REST endpoint trigger"

20 months ago[DMI] Publish Message hidden REST endpoint trigger 83/132683/11
sourabh_sourabh [Wed, 1 Feb 2023 12:56:44 +0000 (12:56 +0000)]
[DMI] Publish Message hidden REST endpoint trigger

-Added endpoint to simulate events
-Events are published to dmi-cm-events topic
-Added Kafka test
-WILL FAIL UNTIL CPS PART IS MERGED

Issue-ID: CPS-1385
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Change-Id: Ie802ba819e7b8c5a16504f900bdb89f3e4b0ab4a
Signed-off-by: seanbeirne <sean.beirne@est.tech>
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
20 months agoUpdate INFO.yaml Committers 96/132996/1
lukegleeson [Tue, 24 Jan 2023 12:23:55 +0000 (12:23 +0000)]
Update INFO.yaml Committers

Issue-ID: CPS-1462
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: Ifd3dccdbd3959bdcba56ba1ec789218f45811b73

22 months agoHack to get CSIT test working 91/132091/3
sourabh_sourabh [Wed, 9 Nov 2022 10:46:33 +0000 (10:46 +0000)]
Hack to get CSIT test working

Reviewers : Toine, Priyank and Luke

Issue-ID: CPS-1353
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: Ia9c5a907562793940d663e82033fa0eb2f1049a1
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
22 months ago[DMI] Add Basic Auth to OpenAPI Definitions 25/131825/5
JosephKeenan [Wed, 26 Oct 2022 14:17:59 +0000 (15:17 +0100)]
[DMI] Add Basic Auth to OpenAPI Definitions

-Adding basic auth to OpenAPI definitions

Issue-ID: CPS-1350
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Change-Id: I33423ba50683bc76395ddbb8ef7afc1c185bf4b5

23 months agoUpdating CSIT (docker compose) DMI Snapshot version 80/131880/3
ToineSiebelink [Thu, 27 Oct 2022 10:06:53 +0000 (11:06 +0100)]
Updating CSIT (docker compose) DMI Snapshot version

- use 'latest' for DMI (ie what is being built)
(DMI-VERSION property is not being used for CSIT)

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

23 months agoFinialise documentation as per doc procedure p02 14/131814/2
seanbeirne [Tue, 25 Oct 2022 16:36:55 +0000 (17:36 +0100)]
Finialise documentation as per doc procedure p02

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

23 months agoBump minor version of DMI 02/131502/1
mpriyank [Mon, 17 Oct 2022 13:30:28 +0000 (14:30 +0100)]
Bump minor version of DMI

- Bumped minor version of DMI from 1.2.2-SNAPSHOT to 1.3.0-SNAPSHOT.
- Step 11 of the release process.

Issue-ID: CPS-1318
Change-Id: I8652e438135c20f4a1b5fdb17cd5eac594c03249
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoBump DMI to 1.2.2-SNAPSHOT 84/131384/1
mpriyank [Wed, 5 Oct 2022 11:26:20 +0000 (12:26 +0100)]
Bump DMI to 1.2.2-SNAPSHOT

- Bump DMI version to 1.2.2-SNAPSHOT

Issue-ID: CPS-1325
Change-Id: I12fd5918f196e1f2416e0dd05aaabcda9627689c
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoAdd container YAML for DMI 82/131382/1
mpriyank [Wed, 5 Oct 2022 10:54:20 +0000 (11:54 +0100)]
Add container YAML for DMI

- Step 6 of the release process to add the container yaml file and
  release 1.2.1 of ncmp-dmi-plugin docker image

Issue-ID: CPS-1296
Change-Id: I19171d408dac580cc4129bc4efbec0a52042fedc
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoAdd maven stage yaml for 1.2.1 DMI 81/131381/1
mpriyank [Wed, 5 Oct 2022 10:24:04 +0000 (11:24 +0100)]
Add maven stage yaml for 1.2.1 DMI

- Step 5 of the release process to add 1.2.1 stage yaml for maven
  artifacts.

Issue-ID: CPS-1296
Change-Id: I41c6457579b83d8c7b45164a122b35bd4bfbdd97
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoUpdate cps version in DMI plugin 80/131380/1
mpriyank [Wed, 5 Oct 2022 09:46:06 +0000 (10:46 +0100)]
Update cps version in DMI plugin

- updated cps version to 3.1.4

Issue-ID: CPS-1305
Change-Id: I60f1d370f790ac299ab4c663c0138ba1a191ff28
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years ago1.2.1 release notes section DMI 88/131188/1
mpriyank [Mon, 26 Sep 2022 14:03:49 +0000 (15:03 +0100)]
1.2.1 release notes section DMI

- release notes section for 1.2.1 dmi plugin

Issue-ID: CPS-1302
Change-Id: Ib662896a297409dd3e2ed7b5c35f70f781da8771
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoPrep for next DMI release 48/131148/2
mpriyank [Fri, 23 Sep 2022 11:59:38 +0000 (12:59 +0100)]
Prep for next DMI release

- Bump the DMI version from 1.2.0-SNAPSHOT to 1.2.1-SNAPSHOT

Issue-ID: CPS-1296
Change-Id: I06890a87f786c5a7e4ca2b2d9611dee0b766d386
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoUpdate Release Notes for Kohn 51/131051/3
lukegleeson [Wed, 21 Sep 2022 13:56:09 +0000 (14:56 +0100)]
Update Release Notes for Kohn

Added Jira tickets completed

Issue-ID: CPS-1251
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: I27ab8420ff4268ddd080a44af70eaeb7cbdd05b5

2 years agoAdd 1.2.0 release container yaml 41/131041/1
mpriyank [Wed, 21 Sep 2022 08:59:31 +0000 (09:59 +0100)]
Add 1.2.0 release container yaml

- Step 5 of the release process to release the docker image

Issue-ID: CPS-1283
Change-Id: Iaba2d85a4be6ea456cdb43e857bc3c8639122090
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoAdd 1.2.0 stage release yaml 32/131032/1
mpriyank [Tue, 20 Sep 2022 16:42:36 +0000 (17:42 +0100)]
Add 1.2.0 stage release yaml

- Step 5 of the release process to release the maven artifacts

Issue-ID: CPS-1283
Change-Id: Idd76833a1b176a54ae3a98aa2e516cc856f14c74
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoRemoving snapshot version of cps-ncmp-events 27/131027/1
mpriyank [Tue, 20 Sep 2022 15:49:10 +0000 (16:49 +0100)]
Removing snapshot version of cps-ncmp-events

Issue-ID: CPS-1224
Change-Id: I4ed85503dc8f806ad65c9c4746915f62c61663b6
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoAsync event from dmi plugin 48/130948/2
mpriyank [Wed, 14 Sep 2022 16:29:50 +0000 (17:29 +0100)]
Async event from dmi plugin

- Updating cps version to 3.1.0
- Raising async event with correct eventSchema and eventSchemaVersion

Issue-ID: CPS-1224
Change-Id: I5e25f6217ad5ff554c98f5756120a44467f99aea
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoUpdate INFO.yaml 37/130937/4
lukegleeson [Wed, 14 Sep 2022 14:33:27 +0000 (15:33 +0100)]
Update INFO.yaml

Removed Renu as committer

Issue-ID: CPS-1252
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: I21451b834b1ed46bed8a28ac6a6b0b6038608ab4

2 years agodmi plugin sync openapi yml 29/130929/4
mpriyank [Wed, 14 Sep 2022 09:47:45 +0000 (10:47 +0100)]
dmi plugin sync openapi yml

- copy target/generated-sources/swagger/openapi.yaml → docs/api/swagger/openapi.yaml
- fixed the tox.ini for the documentation build issue
- updated description for topic paramter

Issue-ID: CPS-1276
Change-Id: I0771fd6b7a8fda5085a535e02cd40fa49e6b8b6f
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoUpdate info.yml for new Committer 29/130329/3
sourabh_sourabh [Wed, 17 Aug 2022 15:56:18 +0000 (16:56 +0100)]
Update info.yml for new Committer

- Updating INFO.yaml to include new committer for CPS (Sourabh)

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

2 years agoChore: Fix typo in INFO.yaml 19/130219/1
Bengt Thuree [Wed, 10 Aug 2022 04:45:12 +0000 (14:45 +1000)]
Chore: Fix typo in INFO.yaml

Remove duplicate of PTL, and fix his userid.

Issue-ID: CIMAN-33
Signed-off-by: Bengt Thuree <bthuree@linuxfoundation.org>
Change-Id: I859b2e89e18729e844d42a1712338fe164a9fd36

2 years agoGroovy clean tests clean-up 54/129954/10
emaclee [Fri, 15 Jul 2022 11:31:46 +0000 (12:31 +0100)]
Groovy clean tests clean-up

- test labels are modified to set standards for writing tests
   - labels are not expected to be technical
   - labels need to be in simple language that ANYONE can understand
   - labels should not have exact method names except for some mocking
- variables are modified to give highlight to ONLY important parameter of test
   - wild cards are preferred when possible i.e. for exception cases

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

2 years agoUpdate dependencies (release task) 93/129893/9
ToineSiebelink [Wed, 13 Jul 2022 11:57:16 +0000 (12:57 +0100)]
Update dependencies (release task)

- Changed HTTP Client version to 4.5.13
- Use system Docker-Compose instead of downloading it
- Removed ALL Docker Compose File versions

Issue-ID: CPS-1106
Change-Id: I0734099caad79acd52aecdb2faf98cceb0943224
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2 years agoUpdate ncmp-dmi-plugin info.yaml 24/129824/1
JosephKeenan [Thu, 7 Jul 2022 14:36:56 +0000 (15:36 +0100)]
Update ncmp-dmi-plugin info.yaml

Issue-ID: CPS-1134
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Change-Id: Ia9b3484f814c1bb9b99431231be3529087456334

2 years agoFix sonar code smells 20/129520/2
emaclee [Wed, 8 Jun 2022 10:41:59 +0000 (11:41 +0100)]
Fix sonar code smells

- Remove this unused method parameter "operation"
(https://sonarcloud.io/project/issues?resolved=false&types=CODE_SMELL&id=onap_cps-ncmp-dmi-plugin&open=AYEgIe-wVOe7T_lfxJBt)

- Change method to private

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

2 years agoAsync request response dmi -> NCMP 86/128686/31
JosephKeenan [Mon, 23 May 2022 14:43:05 +0000 (15:43 +0100)]
Async request response dmi -> NCMP

-Added Async for passthrough running and operational
-Build will fail until cps is merged https://gerrit.onap.org/r/c/cps/+/128685

Issue-ID: CPS-830
Change-Id: Iedbfab109f5cd777a5be8eed7414758d0f5ec05c
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2 years agoSecurity Logging Fields 61/129061/6
sourabh_sourabh [Wed, 4 May 2022 10:38:52 +0000 (11:38 +0100)]
Security Logging Fields

- logback encoder and sleuth dependencies are added.
- New appender is added to log JSON format content on console.

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

2 years agoTest scenarios for async infra code 22/128722/4
mpriyank [Tue, 19 Apr 2022 12:44:45 +0000 (13:44 +0100)]
Test scenarios for async infra code

Issue-ID: CPS-987
Change-Id: Ie4c40b91e45ad325658a32eb474840af761e0029
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoMerge "Add bounds to sphinx requirement"
Toine Siebelink [Tue, 12 Apr 2022 10:47:28 +0000 (10:47 +0000)]
Merge "Add bounds to sphinx requirement"

2 years agoMerge "NCMP Kafka Producer Infrastructure"
Toine Siebelink [Tue, 12 Apr 2022 10:41:40 +0000 (10:41 +0000)]
Merge "NCMP Kafka Producer Infrastructure"

2 years agoAdd bounds to sphinx requirement 66/128466/1
Cédric Ollivier [Mon, 11 Apr 2022 15:36:54 +0000 (17:36 +0200)]
Add bounds to sphinx requirement

As ONAP was created before Oct 20 2020 in RTD, we
must set bounds to enforce a compatible Sphinx version
(see manual).

Issue-ID: DOC-782

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I858cdbfbaf2fab82216cc392ddcff694ee83e2e6

2 years agoNCMP Kafka Producer Infrastructure 91/128391/4
mpriyank [Fri, 8 Apr 2022 09:42:22 +0000 (15:12 +0530)]
NCMP Kafka Producer Infrastructure

- Producer configuration and Topic related information.
- Accepted topicParameter and request id from NCMP to process async
- Replacing Springfox and using Springdoc instead

Issue-ID: CPS-829
Change-Id: I369b5ec6c16318220bb218701006918a0bf21419
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoMerge "Fix SonarQube violations"
Joseph Keenan [Fri, 8 Apr 2022 09:42:24 +0000 (09:42 +0000)]
Merge "Fix SonarQube violations"

2 years agoFix SonarQube violations 90/128390/1
ToineSiebelink [Fri, 8 Apr 2022 09:12:05 +0000 (10:12 +0100)]
Fix SonarQube violations

- Use EnumMap
- Remove use of var

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

2 years agoUpdate info.yml for new Committer 68/128368/1
JosephKeenan [Thu, 7 Apr 2022 15:04:57 +0000 (16:04 +0100)]
Update info.yml for new Committer

-Updating INFO.yaml to include new committer for CPS (JosephKeenan)

Issue-ID: CPS-985
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Change-Id: I3e8afeebca737ec9e323927add288d04c046e591

2 years agoImprove branch coverage 22/128322/3
ToineSiebelink [Tue, 5 Apr 2022 12:54:32 +0000 (13:54 +0100)]
Improve branch coverage

- update to oparent 3.3.0 to allow for checkstyle @SupressWarnings (not used in the end)
- refactor code to minimize unused branches (no more switch-statements :-))
- Added test for neccessary but uncovered branches

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

2 years ago[dmi-plugin] Fix getResourceDataForPassthroughOperational endpoint 23/128223/6
puthuparambil.aditya [Tue, 29 Mar 2022 10:22:31 +0000 (11:22 +0100)]
[dmi-plugin] Fix getResourceDataForPassthroughOperational endpoint

Get endpoint only accepts application/json.

Issue-ID: CPS-957
Change-Id: I7b9dd00f293f183dc76623c8e32699e8e90fd17c
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
2 years agoMerge "CSIT: DMI to NCMP"
Bruno Sakoto [Wed, 30 Mar 2022 14:12:44 +0000 (14:12 +0000)]
Merge "CSIT: DMI to NCMP"

2 years agoCSIT: DMI to NCMP 97/128097/3
mpriyank [Fri, 25 Mar 2022 10:11:59 +0000 (15:41 +0530)]
CSIT: DMI to NCMP

- CSIT to register cm handle which tests the integration between DMI and
  NCMP
- CSIT to get module refs which tests the integration between DMI and
  SDNC

Issue-ID: CPS-922
Change-Id: I9c89f168cb3cc98ad27cd0022adbf81452717a76
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2 years agoIncrease (branch) coverage 38/128138/1
ToineSiebelink [Mon, 28 Mar 2022 16:19:57 +0000 (17:19 +0100)]
Increase (branch) coverage

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

2 years agoMerge "Update SpringBoot when approved version has Log4J 2.17.1 or higher"
Toine Siebelink [Fri, 25 Mar 2022 15:48:04 +0000 (15:48 +0000)]
Merge "Update SpringBoot when approved version has Log4J 2.17.1 or higher"

2 years agoUpdate SpringBoot when approved version has Log4J 2.17.1 or higher 12/128012/6
JosephKeenan [Wed, 23 Mar 2022 15:12:53 +0000 (15:12 +0000)]
Update SpringBoot when approved version has Log4J 2.17.1 or higher

-Updated cps-dependencies/pom.xml SpringBoot to v2.6.4

Issue-ID: CPS-958
Change-Id: Idac149e77eab1c273694672ee0282868e0e8589a
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2 years agoUpdate versions for next release in DMI 96/127996/1
mpriyank [Wed, 23 Mar 2022 11:44:33 +0000 (17:14 +0530)]
Update versions for next release in DMI

- Updated minor version number (on master) for next release as part of
  creating Jakarta release branch
- Updated default DMI version to point to latest docker image

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