summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2022-03-29CSIT: DMI to NCMPmpriyank4-2/+50
- 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>
2022-03-28Increase (branch) coverageToineSiebelink1-12/+20
Issue-ID: CPS-475 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Idc2752dae882dd994892d91b7038ae8ef81e532e
2022-03-25Merge "Update SpringBoot when approved version has Log4J 2.17.1 or higher"Toine Siebelink2-12/+18
2022-03-25Update SpringBoot when approved version has Log4J 2.17.1 or higherJosephKeenan2-12/+18
-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>
2022-03-23Update versions for next release in DMImpriyank3-6/+6
- 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>
2022-03-23Exception scenario handlingmpriyank1-1/+1
- Updated logic to throw exception when response code is not 2XX, previously it was checking for 201 CREATED Issue-ID: CPS-955 Change-Id: I45cc53cf5b0e603755a75dbd089ead0eb87e5970 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-03-22DMI version updatempriyank1-1/+1
- Updated default dmi version to 1.1.1-SNAPSHOT-latest Issue-ID: CPS-933 Change-Id: I0381adb78a1993044123008ac6c85ddc4a9a49d9 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-03-18Upgrade to next snapshot versionBruno Sakoto2-2/+2
Issue-ID: CPS-933 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I4d9a670b7bbc9cafe32a39ab6d7891e26fc77982
2022-03-17Release container artifact for version 1.1.0Bruno Sakoto1-0/+9
Issue-ID: CPS-933 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ie4a0d17715f74e87b12a5b17125473cb3dc8e1c4
2022-03-17Release maven artifacts for version 1.1.0Bruno Sakoto1-0/+4
Issue-ID: CPS-933 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I2f00d5948e80344c38b31b42b5e45c7d7a846410
2022-03-17Update cps core version to 3.0.0Bruno Sakoto1-1/+1
Issue-ID: CPS-933 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I0e6fb59396681e38f78f96d49be58c1a426486cc
2022-03-16CSIT setup in NCMP-DMI-PLUGIN Repompriyank21-1/+1050
- Infrastructure code for ncmp-dmi CSITs. - Enhanced timeout message for sdnc during setup. - Basic CSITs for dmi health and get modules from SDNC. - Fixed shell script permissions from 100644 to 100755. - Fixing .gitignore as it was ignoring *.zip format and we need key0.zip as part of SDNC CSIT setup. Issue-ID: CPS-930 Change-Id: I39054e3ec2c9281821ca146831ae6cc82d674924 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-03-15Create primary documentation for Jakarta releaseBruno Sakoto2-129/+145
* Update release notes * Update openapi documentation Issue-ID: CPS-935 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: If63ee52efa505694010c88f3135a71312185b4dc
2022-03-10Refactor dmi plugin code and fix commentssourabh_sourabh2-69/+93
- Used UriComponentBuilder is populate urls. - Removed incorrect import of StringUtils Issue-ID: CPS-569 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I11c6ad2fec528f9792c05405a7242128c0a6d4e2
2022-03-02Update dependencies as recommnede by SECCOMToineSiebelink1-0/+5
See also https://wiki.onap.org/display/SV/Jakarta+CPS Issue-ID: CPS-815 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I194ab1bf1f3886074ef503b9a61a25abdca6409f
2022-02-11Update release notesBruno Sakoto1-0/+50
Adding Istanbul releases: * 1.0.2 * 1.0.3 Issue-ID: CPS-891 Change-Id: Ica396a0978f1c618471ac35d85c0ba7c90d5406c Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
2022-01-24Merge "Align DMI Plugin REST API Specification and Implementation"Toine Siebelink4-225/+242
2022-01-20Align DMI Plugin REST API Specification and Implementationputhuparambil.aditya4-225/+242
Issue-ID: CPS-824 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: If4478f6afd6a36570dc2d800484cffdb40c256c9
2022-01-19impl patch operation in dmitragait9-12/+51
Change-Id: Ie87216fa6cb120bea685286b7f0dacd8e22f603b Signed-off-by: tragait <rahul.tyagi@est.tech> Issue-ID: CPS-641
2022-01-07Remove Niamh as committerToineSiebelink1-5/+0
Issue-ID: CPS-846 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I8c22280169c74cdc03c8822eccdc7b76d5209c35
2022-01-05dmi-plugin update release notesputhuparambil.aditya1-1/+1
Issue-ID: CPS-841 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I203ecb51fb90d9efa2d2a56ecfbebb199aa0ea53
2022-01-05dmi-plugin upgrade log4j to 2.17.1puthuparambil.aditya1-2/+2
Issue-ID: CPS-841 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I770ad18e1466471bb6bfdfa3e11812ce2eff1f0d
2021-12-21Fix Sonar Qube Violations - Recurring tasksourabh_sourabh2-1/+5
Issue-ID: CPS-475 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I4279d5ca24b6cd78f419288eba10f557965c5e7b
2021-12-15Update log4j version due to security vulnerability for NCMP-DMIniamhcore1-0/+10
This change excludes old log4j libraries and includes newer versions that are not tagged with a security vulnerability. Issue-ID: CPS-820 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I2694cdc66449a9634dfe726b39736a8b0ba67e5a
2021-12-09Add Examples to DMI-Plugin API Speclukegleeson3-50/+77
Issue-ID: CPS-784 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I02e450c9c14322fa9c9ac3e14807aeebdb4b9e39
2021-12-08Add new features to Release NotesDylanB95EST1-1/+2
Add New Implemented Features to Release Notes for DMI Plugin Issue-ID: CPS-637 Issue-ID: CPS-639 Change-Id: I20a27aa9428ea69fc605f866cadf1b6297e9b9ad Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2021-12-03Merge "Fix conversion to string for result from YangResource request on SDN-C"aditya puthuparambil4-33/+165
2021-12-03Fix conversion to string for result from YangResource request on SDN-CToineSiebelink4-33/+165
-Extracted out relevant method to separate class -Added comprehensive tests around relevant methods Issue-ID: CPS-788 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Icb2104ca606b28f1904ead368bcde27f578e7e53
2021-12-02Merge "Update snapshot version in rtd release notes"aditya puthuparambil1-1/+1
2021-12-01Updating docker compose to pull new tagged imageJosephKeenan1-1/+1
Issue-ID: CPS-795 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: Iea4c4cd7eabaa43dc8f4026bea888dce114f954d
2021-12-01Modifying docker tag to add project version so we can specify exact DMI ↵JosephKeenan1-1/+1
version in builds & CSIT Issue-ID: CPS-795 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: Iadd4ac79f5873a2e6e6acba40a1642f1ba87c4e2
2021-11-30Update snapshot version in rtd release notesBruno Sakoto1-1/+1
Issue-ID: CPS-794 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I3b43759e1d43d541735be15d1c938584f0e8d426