summaryrefslogtreecommitdiffstats
path: root/cps-parent
AgeCommit message (Collapse)AuthorFilesLines
2021-01-22Move jib plugin configuration from parentClaudio David Gasparini1-51/+0
and leave profile generating container under single module responsible of such task Issue-ID: CPS-22 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: Iaf4b0d6ef8211aab0556288912a6a49bf4c98bfd
2021-01-15Configure coverage per module for cps-serviceClaudio David Gasparini1-1/+1
Set global minimum to 90 % coverage Set specific minimum for cps-service, once achieved the 90 all modules should respect this minimum Issue-ID: CPS-87 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I29172e47b907d596ffe983ff16429f44e44f8913
2021-01-15Retrieve the SchemaSet resources for an AnchorRishi.Chail1-1/+1
Issue-ID: CPS-135 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: Ib7c17c5180212c7dd3b96cf27797c84166041cf9
2021-01-14Fix code coverage for sonarClaudio David Gasparini1-1/+10
The get the multi module aggregate report to be consumed by sonar we are enforced to use full path to all reports. - 90.4 % coverage detected by sonar achieved Issue-ID: CPS-87 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I91d81063e7234327cb4458c31fa27601ec22e9cd
2021-01-13Include aggregate xml report on sonar coverageClaudio David Gasparini1-0/+1
Issue-ID: CPS-87 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I50de5df1bc79ff22c90a5cbe2f1b143164c8abea
2021-01-13Use jacoco aggregate reportsClaudio David Gasparini1-0/+12
Issue-ID: CPS-87 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: If34831469e3cbc47eacf869f811ac1f057318c82
2021-01-13Merge "Use and configure sonar-maven-plugin"Toine Siebelink1-0/+4
2021-01-13Use and configure sonar-maven-pluginClaudio David Gasparini1-0/+4
for support multimodule project Issue-ID: CPS-87 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I5c9ed23069a26ba28461f6c20c9222741333cf3d
2021-01-12Merge "Enable spotbugs and fix spotbugs warns"Toine Siebelink1-1/+1
2021-01-12Increase CPS Code CoverageRishi.Chail1-1/+1
Disable lombok generated code from coverage. Issue-ID: CPS-87 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I8f13eb480baddc78c00a5a0c9c0e180252119f2e
2021-01-12Enable spotbugs and fix spotbugs warnsClaudio David Gasparini1-1/+1
Issue-ID: CPS-159 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: Iee572fd740689a172ca599123b0751b5e909223a
2021-01-11Merge "Introduce spotbug plugin"Toine Siebelink1-0/+68
2021-01-11Introduce spotbug pluginClaudio David Gasparini1-0/+68
Issue-ID: CPS-159 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I889b3009505421621007031fb99a43c5cd30be82
2021-01-11Rework CpsModulePersistenceServiceClaudio David Gasparini1-1/+1
- remove getModuleReferences - provide service returning YangTextSchemaSourceSet Issue-ID: CPS-21 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I61cf6450c8ed8a5154990ea19467e016dc1155b4
2020-12-17Enable tests using test containers on jenkinsRuslan Kashapov1-20/+8
Issue-ID: CPS-124 Change-Id: I77f6242490c1b149a3f3cdd78aa2b349ace95896 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2020-12-16Few Sonar Fixesputhuparambil.aditya1-1/+5
Add spock-spring testing Issue-ID: CPS-89 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I1e12fb56916e2123fc1d29bdf1524accbb9eeffd
2020-12-08Merge "Persistence layer testing incl CpsModulePersistenceService testing"Toine Siebelink1-0/+20
2020-12-08Persistence layer testing incl CpsModulePersistenceService testingRuslan Kashapov1-0/+20
Issue-ID: CPS-95 Change-Id: I5eba5f6953f483304ff3864914e7a6c9b2bb3f56 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2020-12-07Add DistributionManagement to checkstyle pomClaudio David Gasparini1-2/+0
Issue-ID: CPS-119 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I899cdc00895689a8b010106a8371a69859b7f11b
2020-12-02Solve issue with Sonar Job coverage jobsClaudio David Gasparini1-5/+7
- Increase coverage need to 20% - use parent parameter surefireArgLine for maven-surefire-plugin - Fix warning platform encoding meanwhile Issue-Id: CPS-122 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I569d0b368a6fa25543be7180b46c4905c4772a5d
2020-12-02Introduce CPS-checkstyleClaudio David Gasparini1-1/+46
new module will define our own java checkstyle. Which should extend any rule desired and not covered already by onap checkstyle Issue-ID: CPS-120 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I956d28770e107658c1b631eb277cff56e13bcf80
2020-11-19Introduce jacoco-maven-pluginClaudio David Gasparini1-18/+54
to enforce the minimum coverage Issue-ID: CPS-5 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I7552fc65ab78e645c54af993840999e9818816b0
2020-11-17Add distributionManagementClaudio David Gasparini1-0/+18
Issue-ID: cps-5 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I7eee9c1c53f8e13c65b9c8daad5c0b2e5139dcda
2020-11-16Rename docker profile to lowercaseClaudio David Gasparini1-1/+1
Issue-ID: CPS-22 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I72b5ef5221e3433909e4576cee57310402473ad5
2020-11-16Provide profile for build and deploy dockerClaudio David Gasparini1-16/+51
By default profile will be disable Issue-ID: CPS-22 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I4a605becf195b3f968d71a6ca1a0fd26e9c0a7be
2020-11-10Dockerize the serviceClaudio David Gasparini1-2/+1
- enable push of docker image to repository Issue-ID: CPS-22 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I8d10334f1d4e9528a8ec09a81692639efc3b02f9
2020-11-10Dockerize the serviceClaudio David Gasparini1-0/+42
- automatically generate docker image - provide docker-compose to start the service together with dockerized postgres db Issue-ID: CPS-22 Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I846d14e87de50bfb1411e0c9b49e9f6c6cc8ebda
2020-11-06Move cps files to root dirJessica Wagantall1-0/+178
Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>