summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2021-03-01Adding fixed security issues to Release NoteToineSiebelink1-1/+5
(required for silver badge) Issue-ID: CPS-167 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ic6abf8e64ef5b1beb2692d33baaf2454d41f9035
2021-02-26Merge "CPS-240 - Create REST End-point on NF-Proxy for DataNode Update & ↵Bruno Sakoto9-14/+314
cpsPath Query"
2021-02-26CPS-240 - Create REST End-point on NF-Proxy for DataNode Update & cpsPath Queryniamhcore9-14/+314
Issue-ID: CPS-240 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I2aed92f8ab34282b12e23ae7807a391446165eb0
2021-02-26adding a placeholder release notes rst fileToineSiebelink2-0/+149
Issue-ID: CPS-179 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I0b001f14bcc9302bc2a0d64a2de02408688e84b0
2021-02-26Merge "Implement getDataNode(anchorName, xPath) in NF-Proxy"Toine Siebelink9-47/+196
2021-02-26Implement getDataNode(anchorName, xPath) in NF-ProxyHanif Kukkalli9-47/+196
Added spring-boot-starter-validation instead of cps-ri. Added test 'Data node without leaves and without children.' to MultipartFileUtilSpec groovy test Created a method getNodeByCmHandleIdAndXpath(cmHandleId, cpsPath) Added hardcoded value of NFS DataspaceName as: "NFP-Operation". Issue-ID: CPS-172 Signed-off-by: Hanif Kukkalli <lte-ng@outlook.com> Change-Id: Ie8086ede01a9c5069b1ee75864b04a0ee5e8a4f6
2021-02-26Merge "adding a placeholder architecture rst file"Toine Siebelink1-0/+5
2021-02-25adding a placeholder architecture rst fileniamhcore1-0/+5
Issue-ID: CPS-178 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I54cb3a5f5325773988a12c29eb5ed9fe047bbe3c
2021-02-25Publish openapi.yml for docsRishi.Chail2-4/+818
Issue-ID: CPS-176 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I77251a86e2a7816a5c97d7295b2d8cda68e46f28
2021-02-24Merge "Initial/docs folder setup"Toine Siebelink11-1/+196
2021-02-24Merge "Introduce CPS integration testing (CSIT)"Toine Siebelink13-2/+472
2021-02-24Initial/docs folder setupRishi.Chail11-1/+196
Issue-ID: CPS-176 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I765ac67703303982a28f301ece70d87605c2e835