summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-09-01Add ncmp endpoints to swagger-uiRenu Kumari22-237/+113
- 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-30Change the list-node rest interfaceRenu Kumari3-8/+8
- Changed the list-node interface to be consistent with datanode api Issue-ID: CPS-598 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Ic99828f1463e9a724244c05166e477581756f602
2021-08-26Post impl for passthrough running (Ncmp impl.)tragait13-232/+437
Issue-ID: CPS-577 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: Ic8983349cf88fb123feb95ce01ec6fdf670469f4
2021-08-25Add optional observed timestamp in the cps data apiaditya puthuparambil18-226/+508
- Added optional query parameter in cps data endpoints - Updated service layer and notification to use observedTimestamp Note: - NCMP REST endpoints are not updated as a part of this patch - NCMP does not sent observed timestamp when using cps data services Issue-ID: CPS-477 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I1f92da3da7b3a13c45405fdf44e5fef861991d9a Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
2021-08-25Merge "Remove CmHandle in DMI-Registry"Niamh Core4-8/+32
2021-08-25Remove CmHandle in DMI-RegistryDylanB95EST4-8/+32
Remove CM Handles within DMI-Registry as part of DMI-Registration story. Issue-ID: CPS-444 Change-Id: I91bb5e346354b2723fafb565c25d5728731aa09e Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2021-08-25Merge "Add timeout to async test-cases"Bruno Sakoto3-7/+14
2021-08-25Merge "Process data-updated event asynchronously"Toine Siebelink11-37/+155
2021-08-25Add timeout to async test-casesRenu Kumari3-7/+14
Issue-ID: CPS-526 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Icf46f94090a615bf945eb70b58edf86c0c509155
2021-08-25Merge "Review event schema description"Niamh Core1-1/+1
2021-08-25Merge "Fix exception when registration has no additionProperties"Toine Siebelink2-37/+58
2021-08-25Fix exception when registration has no additionPropertiesniamhcore2-37/+58
Issue-ID: CPS-587 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: Ic65b274e66cc7b2967826045a5da43ef2ee888f5
2021-08-25Review event schema descriptionBruno Sakoto1-1/+1
This change is related to a comment on previous change. Issue-ID: CPS-584, CPS-459 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I402841d0a00f282bee1ddc19818f86cf4b0e3923
2021-08-24Prepare for next event schema versionmr/584/123451/3Bruno Sakoto6-22/+20
Issue-ID: CPS-584, CPS-459 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Iaf605492783f8c06f40522a427ce63bd2d1b34d0
2021-08-24Merge "Update CmHandle in DMI-Registry for a DMI-Plugin Instance in NCMP as ↵Niamh Core8-23/+173
part of dmi registration."
2021-08-24Process data-updated event asynchronouslyRenu Kumari11-37/+155
- notification is processed asynchronously using defined threadpool - updated docker-compose and readme to add dataspace filtering variables Issue-ID: CPS-526 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I7f827250f45cb9e3db2f060e9b3a089a4eaee05c
2021-08-24Update CmHandle in DMI-Registry for a DMI-Plugin Instance in NCMP as part of ↵DylanB95EST8-23/+173
dmi registration. Updating existing CM-Handles created previously as part of CPS-442 Note - Can only update cm handles and properties which already exist. Issue-ID: CPS-443 Change-Id: Ib05a4e01336ca463578b45917dcdfe715b6bad07 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
2021-08-20Get resource data from pass through running (Ncmp impl.)tragait10-51/+310
Issue-ID: CPS-580 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: I6dc37d9516078c87efc3f0c5bbd2b7b8a7155d48
2021-08-20Merge "get resource data for operational passthrough"Niamh Core20-8/+763
2021-08-19Merge "Delete list-node p2 rest layer"Niamh Core3-0/+42
2021-08-19get resource data for operational passthroughtragait20-8/+763
Issue-ID: CPS-487 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: Id1b761f3f6a388556d0cc334fd6f196c78badc39
2021-08-19Merge "Filter data updated events based on configured pattern"Niamh Core6-43/+129
2021-08-18Delete list-node p2 rest layerlukegleeson3-0/+42
Issue-ID: CPS-361 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I5fb8d202fc0a65679d10377cc2959a7f8f854ca7
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