summaryrefslogtreecommitdiffstats
path: root/src/test/resources
AgeCommit message (Collapse)AuthorFilesLines
2023-07-26DMI Plugins respond back to NCMP Events Schemaseanbeirne1-25/+19
- 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
2023-06-30DMI Data AVC RFC8641 and CloudEvent Compliantmpriyank1-1/+9
- 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>
2023-03-29Subscription Create Response Handling Dmi Parthalil.cakal2-1/+49
- 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>
2022-07-26Groovy clean tests clean-upemaclee1-0/+0
- 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-06-01Async request response dmi -> NCMPJosephKeenan1-4/+7
-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_sourabh1-0/+4
- 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 codempriyank1-1/+1
Issue-ID: CPS-987 Change-Id: Ie4c40b91e45ad325658a32eb474840af761e0029 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-04-11NCMP Kafka Producer Infrastructurempriyank1-1/+17
- 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-01-19impl patch operation in dmitragait1-0/+8
Change-Id: Ie87216fa6cb120bea685286b7f0dacd8e22f603b Signed-off-by: tragait <rahul.tyagi@est.tech> Issue-ID: CPS-641
2021-11-12Support Update and Delete operations for DS Passtrough-Running in DMI PluginDylanB95EST5-0/+24
-Add Update operation for Passthrough Running -Use POST operatiosn for all methods as agrred -refactor to simplify and beter reuse of common methods -add delete operation for passthrough running Issue-ID: CPS-637 Issue-ID: CPS-638 Change-Id: I441181f977dee2bc0be944662465d868595ea452 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2021-10-07Updating get module schema request bodyniamhcore1-1/+0
Issue-ID: CPS-706 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I92d241c4ccde77aaaf8aa5a3903437016edf65d0
2021-10-01Fix issues with SOnar Qube coverage reportToineSiebelink2-2/+14
-removed invalid jacoco exclude -removed strange (generated/accidental?) comment in main pom header -moved manually coded 'models' package (included in coverage now) to separate it from swagger generated package/classes with same name (exluded in coverage) -added some missing test scenarios -increased coverage limit from 70 to 98% to prevent regression Issue-ID: CPS-475 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I2f1c276c543926d2d259e33b418f21de4abfea96
2021-09-21fix data from object to stringtragait2-3/+9
Also, make dmi service url configurable, change name of dmi creds env var Issue-ID: CPS-675 Issue-ID: CPS-634 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: I6fe794b3e65b6a3aae2a1698ea64a925238a18d3
2021-09-10revert cps:634 postpone this bug to jakartatragait1-1/+3
This commit also have fix in application yaml for correct ncmp api path for registration url. Issue-ID: CPS-634 Issue-ID: CPS-617 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: I465991492a01092e28b97583f84ed959c54ffaa6
2021-09-03fix data type as string for dmi request bodytragait1-3/+1
Issue-ID: CPS-634 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: Ib3d9d7cab12c77332d799b89e73e5a9b934a4473
2021-08-31CPS-617 - DMI base path does not conform to agreed API URLJosephKeenan1-1/+1
-Modified dmi-base-path from /dmi/api to /dmi in src/main/resources/application.yml & src/test/resources/application/yml Issue-ID: CPS-617 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: Ic4e76731ee44abb6e6f260d7c8adb1023ebe4e34
2021-08-27fix getforentity in onap DMI plugintragait1-1/+1
Issue-ID: CPS-573 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: Idb2186e6f3275530513bbd5e788c98b4ceda9d10
2021-08-25Write data for cm handle passthrough:runningniamhcore1-0/+10
Issue-ID: CPS-574 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I15e2ad500d2bbf7a1d408b8a852287e55bddbecb
2021-08-18Transform module information from NetConf node to Generic format for NCMPniamhcore1-0/+15
Issue-ID: CPS-531 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I918be4db5066d92b23e25fc7fbc22d4535fafc8c
2021-08-10Retrieve yang-resources for one or more modulesniamhcore2-0/+25
Updating openapi to add a new rest endpoint Updating restconf client to support post with json Adding a ModuleResourceNotFound exception Adding a test util class Fixing merge conflict Refactoring SDNC operations Issue-ID: CPS-484 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: Id76dfe4cb12053771883e0271153d7bf7cd98548
2021-07-09Editing of Nordix Licenses to ONAP guidelineslukegleeson1-8/+9
Issue-ID: CPS-489 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I21e088af64576ea0486ac959ba615bd8adebb2f9
2021-06-29create quality params in dmi-pluginshivasubedi1-0/+25
Issue-ID: CPS-432 Issue-ID: CPS-403 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: I4ada1e4927a3726500396da64c454d9937f95bcf Signed-off-by: shivasubedi <shiva.subedi@est.tech>