summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-08-03Implement DMI Registration (NCMP-Side)DylanB95EST22-50/+601
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-13Editing of Nordix Licenses to ONAP guidelineslukegleeson88-133/+229
Issue-ID: CPS-489 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I415534515b3d8325f41d5dc1d02c6e0ae70c6cf1
2021-07-12Merge "Support concurrent requests to create schema sets"Niamh Core7-5/+256
2021-07-09Support concurrent requests to create schema setsBruno Sakoto7-5/+256
Issue-ID: CPS-466 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I2ecf98b9aa5a6097518e616c08f8bb2a2182a613
2021-07-09Fix sonar code smellsBruno Sakoto2-26/+23
* Replace lambda with a method reference https://sonarcloud.io/project/issues?id=onap_cps&open=AXqEcoyndYfHjsbjSdb5 * Block of commented-out lines of code should be removed https://sonarcloud.io/project/issues?id=onap_cps&open=AXqEco0ldYfHjsbjSdb6 Issue-ID: CPS-475 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I4c4497061aa39d20e04d12124df9c6f2cfaf405e
2021-07-08Merge "Remove unnecessary version properties"Bruno Sakoto2-46/+22
2021-07-08Merge "Addition of missing license to INFO.yaml"Toine Siebelink1-0/+18
2021-07-07Merge "Addition of missing licenses to files"Bruno Sakoto5-3/+97
2021-07-07Remove unnecessary version propertiesshivasubedi2-46/+22
Issue-ID: CPS-495 Signed-off-by: shivasubedi <shiva.subedi@est.tech> Change-Id: I05fa719442c1ebb267cf50a0122055f94958144a
2021-07-07Addition of missing license to INFO.yamllukegleeson1-0/+18
Issue-ID: CPS-467 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I6346972ca44e809dd444c79ebf6b9d15dc8aefca
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-06Addition of missing licenses to fileslukegleeson5-3/+97
Issue-ID: CPS-467 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Id39fa218b5d56f2350133dac8df38f75e6d42638
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