summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-08-19Merge "Filter data updated events based on configured pattern"Niamh Core6-43/+129
2021-08-18Merge "CPS-508: Create anchor/schemaset from new modules and existing modules"Niamh Core11-14/+164
2021-08-17Filter data updated events based on configured patternRenu Kumari6-43/+129
Issue-ID: CPS-469 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I7810990b54c3140677184ea671164b8835a6afbb
2021-08-17Merge "Delete list-node p1 service and persistence layers"Niamh Core7-26/+133
2021-08-17CPS-508: Create anchor/schemaset from new modules and existing modulesshivasubedi11-14/+164
Issue-ID: CPS-508 Signed-off-by: shivasubedi <shiva.subedi@est.tech> Change-Id: I8023a093334b77d0220f7c7d94de66863f5ba6dd
2021-08-17Fix Sonar Qube Violationslukegleeson4-10/+10
Issue-ID: CPS-475 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I9673fe8ff5373a1ea50df148ac2a3d8af235e508
2021-08-17Delete list-node p1 service and persistence layerslukegleeson7-26/+133
Persistence Layer of delete List-Node Content Service Layer of delete List-Node Content Updating of deprecated FragementRepository.getOne() method to FragmentRepository.getByID() in CpsDataPersistenceServiceIntegration.groovy Remove Runtime Exceptions thrown from CpsDataService.java javadoc Issue-ID: CPS-361 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Ib5762e73a6e8620c50c2e07b00086b9287770bc3
2021-08-17Merge "CPS-566: Can't access grandparent node through ancestor axis"Niamh Core1-3/+3
2021-08-16Merge "Issue with CPSData API to add an item to an existing list node"Niamh Core1-0/+14
2021-08-16Issue with CPSData API to add an item to an existing list nodeDylanB95EST1-0/+14
Issueing Fix for Bug around 2 Api's /cps/api/v1/dataspaces/{dataspacename}/anchors/{anchor-name}/list-node and cps-ncmp/api/ncmp-dmi/v1/ch where child data nodes do not get persisted to the DB. Issue-ID: CPS-524 Change-Id: I4e433a2fddd56b8714b798a2d5b0e5fb683e3205 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2021-08-16CPS-566: Can't access grandparent node through ancestor axisshivasubedi1-3/+3
Reason for this change is listed in the jira. Issue-ID: CPS-566 Signed-off-by: shivasubedi <shiva.subedi@est.tech> Change-Id: I25315791cd0b8f5c1124578ab486afbdb3ba4c47
2021-08-12Release cps maven artifacts version 1.1.0puthuparambil.aditya1-0/+4
Issue-ID: CPS-534 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I8d5cd2641b02b1ca8e958dca2fd62e43683cd5c3
2021-08-11Merge "Update response query format"aditya puthuparambil2-4/+15
2021-08-11Update response query formatniamhcore2-4/+15
Issue-ID: CPS-560 Change-Id: I1c71270a8cde7e940c5af80bc743d0f01ab6b9bb Signed-off-by: niamhcore <niamh.core@est.tech>
2021-08-10Upgrade Swager Codegen-maven-pluginJosephKeenan10-69/+30
- 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-05CPS-506: List all known modules and revisionshivasubedi12-60/+298
Issue-ID: CPS-506 Signed-off-by: shivasubedi <shiva.subedi@est.tech> Change-Id: Id76fecc7dd10625cc3ecb940b1181b1e8bf829a1
2021-08-05Merge "Implement DMI Registration (NCMP-Side)"Niamh Core22-50/+601
2021-08-03CPS-521: Upgrade opendaylight yangtools to version 6.0.1shivasubedi2-2/+3
Issue-ID: CPS-521 Signed-off-by: shivasubedi <shiva.subedi@est.tech> Change-Id: I53fa992e3c651c444d4c823190a393b084fa7cc6
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-29CPS-503: liquibase self build optionJosephKeenan2-1/+18
- Upadated poms to use nordix liquibase core v4.4.2 rather than org.liquibase version Issue-ID: CPS-503 Change-Id: Id50ecf9fd968c58b96143d50755e31fb58d0b229 Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2021-07-23Renamed UnitSpec to SpecRenu Kumari1-1/+1
Issue-ID: CPS-501 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Ie1878c6a271a335320e854b81b7f664762d64fbf
2021-07-23Merge "Renamed test spec to Integration Spec"Bruno Sakoto1-1/+1
2021-07-23Renamed test spec to Integration SpecRenu Kumari1-1/+1
Issue-ID: CPS-501 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I641b519237c21f2998582b2ba025b00e2e29152f
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-22Merge "Fixed inconsistent data issue with replaceNode"Bruno Sakoto4-22/+195
2021-07-21Merge "CPS-401 Update Open API YAML with data types and example for output ↵Niamh Core7-3/+19
(cpsData)"
2021-07-21Fixed inconsistent data issue with replaceNodeRenu Kumari4-22/+195
Issue-ID: CPS-501 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Ic4785d97013729b80f81aca3de4430bdaa8155fa
2021-07-20Support text() conditionToineSiebelink22-240/+555
- Added Antlr parsing of text() condition (as an optional additional to any query) - Implemented text-condition combined with descendants - Refactor descendants queries into using one more flexible Custom (native) Query builder - Refactor ALL cpsPath queries to now use FragmentRepositoryCpsPathQuery (custom query builder) - Refactor Antrl code to simply parsing of cpsPath and allow all combinations (no more query types, addresses CPS-436) - Minor clean up of some minor convention issues in CpsAdminServiceImplSpec.groovy (found during groovy demo) - Update .rst documentation of xPaths - Fixed incorrect matching of additional list indexes using more precise SIMILAR-TO regex in postgreSQL - Documented special chararter limitation (CPS-500) - Checked for consistent use of term 'CPS path' in documentation and error message - Included (updated) copyright in all .SQL test files Issue-ID: CPS-452 Issue-ID: CPS-436 Issue-ID: CPS-500 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: If422d25cafd2850d25c9a28dea16ba7a5f93dddb
2021-07-16Rename CpsModulePersistenceServiceSpec test classBruno Sakoto1-1/+1
Issue-ID: CPS-493 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ib1a69de41317e130ec993779547e47341a77d498
2021-07-16CPS-401 Update Open API YAML with data types and example for output (cpsData)JosephKeenan7-3/+19
-added response for get data nodes based on dataspace and anchor -modified modelmapper jn DataRestControllerSpec to be Spy not Mock -when openapi.yaml is entered into https://editor.swagger.io/ it displays however locally it does not, This may be due to file segmentation but this is still unclear. -moved files from docs/openapi to src/main/resources/static as required for new swagger sprindoc Issue-ID: CPS-401 Change-Id: I45286530d9a9ca85b56c0a656a44675398a003f4 Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
2021-07-15Have event schema objects serializableBruno Sakoto1-0/+1
Issue-ID: CPS-494 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I3f78a518b70a2626b9c7f5ff9bfadb63ac12e92e
2021-07-15Merge "Expose Prometheus metrics for monitoring"Toine Siebelink7-20/+33
2021-07-14Expose Prometheus metrics for monitoringputhuparambil.aditya7-20/+33
Issue-ID: CPS-492 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I264066bd543daf2a45f2ec9a6b8cdf8012927828
2021-07-13Fix sonar qube violationsniamhcore1-2/+1
Issue-ID: CPS-475 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: If55140bbf3e5b28e8e9334838d1a81b74619c99d
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