summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-07-07Merge "Sending Data Updated Event to kafka"Toine Siebelink22-10/+916
2021-07-07Sending Data Updated Event to kafkaRenu Kumari22-10/+916
Issue-ID: CPS-374 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I05fedcace42b84575411df26c586788bffe6b846
2021-07-06Merge "Adding Layered Architecture test and Arch Unit Library for CPS-CORE"Niamh Core5-0/+91
2021-07-06Merge "Added parent is null condition when searching for root fragments"Bruno Sakoto2-5/+8
2021-07-06Adding Layered Architecture test and Arch Unit Library for CPS-COREDylanB95EST5-0/+91
Adding Layered Architecture Test Will Add Depedency Test at later time after potential refactoring of project structure Adding Archunit property file to avoid Store Initialization Exception Issue-ID: CPS-380 Change-Id: I364294a46b1ab78b86a9c271856805fce09f75a0 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2021-07-05Added parent is null condition when searching for root fragmentsRenu Kumari2-5/+8
Issue-ID: CPS-479 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I25fd91936e1b08cfc3bff69c7169392e724ed156
2021-07-01Review docker composeBruno Sakoto1-10/+10
* Fix image names for cps standalone and ncmp standalone services * Use default db authentication if env variables are not defined Issue-ID: CPS-435 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ib53c48f2c549f6ddb3adb3c12e15a9167a41673d
2021-06-30Merge "Update CPS ran model schema to the latest version"Toine Siebelink3-25/+136
2021-06-30Merge "Fixing typo in anchor name"Toine Siebelink2-2/+2
2021-06-30Fixing typo in anchor nameniamhcore2-2/+2
Issue-ID: CPS-353 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I1d9977030176cb2c591f46e2a6a45f398a949b0a
2021-06-30Replaced nexusproxy property with onap.nexus.urlToineSiebelink4-27/+29
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-29Update CPS ran model schema to the latest versionshivasubedi3-25/+136
- file name updates - fixed sql statements in the forward and rollback files - Updated to use insert statements instead of update statements - Removing liquibase steps Issue-ID: CPS-451 Signed-off-by: shivasubedi <shiva.subedi@est.tech> Change-Id: I3e08574837dfa0f16cf06a16b07de24788923411
2021-06-24Merge "create yang model for dmi-registry"Niamh Core7-0/+174
2021-06-24create yang model for dmi-registrytragait7-0/+174
Signed-off-by: tragait <rahul.tyagi@est.tech> Issue-ID: CPS-352 Issue-ID: CPS-353 Change-Id: I57637aa58f8b3b5f8faaca30dc9006e7547b0144
2021-06-23Merge "Updating release notes for update datanode leaves limitaions"Bruno Sakoto1-1/+1
2021-06-22Updating release notes for update datanode leaves limitaionsniamhcore1-1/+1
Issue-ID: CPS-464 & CPS-465 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: Ia7f3a0f6e1e92125925471c6d1ad8e26069e4e1c
2021-06-21Sonar Qube code smell clean upDylanB95EST1-2/+2
Declaring Local Variable with Var Instead Issue-ID: CPS-475 Change-Id: I94bb6d4a3234cd9abeba5a495bd2d0439c21c1df Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2021-06-18Merge "Missing licence info added in pom file"Bruno Sakoto30-0/+481
2021-06-18Merge "Updating exception and explanation for update node leaves"Bruno Sakoto3-2/+24
2021-06-18Updating exception and explanation for update node leavesniamhcore3-2/+24
Issue-ID: CPS-464 & CPS-465 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I1880ceee66d89c49d039011163fa74bb7da19f25
2021-06-18Missing licence info added in pom fileshivasubedi30-0/+481
- Added licence info to files that were missing it - Fixed licence info to match with the creator of the file Issue-ID: CPS-467 Signed-off-by: shivasubedi <shiva.subedi@est.tech> Change-Id: I1c0eaedb2c87743a61a1cd58f33b0d0d04b3a977
2021-06-17Merge "Add committers"Toine Siebelink1-3/+13
2021-06-15[OpenAPI] Implemented example as per example wiki page for getting anchors ↵JosephKeenan4-12/+133
based on dataspace -moved components from cpsAdmin.yml to components.yml -refactored variable for anchor details list in AdminRestController.java -reintrocuded paramter for anchorsByDataspace -refactored variables in AdminRestController.java getAnchors() to be more intuitive -refactored AdminRestController.java to use modelmapper and removed extra conversion code. Also modified AdminRestControllerSpec.groovy to use ModelMapper as Spy rather than a Mock -added responses for getAnchor & getSchemaSet -added javadoc for AdminRestController.java public methods -refactored schemaDetils pararmeter from dataSpasceName to name for CSOT tests & added some code review comments Issue-ID: CPS-429 Change-Id: I01d4113313c9a23d9a7e0e96e46b90f9ac767f24 Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2021-06-11Add committersBruno Sakoto1-3/+13
* Aditya Puthuparambil https://wiki.onap.org/display/DW/Committer+Promotion+Request+-+Aditya+Puthuparambil * Niamh Core https://wiki.onap.org/display/DW/Committer+Promotion+Request+-+Niamh+Core * Renu Kumari https://wiki.onap.org/display/DW/Committer+Promotion+Request+-+Renu+Kumari Remove committer * Rishi Chail Issue-ID: CPS-462 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I667f91928b7cf72e114ab423433cabe256d6f924
2021-06-10Merge "Add json schema for events"Bruno Sakoto7-10/+362
2021-06-09Replaced isEmpty with not hasTextmkerrigan1-1/+1
Sonarcloud reported that isEmpty is deprecated.Not hasText will give the same behavior Issue-ID: CPS-89 Change-Id: I45b1723dad414bfc08d4ed33931d6c21eb5e6185 Signed-off-by: mkerrigan <michael.kerrigan@est.tech>
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 Sakoto7-10/+362
Issue-ID: CPS-348 Issue-ID: CPS-373 Change-Id: Ia0d31f6393e90cb0d5370ca6a78dfbe8817545ae Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
2021-06-03Improve error handling on unexpected 'postfix'ToineSiebelink3-1/+10
Issue-ID: CPS-450 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ia8be460f4235f7f0c24498f861dbe42137111772
2021-06-01Merge "fix clm job critical issues"Toine Siebelink1-2/+2
2021-06-01fix clm job critical issuestragait1-2/+2
Issue-ID: CPS-400 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: If5c6bb7ceb16a63191e60431b297a4a29aef2536
2021-06-01Fix last SQ violationToineSiebelink2-2/+2
Issue-ID: CPS-89 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I9621a60e89574bbb8b222b7342c5d387c302afdb
2021-06-01Introducing Antlr4 for cpsPath parsingToineSiebelink18-238/+523
-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-28Load only required components in the application contextsRenu Kumari4-13/+13
Issue-ID: CPS-434 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Iacc12946495b9e6ec42b4b7d4e3b5b010fecceb5
2021-05-26Aligning differing openAPI paths (cps-rest & ncmp-rest)JosephKeenan6-1/+1
Issue-ID: CPS-427 Change-Id: I1d6853419923994feed4d9c38482818f17202e36 Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2021-05-25Replace list-node content (part 2): CPS REST layerRuslan Kashapov3-1/+50
Issue-ID: CPS-362 Change-Id: I46dc9b48758fa10a47a648aa4e6a63775466234b Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-05-24Replace list-node content (part 1): CPS Service and persistence layersRuslan Kashapov6-4/+122
Issue-ID: CPS-362 Change-Id: I669c9fc6ef67c1992fe95e17a765f0c616b00f7e Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-05-24Adding Atomic Grouping to Discard backtracking once matched as part of Sonar ↵DylanB95EST1-2/+2
Security Hotspot Fix Issue-ID: CPS-89 Commit-ID: b23ee774ae2a2305f1feea747931879588f9cada Change-Id: I1f9d54246370b0c0bc8ec3d167eaed27ad58471b Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2021-05-21Adding Possessive Quantifier to Regex to prevent backtrackingDylanB95EST1-2/+2
Issie-ID: CPS-89 Commit-ID: 22dbd115593cd429b1b75af2000310ce79cfbf10 Signed-off-by: DylanB95EST <dylan.byrne@est.tech> Change-Id: I12f8aec77e9a4faa62234b7108617d47e4ed63fd
2021-05-21Update SonarQube Code SmellJosephKeenan1-1/+1
Issue-ID: CPS-89 Change-Id: I3a3e34b41ed98a0ab2c1accd438e2ec1d4a8d1cf Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2021-05-20Response code fix (Bad Request instead of Not Found) when modifying ↵Ruslan Kashapov2-2/+30
non-existent node. Issue-ID: CPS-422 Change-Id: I6652f8bcafb9938ce588be3d0a0d2bb1672723b0 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-05-17nexus registry is parmateterizedRenu Kumari5-18/+18
Issue-ID: CPS-311 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I158387f54b1a9d3d60e6d97cc3336391745af3c0
2021-05-11Create list-node elements (part3): NCMP REST and service layersRuslan Kashapov8-0/+89
Issue-ID: CPS-360 Change-Id: Id8be89f19750d72bae334491aea4a59f21c7ecd6 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-05-11Create list-node elements (part2): CPS REST layerRuslan Kashapov5-5/+63
Issue-ID: CPS-360 Change-Id: Iaca8baff085e1659453c06ce0dee0203aa007b4a Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-05-11Create list-node elements (part1): CPS service and persistence layersRuslan Kashapov8-68/+194
+ fix integrity violation exception exposed out of persistence layer + refactor CpsDataServiceImplSpec to eliminate repeated code Issue-ID: CPS-360 Change-Id: Id70341fe54bf3c31af661f6aae04a7a80f4a1e9d Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-05-08Merge "Add CpsPathQueries.sql and create data inspired by the bookstore model"Bruno Sakoto5-53/+75
2021-05-07Add CpsPathQueries.sql and create data inspired by the bookstore modelniamhcore5-53/+75
Issue-ID: CPS-363 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I1eaee97d6ced7b0c0676de19d74b4d8262a5e811
2021-05-07Fix cps ran yang data modelBruno Sakoto10-3/+4552
* Add a liquibase change set to update cps ran model data * Rename model "cps-ran-schema-model@2021-01-28.yang" to be compliant with yang specifications related to file layout https://tools.ietf.org/html/rfc7950#section-5.2 * Improve yang validation error handling to provide more information about the validation failure in the request response * Add csit test to verify cps ran model retrieval Issue-ID: CPS-377 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I4f0e337b50d79e81f895eb32f09ae9cb5d9d8a70
2021-05-06Document ancestor cps pathniamhcore1-3/+24
Issue-ID: CPS-305 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I29ef0c62ab2030d900c9fcecb453d9aff9f647d3
2021-05-04Fix ancestor cps path to recognize ancestor list valueniamhcore2-10/+11
Issue-ID: CPS-305 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I28f7f0c120a39190068a3192dccf0a1a6fbfeaf2