summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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
2021-04-06rename nf-proxy to network-cm-proxytragait28-251/+401
This commit renames two modules cps-nf-proxy-rest and cps-nf-proxy-service to cps-ncmp-rest, cps-ncmp-service. Docker image names are also changed respectively. Swagger auto generated api files are also modified. Signed-off-by: tragait <rahul.tyagi@est.tech> Issue-ID: CPS-315 Change-Id: Ic2a2f8c4bafe8cffa3c83ccb52499720aaba1415
2021-04-01Merge "Use ONAP recommended base Java Docker image"Toine Siebelink1-1/+2
2021-03-31Fix to store data for 2 anchors using same modelBruno Sakoto4-1/+73
This change deletes the database index on fragment table for dataspace and xpath. Issue-ID: CPS-300 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I586cc38f7ed00a16f751ed4dbe3b514226c62657
2021-03-31Use ONAP recommended base Java Docker imageRishi.Chail1-1/+2
Issue-ID: CPS-304 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I71db1d9c85225a33dd9fc4f2e5f7045d71ad3843
2021-03-29Fix for AlreadyDefinedException test.niamhcore1-6/+6
Issue-ID: CPS-290 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: Id3e3764b00dfd462fd20a5c9ded68f8d507e8119
2021-03-24Provide the reason why data is not compliantBruno Sakoto1-2/+2
Issue-ID: CPS-292 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ia58a8dfcf427e373b24bb3be7436abf6abd55492
2021-03-24Add timestamp to docker snapshotsRishi.Chail1-2/+3
Issue-ID: CPS-264 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I25dc40e1f1d6f5fc2634625ae8403b96913829bd
2021-03-24Internal Server Error when creating the same data node twiceniamhcore19-191/+155
This change adds a generic exception handler class for a already defined object and handles a JsonSyntaxException. Issue-ID: CPS-290 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: Ie645237b5dd5b8e2b1d074c5613e7da560f57484
2021-03-18Fix code smellsRishi.Chail3-6/+5
1. removed typedefs annotation 2. chnaged final string constant name Issue-ID: CPS-89 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I524aa8c13e8bb4c6a00d810c6e89b30a48f37d10
2021-03-16Docs: overview, architecture, design, modelingRuslan Kashapov8-20/+171
Issue-ID: CPS-268 Change-Id: I31480a9a6186af0ddedae4f0eca06a744a2e2d64 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-03-12Merge "Move web security configuration to application module"Toine Siebelink13-180/+265
2021-03-12Move web security configuration to application moduleRuslan Kashapov13-180/+265
Issue-ID: CPS-288 Change-Id: Ieba184c3e4727e354c19a3db31325052d15ced44 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-03-11Exception stack trace is exposedniamhcore4-58/+25
Issue-ID: CPS-249 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I1e03c17364c925c6f976f2147cb17f8ac26ba995
2021-03-11Suppress csrf sonar security hotspot warningBruno Sakoto1-0/+5
Issue-ID: CPS-285 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I95d2b7d48714d21e2cdcaab36f3ba9903f0b5342
2021-03-11Fix for security hotspot related to wek cyptographyputhuparambil.aditya6-11/+17
https://sonarcloud.io/project/security_hotspots?id=onap_cps&hotspots=AXfObcurA2pnU4Plp4-j Issue-ID: CPS-286 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I31012f81797396682dbccae0e4992a33bac806c7
2021-03-11Fix SonarQube Coverage for test casesHanif Kukkalli2-0/+129
NfProxy Test Coverage Issue-ID: CPS-89 Signed-off-by: Hanif Kukkalli <lte-ng@outlook.com> Change-Id: I7314e3fb1557d2f47f03db9c4ac12b0bf86c63b2
2021-03-10Fix SOnarQube bug on RegexToineSiebelink2-14/+20
- Regex included unlimitted repetition is now limited to 99 99 nested yang container should sufice, in my experience in 5G 20-30 levels is the max I have seen we can always record it as a 'known limitation' -tried to improve the redability of the Regex using constant names - Added edge-case senarios testing related to query regex Issue-ID: CPS-89 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ic3442bc8ca22fe66976948f9913e033245a0e41c
2021-03-09Improve error reporting for invalid cps path queryniamhcore3-7/+13
Issue-ID: CPS-276 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I0e0abbaff32c936c67fc1092dc8385a0bc5ae49e