summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-12-23Update Release NotesToineSiebelink1-7/+12
- Added CPS-1171 and others - Corrected mistakes Issue-ID: CPS-1171 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I30f51c1b295e2e28fa07a2174fcc2c5db761ce5e
2022-12-22Merge "Temp Table Creation improvements"Toine Siebelink9-64/+236
2022-12-22Merge "XML content on create anchors node support"Toine Siebelink18-113/+694
2022-12-22Temp Table Creation improvementsToineSiebelink9-64/+236
- extracted methods for more generic temp table creation - optimized - added perf test on use case that depends on temp table creation - had some doubts about stopwatch use in recent tests, but was all OK, just renamed some Issue-ID: CPS-1422 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I22cabb9b0ba1b0aa8576a2d756d77af46eebc1b0
2022-12-22Merge "Add fix for posting nodes with xPath with '/'"Toine Siebelink11-26/+58
2022-12-22XML content on create anchors node supportMichal Jagiello18-113/+694
Add XML content type support on anchor node creation. Issue-ID: CPS-1257 Change-Id: I7e7a9a1961b6e81de93a4e32e842b47f8a163a09 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Signed-off-by: Lee Anjella Macabuhay <lee.anjella.macabuhay@est.tech>
2022-12-22Merge "Consume Subscription Creation Event"Toine Siebelink6-0/+236
2022-12-22Consume Subscription Creation Eventseanbeirne6-0/+236
Issue-ID: CPS-1392 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I0a5a8c256319a1a2944ee6606db1c14b50e8f8e4
2022-12-22CSIT fix to use correct libmpriyank2-2/+3
- Explicitly setting pylibs.txt file to use 3.0.0 version of robotframework-selenium2library - Also updating the script to be read from WORKSPACE. Change-Id: Ic66c5357f53e73678aac439d095d318dbd03c333 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-12-22Add fix for posting nodes with xPath with '/'emaclee11-26/+58
- YangUtils method changed from using REGEX to cps path parser - unit test added for cps path util Issue-ID: CPS-1433 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: Ibb9efdd09423f9bade4a4a557d7d9ed49aa44ef4
2022-12-21CpsPath Query OptimizationToineSiebelink7-126/+244
- Optimized CpsPathqueries with descendants that only care about the xpath (no attribuets checks) - Use native query with regular expression for target xpath and descendants - Refactored so existing sql-geneartion code can be re-used in different repository implementations - Adjusted related performance test expectations Issue-ID: CPS-1421 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I3a807a14478c4b3272a5335d31c9aa3615eb2bee
2022-12-21Merge "API versioning supported and added different versions for POST APIs"Joseph Keenan13-165/+694
2022-12-20Check preformance impactsToineSiebelink1-0/+14
-Added a basic perf. test to process 200K CPS paths using parser Issue-ID: CPS-1409 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ibf8aed53506d28ba08f7166a44bd6fe9aefa5952
2022-12-19Fix Delete uses case with '/' in pathToineSiebelink7-18/+142
-Extend and use cpsPath parser (util) classes instead of regex Issue-ID: CPS-1409 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I230c9eb71cc34264983830b39149511b95c4b4a6
2022-12-19Merge "Use public exposed interface of CPS service instead of spi"Toine Siebelink5-71/+37
2022-12-19RTD Support for multiple data trees under 1 anchorarpitsingh1-0/+1
Signed-off-by: arpitsingh <as00745003@techmahindra.com> Change-Id: Icab15ac79053f91b2a126f944fec86474c944f80
2022-12-16API versioning supported and added different versions for POST APIsrajesh.kumar13-165/+694
Issue-ID: CPS-1189 Change-ID: I73f97f986a817d423f92f8d922dcd9647b1214aa Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
2022-12-16Use public exposed interface of CPS service instead of spisourabh_sourabh5-71/+37
- Used public interface of cps service to get data node or anchor names. Issue-ID: CPS-1427 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I2a891dd5f8955977295f32005e49543886eac88c Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2022-12-16Merge "CPS-341 Support for multiple data tree instances under 1 anchor"Toine Siebelink13-167/+306
2022-12-15Chore: Update robot-framework scripts to use Python3.10Matthew Watkins2-4/+43
Migrate these CSIT scripts to explicitly use the latest Python 3.x version available in pyenv, the same as the earlier jobs that setup the robot framework environment. Also, output some useful versioning information to aid debugging. Issue-ID: CCSDK-3820 Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org> Change-Id: I332f2c46018d4c3433f0a3df9a0f35bb90241b07
2022-12-15CPS-341 Support for multiple data tree instances under 1 anchorarpitsingh13-167/+306
- Updated the parseJsonData method so it can parse JSON with multiple data trees, now it returns a ContainerNode - ContainerNode holds a collection of NormalizedNodes - Updated DataNodeBuilder and FragmentRepository as well to support collection of NormalizedNodes - Added new methods in CpsDataPersistenceService to store multiple Data Nodes - Added new test cases - Updated existing test cases and fixed code coverage - Addressed comments from previous patch Issue-ID: CPS-341 Change-Id: Ie893e91c0fbfb139a1a406e962721b0f52412ced Signed-off-by: arpitsingh <as00745003@techmahindra.com>
2022-12-15Merge "Query Optimization"Joseph Keenan1-26/+49
2022-12-15Merge "Analyze outdated CPS Dependencies"Toine Siebelink3-6/+6
2022-12-14Analyze outdated CPS Dependenciesleventecsanyi3-6/+6
- Added guava & postgres dependency update Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: I28dab7c083330fff704d5e438566878f78eb53f9 Issue-Id: CPS-1408
2022-12-13Merge "Fixing SonarQube violations"Toine Siebelink7-16/+23
2022-12-12Query OptimizationToineSiebelink1-26/+49
- Refactor performance tests as multiple separate (data driven) tests - This to improve redability and re-use and amke sure al tets are always ran (makign it easier to test/change thresholds for multiple scenarios at once) - Add new query performance tests (on many descendants) Issue-ID: CPS-475 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: If5703fcb9e2233ded64d31d2342de2e7f5549687
2022-12-12Merge "Fix DataNodeBuilder for ChoiceNodes"Toine Siebelink4-1/+67
2022-12-12Fix DataNodeBuilder for ChoiceNodesLena Peuker4-1/+67
Fix implemented to handle YangChoiceNode in right format Issue-ID: CPS-1352 Signed-off-by: Lena Peuker <PeukerL@telekom.de> Change-Id: I48d433bac96cfc647bc31c82817870995bace860
2022-12-12Increase performance test marginsleventecsanyi1-8/+8
- Increased duration times Issue-Id: CPS-1420 Change-Id: I510801a65194b63ce72a716ee3fc7258aef61207 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2022-12-12Fixing SonarQube violationsleventecsanyi7-16/+23
- Code smell fixes Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Issue-ID: CPS-475 Change-Id: I4b47ece82aed7e4b31aaa28e601e419fb6f06718
2022-12-09RTD Release Notes get all schema setslukegleeson1-0/+1
Issue-ID: CPS-1187 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Ic175350593b8be8671dce52fa8ccbe05820a86d5
2022-12-09Merge "Added API to get all schema sets for a given dataspace."Toine Siebelink13-1/+223
2022-12-09Added API to get all schema sets for a given dataspace.rajesh.kumar13-1/+223
Issue-ID: CPS-1187 Change-ID: I73f97f986a817d423f93a8d922dcd9647b0914aa Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
2022-12-08Merge "Fix SonarQube Violations"Sourabh Sourabh1-2/+1
2022-12-08Merge "Chore: Re-instate robotframework-requests==0.9.3"Toine Siebelink3-6/+11
2022-12-07Chore: Re-instate robotframework-requests==0.9.3Matthew Watkins3-6/+11
Need to re-instate a pinned version for the Python test suite. Also we can add back the backup installation method from the script in ci-management. Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org> Change-Id: If0ec07edb1c156b06a9c2621a4e22bd35b9240a9
2022-12-07Merge "Update outdated dependencies"Toine Siebelink3-1/+3
2022-12-06Merge "Enhance read performance tests"Toine Siebelink2-19/+70
2022-12-06Merge "Upgrade Open daylight yang tool to version 8.0.6"Toine Siebelink8-57/+89
2022-12-06Upgrade Open daylight yang tool to version 8.0.6emaclee8-57/+89
- changed classes according to upgrade of yang tool - changed methods in YangUtils class to accomodate change for jSonParserStream method - updated unit tests for the upgrade Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: Ib62fe424150ed0695eed168e1ae21f4d9a61cdf4
2022-12-05Fix SonarQube Violationsleventecsanyi2-3/+1
Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Issue-ID: CPS-475 Change-Id: Ic5c83cf2952c649fb634c6a1660696e7575cc1c7
2022-12-04Update outdated dependenciesleventecsanyi3-1/+3
- Updated cps-dependecies spring-web & jackson-databind & postgres version numbers Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: I3c9e72cafafb734852a594d14184edfc459db9fb Issue-ID: CPS-1397
2022-12-02Enhance read performance testsToineSiebelink2-19/+70
- Use cleaner base-data to prevent aready existing exception on generated IDs - Increased sample size to 10K - Test 3 scenarios now: get parent, get root and query as all 3 required separate perf improvements - Adjusted Timing for new size (allowing approx 10% margin in Nordix build) Issue-ID: CPS-1171 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Id3867c8d33cd2c57d4d815c687561e23d1029bfd
2022-12-02Merge "Filter on private properties of CM Handles"Toine Siebelink47-130/+631
2022-12-01Filter on private properties of CM Handlesleventecsanyi47-130/+631
- Moved cm handle query validation to cps-ncmp-service (where it belongs!) - Added new enum type for private/public field types - Created new methods for private and public queries - Added new REST endpoint - Created service methods for filtering on different types of properties - Refactored getPublicPropertyPairs and queryCmHandleAnyProperties - Added unit test for the controller layer - Fixed refactoring suggestions - Imporved code coverage with unit tests - Refactoring - Added new functionality to NcmpRestInputMapper - Updated version number to 3.2.1-SNAPSHOT and updated release-notes.rst Issue-ID: CPS-1236 Change-Id: I0ddf6866473f7c3c6b8507d222d441bf97ca6bdc Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2022-11-24Documentation update for enabled dataspace filterseanbeirne1-2/+2
Issue-ID: CPS-1361 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I988350289a02e44515aeb2acfe6a83845d66e0d9
2022-11-24Fix: Update python environment to ROBOT3_VENVMatthew Watkins1-5/+6
Issue-ID: RELENG-4523 Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org> Change-Id: Id5ea08481bdf14cce149f047d7cd5b8d8254d200
2022-11-23Fix: Call source_safely after function declarationMatthew Watkins1-11/+10
Issue-ID: RELENG-4523 Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org> Change-Id: Id74b1f24655a83f68b5f28c9eab68bb069f0bc74
2022-11-22Merge "Performance Test settings exploration"Toine Siebelink1-4/+4
2022-11-21Merge "Added get APIs for dataspace."Sourabh Sourabh14-2/+399