aboutsummaryrefslogtreecommitdiffstats
path: root/docs/cps-path.rst
AgeCommit message (Collapse)AuthorFilesLines
2023-10-16Add NCMP Stub documentation to RTDToineSiebelink1-2/+2
-add new pages fot Stubs -fixed spleeting erros -added file with accepatbel cps terms for spell check Issue-ID: CPS-1858 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I71fdeb29b015067d208e404bed8ac53b03810c00
2023-07-20Apostrophe handling in CpsPathParserdanielhanrahan1-2/+1
Apostrophe is not currently handled correctly, and having apostrophe in the xpath will lead to various errors. For example, normalizing this xpath works: /path[@name="I'm quoted"] -> /path[@name='I\'m quoted'] However the resulting xpath will throw a PathParsingException if parsed! (Thus path normalization is not idempotent.) - Use '' for escaping apostrophe in single quoted leaf value, to comply with XPath standard (and use "" for escaping in "). - Use Liquibase to make existing data comply with new rules. - Leaf values in data leaves are now unescaped, e.g. "I'm quoted" - Quoting is now consistent for leaf/text/contains conditions. Issue-ID: CPS-1769 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iafc287f738254d7f99706c6bc548091c0ecd5aa0
2023-07-10Handle special characters in CpsPath queries (CPS-1760 #2)danielhanrahan1-2/+1
This fixes issues with special characters for CPS-500, CPS-1756, CPS-1758, and CPS-1760. It also improves query performance. - use SQL LIKE instead of regex in Cps Path queries Issue-ID: CPS-1763 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I5c179882bfba71d3b009c60059e9073f46227e7d
2023-06-01<,> operators documentRudrangi Anupriya1-1/+4
Issue-ID: CPS-1273 Change-Id: Ibbbbe90a28c3711ef211136cd8f8c0f265a51537 Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
2023-04-28Merge "Add document for support for contains condition to cps-path"Luke Gleeson1-1/+20
2023-04-27Add document for support for contains condition to cps-pathRudrangi Anupriya1-1/+21
Issue-ID: CPS-1272 Change-Id: I32c03d5ed80e5d16d4b5c0f726539a6da487abd6 Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
2023-04-25Ordering of leaf elements to support combination of AND/OR in cps-pathRudrangi Anupriya1-2/+6
Issue-ID: CPS-1629 Change-Id: Ib9df87e8171f4d53c49d80d27e3c6cf75aa3b209 Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
2022-09-22Updated release notes with limitation related to cps pathputhuparambil.aditya1-0/+2
Issue-ID: CPS-1179 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I9fa7799e5a54b82b280606a14d09ce2256b844f2
2022-09-01Fixing RTD warningsemaclee1-1/+1
Issue-ID: CPS-1237 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I0f09d6355d23451207d2d937fbda155b1407fb5a
2022-08-04Query CM Handles RTDlukegleeson1-2/+0
Updates to RTD for CM Handles Querying Removed documented limitation in CPS path which has since been implemeneted Updated dmi-registry file in RTD modeling Issue-ID: CPS-1161 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I19ff09dadb43a46e14844e198278949f059c6e68
2022-04-28Updated the documentation with limitation of leaf conditionLathish1-1/+4
Issue-ID: CPS-988 Change-Id: I6d02b35b949c62f956b291a86d4abe6e1a70b3ec Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-03-25Updated the Documentation with sample yang and jsonLathish1-15/+135
Issue-ID: CPS-940 Change-Id: I66b2f0cc1007a23498803cca695aa3d19c0eb433 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2021-11-08Documentations CPS-Path conditions mistakelukegleeson1-1/+1
Issue-ID: CPS-749 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I63895f5ec3cfdf16c75b416d6a51a40c72c82878 (cherry picked from commit d02d69a3d0ae4bb03017f18678a2dbb402b75abb)
2021-10-11Update Index and Path Documentslukegleeson1-2/+0
Issue-ID: CPS-626 Change-Id: I1351fddee95cb2bc5314e9a7f4d0d5a0b36488c8 Signed-off-by: lukegleeson <luke.gleeson@est.tech>
2021-09-14Create Preliminary Documentation for CPS-Core & NCMPshivasubedi1-0/+3
Create Preliminary documentation for Istanbul release of the CPS-Core. Added new plugins in POM to generate swagger doc for design page. Added latest conf.py file from http://gerrit.onap.org/r/doc Followed template from work done by Chaker here https://wiki.onap.org/display/DW/Component+Documentation+Template Issue-ID: CPS-633 Change-Id: I431776e4d052ec65bf1e1d7709d12d0100592cd5 Signed-off-by: DylanB95EST <dylan.byrne@est.tech> Signed-off-by: shivasubedi <shiva.subedi@est.tech>
2021-07-20Support text() conditionToineSiebelink1-60/+93
- 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-05-06Document ancestor cps pathniamhcore1-3/+24
Issue-ID: CPS-305 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I29ef0c62ab2030d900c9fcecb453d9aff9f647d3
2021-04-23Documents update for multiple attributes support in Get Descendent APIputhuparambil.aditya1-6/+5
Issue-ID: CPS-309 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Iceb62b784e3e5281d8a8ab443c4ece45fa121dc2
2021-04-23Documents update for multiple attributes support in Get Descendent APIputhuparambil.aditya1-2/+20
Issue-ID: CPS-309 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I413fd64b12b1c1a10fd9e0068809cb5a8a6e28ad
2021-04-22Document legacy CPS Path functionalityToineSiebelink1-0/+93
Issue-ID: CPS-334 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ib5266c7b30097661d97f8a499eaddc738dda0539