summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2021-04-30Merge "Implement cps path query to get ancestor by schema node identifier ↵Rishi Chail7-106/+155
Cleaned up some legcy issues in related testware"
2021-04-30fix sonar code smellRuslan Kashapov1-1/+1
Issue-ID: CPS-358 Change-Id: Ifa1f4bbd5c16a0cf6e4ac73568c8560e42b85365 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-04-30Implement cps path query to get ancestor by schema node identifierToineSiebelink7-106/+155
Cleaned up some legcy issues in related testware Issue-ID: CPS-305 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: Ic4b21308478f399e3a454dbcd73943e077b0f3f2 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2021-04-30Merge "Fix code smell"Toine Siebelink1-1/+0
2021-04-30Fix Get descendent to support xpaths that end in list valuesputhuparambil.aditya3-17/+36
Issue-ID: CPS-367 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I3234afd8b8b69c5a3c87db1669d9b304f9fcaa49
2021-04-30Fix code smellRishi.Chail1-1/+0
Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: Ib1d7d1c83ea86a6a25d831852b822b4f3857d54a
2021-04-29JSON data fragment into DataNode collection parsing supportRuslan Kashapov2-1/+41
Issue-ID: CPS-358 Change-Id: I92f46504e5f3623131844616945069f70712ed61 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-04-29Investigate and update Spock versionshivasubedi20-72/+20
Issue-ID: CPS-368 Signed-off-by: shivasubedi <shiva.subedi@est.tech> Change-Id: Ie8505cf29068660af6bc6b9887f593f7e3be074f
2021-04-28- Remove redundant and misleading testsToineSiebelink1-29/+11
- Some small improvemnt to tets ins same class Issue-ID: CPS-325 Change-Id: I0d888dbd9db555508b23e37957098b7b4d518912 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2021-04-28Fix Code smellsshivasubedi15-84/+73
Issue-ID: CPS-89 Change-Id: Ib1b6fbc6b6d712f169100825683e6db3e7c85cb9 Signed-off-by: shivasubedi <shiva.subedi@est.tech>
2021-04-28Merge "Get Data under anchor using single root Changes for NCMP"Toine Siebelink2-5/+0
2021-04-26Merge "Leaf String value comparison matches mix of single and double quotes"Rishi Chail2-6/+31
2021-04-26Get Data under anchor using single rootRishi.Chail2-5/+0
Changes for NCMP Issue-ID: CPS-325 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I3eb8a1b0c11d0503614cea6839ad7e33adbdd524
2021-04-26Merge "Get Data under anchor using single root"Bruno Sakoto8-20/+62
2021-04-26Get Data under anchor using single rootRishi.Chail8-20/+62
Issue-ID: CPS-325 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: Id8da3d767199c5767c625b55d175ac6791dcca48
2021-04-26Leaf String value comparison matches mix of single and double quotesshivasubedi2-6/+31
Issue-ID: CPS-345 Signed-off-by: shivasubedi <shiva.subedi@est.tech> Change-Id: Id6db86817878ed5ed8ccaed4a9a71c5a06d6f97c
2021-04-23Update documentation for csit testsBruno Sakoto1-1/+1
Issue-ID: CPS-356 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ic6f31e7eaaf86fd51bb65f22b51668a74d792472
2021-04-23Merge "Upgrade to PostgreSQL 13"Bruno Sakoto2-2/+2
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-23Upgrade to PostgreSQL 13Rishi.Chail2-2/+2
Upgrade version in docker compose and test containers to match OOM version. Issue-ID: CPS-355 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I8da816fb932822e50380e7c12487e234d75fa4d7
2021-04-22Implement ends with cps path query to support multiple attributes with 'and' ↵puthuparambil.aditya8-85/+274
condition Issue-ID: CPS-309 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I80bf2650e2cd979b806fc29302fc5cb295f65241 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
2021-04-22Document legacy CPS Path functionalityToineSiebelink5-6/+108
Issue-ID: CPS-334 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ib5266c7b30097661d97f8a499eaddc738dda0539
2021-04-22Merge "Update README.md"Toine Siebelink1-2/+5
2021-04-21Update README.mdHanif Kukkalli1-2/+5
Updated README.md to show the version that can be used to pass as an argument for docker-compose up Issue-ID: CPS-339 Signed-off-by: Hanif Kukkalli <lte-ng@outlook.com> Change-Id: I440f2d368c0b06c3827db3c39e044560c4d10a84
2021-04-21Create child data node (part 2): NCMP service + RESTRuslan Kashapov6-12/+123
Issue-ID: CPS-337 Change-Id: Icf703f6f375e5f280058d58c781eac081f3dd161 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-04-20Merge "Increase minimum coverage"Toine Siebelink2-6/+6
2021-04-20Create child data node (part 1): CPS service + RESTRuslan Kashapov6-9/+88
Issue-ID: CPS-337 Change-Id: I9c5c62d144b5301ac80e2b82a5cc66a980dad011 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-04-19Increase minimum coverageClaudio D. Gasparini2-6/+6
and remove unnecesary dependency Issue-ID: CPS-343 Signed-off-by: Claudio D. Gasparini <claudio.gasparini@intl.att.com> Change-Id: I3bffbd9941f539852da2e1de82f8edda08ea1ea3
2021-04-15Remove default password from application.ymlRenu Kumari3-4/+7
Issue-ID: CPS-319 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I61a5e098ffa173721cfa48aa0b992610f6a6e1a0
2021-04-15Fix "ends-with" query syntax to conform with xPath definitionToineSiebelink6-38/+42
"ends-with" is HOW we resolve it in sql query. 'descendant anywhere' is the correct Path name for the '//' operator - Updated method names, variable names, test description to reflect the correct terminolgy - Udpated query to always perfix the target (descendant name) with an '\' so it alwasy only matches whole node names - Updated regex for cpsPath to NOT accept triple /// (as per xPath this is invalid since a ndoeName cannot start with or contain a node separator Issue-ID: CPS-336 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I9f181d6986d038311b839e3f9c5afc4237c7d347
2021-04-13Add Security waiver to Release NotesToineSiebelink1-0/+4
Issue-ID: CPS-329 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Icbfd7137f12d5b5a23ddd316d0c0b3b7edb23b2d
2021-04-12Merge "Fix liquibase changeset so we can upgrade from H to I"Bruno Sakoto3-3/+33
2021-04-09Merge "Fix to pull images from Onap nexus"Toine Siebelink1-1/+3
2021-04-09Fix liquibase changeset so we can upgrade from H to IToineSiebelink3-3/+33
- Undo (accidental) changes in orginal liquiubase cahnge set (03) (see commit : https://gerrit.onap.org/r/c/cps/+/119061) - Add new changeset for required changed related to checksum calcualtion - There is a incorrect field name (checkstyle instead of checksum) in 03-loadData-schema-set.yaml but it seems to be ignored/overruled by the .csv import. If we change it liquibase report an checksum error during upgrade i.e were are not allowed to touch the file! Issue-ID: CPS-310 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I00c94e3f1ddab7c9c54aac1294019ec7cd51634f
2021-04-09Update release note for Honolulu 1.0.1 (RC1)ToineSiebelink1-0/+37
Issue-ID: CPS-297 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ia0315209dba46b2ee05d55b732eec234af7dde5a
2021-04-08Fix to pull images from Onap nexusRishi.Chail1-1/+3
Issue-ID: CPS-319 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I2a82e56aef8572e4241b6644cb8c53d2d33ace97 (cherry picked from commit 27fba350de15c5a5145a66f75cc188a6f69633c6)
2021-04-07Fix SonarQube violationsToineSiebelink3-6/+5
- Used @SupressWarning where issue was casued by 3PP we have not control over - Remove TODO's which are now addt to backlog as new JIRA's; CPS-324 and CPS-325 Issue-ID: CPS-89 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ieb64fd6d3f09144f6dea965c0aee3aefa6ec253c
2021-04-07Merge "Fix upload size to be greater than 1MB"Bruno Sakoto3-0/+28302
2021-04-07Fix upload size to be greater than 1MBniamhcore3-0/+28302
Issue-ID: CPS-308 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I1de6efa882f85cf6f9054e3ef38ed6e0bd99d7be
2021-04-07Delete anchor part 2: cps restRuslan Kashapov3-11/+23
Issue-ID: CPS-312 Change-Id: I08f92dfff3188bd96a69ec2ae01e0d0891b81d87 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-04-07Merge "Fix security hotspots n Regex"Bruno Sakoto2-2/+3
2021-04-07Delete anchor part 1: service and persistence layersRuslan Kashapov7-12/+89
Issue-ID: CPS-312 Change-Id: I10ab5a2d115ffdf8179a99b6ec712f3eccfb5f13 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-04-07Fix xpath building for data nodes addressing YANG augmentationRuslan Kashapov10-13/+1127
Issue-ID: CPS-316 Change-Id: I8aa0960c2a6af2b8fe5bc2fb90efe36baee7a881 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-04-06Moved application.yml under cps-applicationRenu Kumari3-7/+3
Issue-ID: CPS-248 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Ibfe68684784a9bd38e9e1e5d6a5e7909c4c11909
2021-04-06Fix security hotspots n RegexToineSiebelink2-2/+3
Attemting to fix security risks indentified by SQ by reducing unlimited spaces to 0-9 spaces See https://sonarcloud.io/project/security_hotspots?id=onap_cps# I think the proposed regex changes are acceptable and better then adding @SupressWarning annotation (have to test by merging this commit as issues are not spotted when using SonarLinit locally?!) Issue-ID: CPS-89 Change-Id: I00bbacb3145650ab7d21d13152c08d5ccf0c04fa Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2021-04-06Merge "rename nf-proxy to network-cm-proxy"Toine Siebelink28-251/+401
2021-04-06Fix for security hotspot related to safe archive expansionputhuparambil.aditya3-8/+198
https://sonarcloud.io/project/security_hotspots?id=onap_cps&hotspots=AXfObcsqA2pnU4Plp4-g Issue-ID: CPS-289 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Ibe8627413fc9e3964cdc5bb98caf5e25fa4f3a95