summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2021-03-05Update versions for next releaseRishi.Chail13-13/+13
Issue-ID: CPS-256 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: Ifce438495233edd7de9f42129ab60bebc365f0b9
2021-03-05Deliver final image for HonululuRishi.Chail1-0/+8
Issue-ID: CPS-256 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: Idf0a390058789f9ab6d01406da4c11df47b91db2
2021-03-05Deliver new maven artifactsRishi.Chail1-0/+4
Issue-ID: CPS-256 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: Ib7f14058ef529eecfb9dcb652eee457243718aaa
2021-03-05Merge "Upgrade version number"Toine Siebelink13-14/+14
2021-03-05Add basic authentication securityBruno Sakoto10-73/+284
Endpoints exposed outside from the cluster require basic authentication except actuator health and info endpoints. Default user credentials are embedded in the application, they can be overridden with system environment properties. Issue-ID: CPS-175 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I3dfa0e49e5f4538c923e6bbe9bef976d30359fe6
2021-03-04Upgrade version numberBruno Sakoto13-14/+14
Honolulu RC0 will be version 1.0.0 Issue-ID: CPS-260 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ib4d464100b7b5814070d41dc911f342f58836442
2021-03-04CPS-265 - Update cps path query to support 'ends with'niamhcore6-33/+135
Issue-ID: CPS-265 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I604191feaad820983d86e6fd844f543f51096a4e
2021-03-04Merge "Fix cps-nf-proxy standalone assembly."Bruno Sakoto2-4/+16
2021-03-04Test CSIT Integration TestsHanif Kukkalli1-7/+24
Updated README.md file Issue-ID: CPS-272 Signed-off-by: Hanif Kukkalli <lte-ng@outlook.com> Change-Id: If636cc34a83e0895e148597cb3a0812953db5aae
2021-03-04Fix cps-nf-proxy standalone assembly.Ruslan Kashapov2-4/+16
Application dependency on cps-ri module moved from cps-rest module (indirect) to cps-application (direct, using assembly profiles) Issue-ID: CPS-274 Change-Id: Id246dc4c6d15343e4862f70151aa82c5020862c9 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-03-04Publish Release NotesRishi.Chail2-17/+32
Issue-ID: CPS-267 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: Ibb1228d9d48b3c2a02ada5804457cdb0fb612c13
2021-03-03CSIT: Integration tests for CPS CoreRuslan Kashapov15-62/+179
+ also fixes issue with fragment_id sequence not reflecting data loaded Issue-ID: CPS-261 Change-Id: If590d6a0859a1acc9005dd2da952b7dd93a23059 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
2021-03-02CPS-265 - updating cps path to support include-descendants option.niamhcore17-51/+104
Issue-ID: CPS-265 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I9e9b84760dbc8b5eb4b31ab972fdb2d186c6bb48