summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2022-04-12Merge "Add bounds to sphinx requirement"Toine Siebelink1-1/+3
2022-04-12Merge "NCMP Kafka Producer Infrastructure"Toine Siebelink14-30/+336
2022-04-11Add bounds to sphinx requirementCédric Ollivier1-1/+3
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
2022-04-11NCMP Kafka Producer Infrastructurempriyank14-30/+336
- 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>
2022-04-08Merge "Fix SonarQube violations"Joseph Keenan2-9/+8
2022-04-08Fix SonarQube violationsToineSiebelink2-9/+8
- Use EnumMap - Remove use of var Issue-ID: CPS-475 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Iebc3d8a8a87d0477c38967126988a6825b7e80a9
2022-04-07Update info.yml for new CommitterJosephKeenan1-0/+5
-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
2022-04-06Improve branch coverageToineSiebelink5-72/+58
- 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
2022-04-04[dmi-plugin] Fix getResourceDataForPassthroughOperational endpointputhuparambil.aditya10-80/+42
Get endpoint only accepts application/json. Issue-ID: CPS-957 Change-Id: I7b9dd00f293f183dc76623c8e32699e8e90fd17c Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
2022-03-30Merge "CSIT: DMI to NCMP"Bruno Sakoto4-2/+50