summaryrefslogtreecommitdiffstats
path: root/cps-parent
AgeCommit message (Collapse)AuthorFilesLines
2021-09-17Fix SonarQube (jacoco) code coverage reportingToineSiebelink1-28/+3
- Add report module for aggregating (as per jacocos current recommendation)( - increased overall (cps-parent) minimum code coverage to 0.97 - set lower minimum in modules that are not at that level (yet) - add exclude for cps-events generated code - made xml identing consistentent some pom files Issue-ID: CPS-475 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: If7b7839d7e03522575bc76a2253b613e63400b6b
2021-09-14Upgrade to next snapshot versionBruno Sakoto1-1/+1
Issue-ID: CPS-613 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I3888d5b43d45c441a69b142489a8be1bd29dbd8c
2021-09-13Upgade the version to 2.0.0Renu Kumari1-1/+1
Issue-ID: CPS-613 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I248a6bd779356627940ac54a251445593e94058b
2021-09-01Add ncmp endpoints to swagger-uiRenu Kumari1-0/+13
- added ncmp-enpoints to swagger-ui - removed springfox dependencies - removed Docket configuration as we are loading ui from openapi.yml - removed endpoints which are not implemented - Fixed ncmp basepath as per CPS-616 Issue-ID: CPS-601 Issue-ID: CPS-616 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I03c7789f48a12d3ffd5fcb934d7ba6347d4044e4
2021-08-19get resource data for operational passthroughtragait1-0/+1
Issue-ID: CPS-487 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: Id1b761f3f6a388556d0cc334fd6f196c78badc39
2021-08-10Upgrade Swager Codegen-maven-pluginJosephKeenan1-1/+1
- Removed swagger annotations dependency as latest plugin generates code using v3 annotations. - updated the method signature as per the new generated code - removed unnecessary mock springbeans from the WebMvcTest Issue-ID: CPS-205 Change-Id: Ie7911d7389dca587bde945d913f458de46027e0f Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2021-08-05Merge "Implement DMI Registration (NCMP-Side)"Niamh Core1-0/+1
2021-08-03Implement DMI Registration (NCMP-Side)DylanB95EST1-0/+1
Implementing registration of CM-Handles to NCMP from DMI CM Handles are Written to fragment tables Moved NetworkCmProxyDataServiceImplSpec.groovy as it was not in the same package as the class it was testing. Meaning it didn't cover this when it came to code coverage Have included Json structure validation also within open api Deprecating old API's along with old API Methods Issue-ID: CPS-442 Change-Id: I819b9bf65280b1d968d3b75ca5ef2f9eb5617579 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2021-07-22Review maven configuration for testcontainersBruno Sakoto1-0/+5
Maven build was not failing when test containers are not able to run because of following maven surefire plugin bug: * https://github.com/junit-team/junit5/issues/2178 * https://issues.apache.org/jira/browse/SUREFIRE-1688 This bug is fixed in surefire 3.0.0-M5. Then, 3.0.0-M4 version coming from oparent is now overridden in pom plugin management. Issue-ID: CPS-515 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ib0600029a56e4fab7b33bfec9a3351536c146da1
2021-07-07Remove unnecessary version propertiesshivasubedi1-15/+7
Issue-ID: CPS-495 Signed-off-by: shivasubedi <shiva.subedi@est.tech> Change-Id: I05fa719442c1ebb267cf50a0122055f94958144a
2021-07-07Sending Data Updated Event to kafkaRenu Kumari1-1/+1
Issue-ID: CPS-374 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I05fedcace42b84575411df26c586788bffe6b846
2021-06-30Replaced nexusproxy property with onap.nexus.urlToineSiebelink1-20/+1
Also removed redefined redefined nexusproxy and distribution Management from poms Update ReadMe accordingly Issue-ID: CPS-435 Change-Id: I02831e737587a1a16e9743773f2840c209d1fffd Signed-off-by: mkerrigan <michael.kerrigan@est.tech> Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2021-06-10Merge "Add json schema for events"Bruno Sakoto1-8/+27
2021-06-08Include cps-path-parser under jacoco xml report pathsClaudio D. Gasparini1-0/+4
Issue-ID: CPS-376 Signed-off-by: Claudio D. Gasparini <claudio.gasparini@intl.att.com> Change-Id: I0c580dad1fb40a3462bd6fcdaffb7f31a643fd48
2021-06-08Add json schema for eventsBruno Sakoto1-8/+27
Issue-ID: CPS-348 Issue-ID: CPS-373 Change-Id: Ia0d31f6393e90cb0d5370ca6a78dfbe8817545ae Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
2021-06-01Introducing Antlr4 for cpsPath parsingToineSiebelink1-0/+1
-created new module for cpPathParser -added antlr rule for cpsPathWithSingleLeafCondition -added antlr rule for cpsPathWithDescendant (and with leaf conditions) -added antlr rule for ancestor axis -added unit test (copied from existing CpsPathQuerySpec) -udpated cps-ri to use new cpPathQuery from parser module -'imported' lexer rules from publix xPath grammar -Re-used existing CpsPathException but conversion happens in cps-ri to prevent additional dependency in cps-path-parser module Issue-ID: CPS-376 Change-Id: I2c5df98969402cbf69f6573c52705879450ce606 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2021-05-17nexus registry is parmateterizedRenu Kumari1-3/+3
Issue-ID: CPS-311 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I158387f54b1a9d3d60e6d97cc3336391745af3c0
2021-04-08Fix to pull images from Onap nexusRishi.Chail1-1/+3
Issue-ID: CPS-319 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I2a82e56aef8572e4241b6644cb8c53d2d33ace97 (cherry picked from commit 27fba350de15c5a5145a66f75cc188a6f69633c6)
2021-04-06rename nf-proxy to network-cm-proxytragait1-2/+2
This commit renames two modules cps-nf-proxy-rest and cps-nf-proxy-service to cps-ncmp-rest, cps-ncmp-service. Docker image names are also changed respectively. Swagger auto generated api files are also modified. Signed-off-by: tragait <rahul.tyagi@est.tech> Issue-ID: CPS-315 Change-Id: Ic2a2f8c4bafe8cffa3c83ccb52499720aaba1415
2021-03-31Use ONAP recommended base Java Docker imageRishi.Chail1-1/+2
Issue-ID: CPS-304 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I71db1d9c85225a33dd9fc4f2e5f7045d71ad3843
2021-03-05Update versions for next releaseRishi.Chail1-1/+1
Issue-ID: CPS-256 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: Ifce438495233edd7de9f42129ab60bebc365f0b9
2021-03-04Upgrade version numberBruno Sakoto1-1/+1
Honolulu RC0 will be version 1.0.0 Issue-ID: CPS-260 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ib4d464100b7b5814070d41dc911f342f58836442
2021-02-22Upgrade version numberBruno Sakoto1-1/+1
Issue-ID: CPS-175 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I23bdd1b406e2076c612c06c1677af4440c0b883f
2021-01-28Update CPS dependencies as Required for Honolulu releaseRishi.Chail1-1/+1
Issue-ID: CPS-167 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: Icc35a53a98fd29bd3c5b4750b8d07c3f6f202cc7
2021-02-09Image nameClaudio D. Gasparini1-21/+0
- cps-service - cps-nf-proxy - cps-and-nf-proxy Issue-ID: CPS-175 Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I579d3646f54adebc131196acbe74e24299b4ead6
2021-02-08Fix jenkins master merge jobBruno Sakoto1-1/+21
Use port number 10003 to push to docker registry Issue-ID: CPS-227 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Idf6b448498908f6a3cbd7b235dee8d77a24280de
2021-02-01Decouple configuration from applicationClaudio D. Gasparini1-26/+4
- Decouple configuration from application - Generate all 3 types of docker variations Issue-ID: CPS-175 Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I1e2e0577c5911f7c79801e4c691d196515dc02a1
2021-01-26Initial cps-nf-proxy-rest module setup in CPS projectRuslan Kashapov1-0/+2
Issue-ID: CPS-171 Change-Id: I8998dc2818b6bc07fc4fe25a2d735b4ab8b4b817 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
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