summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-06-28Change to OpenAPI 3.0egernug5-21/+27
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
2023-06-22Merge "DMI Plugin replace WebSecurityConfigurerAdapter"Toine Siebelink3-15/+43
2023-06-22DMI Plugin replace WebSecurityConfigurerAdapteregernug3-15/+43
Replacing the deprecated class. Issue-ID: CPS-1759 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: I68a7d1b822ef35420f65e7b57e3fc339524f8498
2023-06-22Add RTD link to CPS in Release notesToineSiebelink1-2/+4
Issue-ID: REQ-1580 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I3481703ab6c96b4a12e0804fe04c48c47ffe92ab
2023-06-21Apply latest ReadTheDoc config rulesToineSiebelink1-7/+5
Issue-ID: CPS-1757 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I3af4d9224e5908021f323285bc3c0dca6e6f0ac2
2023-06-20DMI-Plugin : Replacing the word 'Batch' as 'DataOperation'.raviteja.karumuri4-18/+18
Issue-ID: CPS-1754 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: I8a1d6e329bb79d3762da17e9740854048b2aeace
2023-06-01DMI-Plugin : Update batch endpoint (move url param into rest body)raviteja.karumuri4-40/+115
Issue-ID: CPS-1636 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: I787be1be899a69c0972ccfd17016e67eaf8a771a
2023-04-21Rearrange method paramsmpriyank1-5/+4
- auto generated code results in parameter sequence mismatch. Issue-ID: CPS-1627 Change-Id: I5b9ca44867bff42bfc5ca35a41560d9ef86b069a Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-04-20Merge "Align dependencies with CPS/NCMP"Luke Gleeson4-78/+23
2023-04-20Align dependencies with CPS/NCMPToineSiebelink4-78/+23
- 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
2023-04-20Merge "Define an interface to accept collection of cm handles for Get ↵Toine Siebelink4-4/+74
operation."
2023-04-17Define an interface to accept collection of cm handles for Get operation.leventecsanyi4-4/+74
- Added REST endpoint (Not Implemented yet) - Created unit test Issue-ID: CPS-1555 Change-Id: I24ce8d663602c08cc207f4657289631439d3fb9e Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2023-04-07[CPS] Bump minor version - Step12mpriyank2-2/+2
- 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>
2023-04-05Remove docs/conf.yamldanielhanrahan1-25/+0
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
2023-03-29Fix error 500 while pulling test container cp-kafkahalil.cakal2-53/+7
Issue-ID: CPS-1492 Change-Id: I76be5264b111be36f9d2d1f0af13606244189e7c Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-03-29Subscription Create Response Handling Dmi Parthalil.cakal7-2/+345
- 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>
2023-03-23Fix Avc event creatormpriyank2-6/+7
- 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>
2023-03-20Add sphinxcontirb.spelling extension into conf.pyhalil.cakal2-2/+3
- 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>
2023-03-15Merge existing dmi-plugin of data access passthrough endpointssourabh_sourabh5-69/+137
- 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>
2023-02-02NCMP-DMI: Modify CSIT script to have absolute root path envemaclee3-7/+6
- 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
2023-02-01Merge "[DMI] Publish Message hidden REST endpoint trigger"Toine Siebelink6-2/+305
2023-02-01[DMI] Publish Message hidden REST endpoint triggersourabh_sourabh6-2/+305
-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>
2023-01-24Update INFO.yaml Committerslukegleeson1-10/+10
Issue-ID: CPS-1462 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Ifd3dccdbd3959bdcba56ba1ec789218f45811b73
2022-11-09Hack to get CSIT test workingsourabh_sourabh1-4/+4
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>
2022-11-07[DMI] Add Basic Auth to OpenAPI DefinitionsJosephKeenan3-1/+15
-Adding basic auth to OpenAPI definitions Issue-ID: CPS-1350 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: I33423ba50683bc76395ddbb8ef7afc1c185bf4b5
2022-10-28Updating CSIT (docker compose) DMI Snapshot versionToineSiebelink2-1/+2
- 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
2022-10-26Finialise documentation as per doc procedure p02seanbeirne5-33/+88
Issue-ID: CPS-1321 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: Ibe269a391ac1c519693729b5e505342544913dd1
2022-10-17Bump minor version of DMImpriyank2-3/+3
- 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>
2022-10-05Bump DMI to 1.2.2-SNAPSHOTmpriyank3-3/+28
- Bump DMI version to 1.2.2-SNAPSHOT Issue-ID: CPS-1325 Change-Id: I12fd5918f196e1f2416e0dd05aaabcda9627689c Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-10-05Add container YAML for DMImpriyank1-0/+9
- 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>
2022-10-05Add maven stage yaml for 1.2.1 DMImpriyank1-0/+4
- 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>
2022-10-05Update cps version in DMI pluginmpriyank1-1/+1
- updated cps version to 3.1.4 Issue-ID: CPS-1305 Change-Id: I60f1d370f790ac299ab4c663c0138ba1a191ff28 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-261.2.1 release notes section DMImpriyank1-0/+24
- release notes section for 1.2.1 dmi plugin Issue-ID: CPS-1302 Change-Id: Ib662896a297409dd3e2ed7b5c35f70f781da8771 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-24Prep for next DMI releasempriyank2-3/+3
- 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>
2022-09-22Update Release Notes for Kohnlukegleeson1-0/+60
Added Jira tickets completed Issue-ID: CPS-1251 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I27ab8420ff4268ddd080a44af70eaeb7cbdd05b5
2022-09-21Add 1.2.0 release container yamlmpriyank1-0/+9
- 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>
2022-09-20Add 1.2.0 stage release yamlmpriyank1-0/+4
- 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>
2022-09-20Removing snapshot version of cps-ncmp-eventsmpriyank1-1/+1
Issue-ID: CPS-1224 Change-Id: I4ed85503dc8f806ad65c9c4746915f62c61663b6 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-15Async event from dmi pluginmpriyank2-2/+3
- 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>
2022-09-14Update INFO.yamllukegleeson1-5/+0
Removed Renu as committer Issue-ID: CPS-1252 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I21451b834b1ed46bed8a28ac6a6b0b6038608ab4
2022-09-14dmi plugin sync openapi ymlmpriyank3-5/+25
- 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>
2022-08-18Update info.yml for new Committersourabh_sourabh1-0/+5
- 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
2022-08-10Chore: Fix typo in INFO.yamlBengt Thuree1-6/+1
Remove duplicate of PTL, and fix his userid. Issue-ID: CIMAN-33 Signed-off-by: Bengt Thuree <bthuree@linuxfoundation.org> Change-Id: I859b2e89e18729e844d42a1712338fe164a9fd36
2022-07-26Groovy clean tests clean-upemaclee7-204/+205
- 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
2022-07-14Update dependencies (release task)ToineSiebelink5-17/+7
- 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>
2022-07-07Update ncmp-dmi-plugin info.yamlJosephKeenan1-6/+1
Issue-ID: CPS-1134 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: Ia9b3484f814c1bb9b99431231be3529087456334
2022-06-10Fix sonar code smellsemaclee2-4/+3
- 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
2022-06-01Async request response dmi -> NCMPJosephKeenan18-374/+600
-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>
2022-05-09Security Logging Fieldssourabh_sourabh4-0/+104
- 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
2022-04-25Test scenarios for async infra codempriyank3-5/+45
Issue-ID: CPS-987 Change-Id: Ie4c40b91e45ad325658a32eb474840af761e0029 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>