summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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
2022-11-18Performance Test settings explorationseanbeirne1-4/+4
Issue-ID: CPS-1351 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I91624b74fc712078a22b9dc18851ca0b5de6a911
2022-11-18Added get APIs for dataspace.rajesh.kumar14-2/+399
Issue-ID: CPS-1186 Change-ID: I73f97f986a817d423f93a8d922dcd9647b0829aa Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
2022-11-17Fix: Swap prepare-csit.sh to Python3 robot frameworkMatthew Watkins2-11/+13
Issue-ID: RELENG-4523 Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org> Change-Id: I246f9f76996943826afc7d05796e6ddc5c0de6dc
2022-11-18Merge "Revert Hack to get CSIT test working Reverted to using ROBOT3_VENV ↵Toine Siebelink1-4/+4
(tetsing CI-mgmnt uodate)"
2022-11-17Fix: Swap run-csit.sh to Python3 robot frameworkMatthew Watkins1-7/+7
Issue-ID: RELENG-4523 Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org> Change-Id: I15ad8a147a669c503ea023f79cef101baf99c21f
2022-11-17Revert Hack to get CSIT test workingToineSiebelink1-4/+4
Reverted to using ROBOT3_VENV (tetsing CI-mgmnt uodate) Issue-ID: RELENG-4523 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I1e8ae6cba2b303042d9f22e1601e9846ebd2f7bf
2022-11-16Merge "Query data NCMP-Operational with CPSpath"Sourabh Sourabh20-158/+518
2022-11-15Query data NCMP-Operational with CPSpathlukegleeson20-158/+518
New GET Endpoint: /v1/ch/{cm-handle}/data/ds/{ncmp-datastore-name}/query?cps-path={CPSPath} Implemented error for {ncmp-datastore-name} other than operational - (Toine) Refactored and renamed (abstract) handler for better re-use Mainly by introducing a separate handler for OperationalQuery Reviewers Toine, Sourabh, Priyank Issue-ID: CPS-1002 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Iaca018869d95d4ce800072431baa190050a6dad0
2022-11-14Upgrade testcontainers to 1.17.3mpriyank1-1/+1
- upgrade the testcontainer version to run the integration tests Issue-ID: CPS-1360 Change-Id: Ia84ebd68a10c72405d8038dbc30a12c97d37f188 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-11-11Merge "Node API - Find root by anchor method performance"Toine Siebelink6-34/+54
2022-11-11Merge "HTTP error code 500 changed to 400 for invalid JSON payload"Toine Siebelink2-1/+16
2022-11-11Node API - Find root by anchor method performancesourabh_sourabh6-34/+54
- Modified findFirstRootByAnchor - Used fragment extract to build fragment entity to get root data node. Reviewers : Toine, Priyank and Joe Issue-ID: CPS-1171 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I843f270e4781f91ae496f39b976e2a7f2a14d55e Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2022-11-11Temporary registry updatempriyank3-4/+5
- temporarily updating the registry to test the failing tests. Issue-ID: CPS-1360 Change-Id: I7e303bb72b3f87565e27bcca7b1d9f5afc2b1417 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-11-10HTTP error code 500 changed to 400 for invalid JSON payloadrajesh.kumar2-1/+16
Issue-ID: CPS-1289 Change-ID: I73f97f986a817d423f93a8d922dcd9647b1012aa Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
2022-11-09Merge "Hack to get CSIT test working"Sourabh Sourabh1-4/+4
2022-11-09Fix RTD broken linksmpriyank2-10/+10
- Broken link for logback xml file - Broken link for oom_user_guide Issue-ID: CPS-1378 Change-Id: I071d5ad890c1471b50a43517427eeab27631fd52 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-11-08Hack to get CSIT test workingToineSiebelink1-4/+4
Issue-ID: CPS-1353 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I47b0b4e628e6685c0b63bf64ef3a147d6d9de774
2022-11-08Node API - GET Method performance issuesourabh_sourabh4-28/+60
- Modified toDataNode call based on fetch descendants option. - Used fragment extract to build fragment entity. - Modified data set to have correct parent id for descendants. Reviewers : Toine, Priyank and Joe Issue-ID: CPS-1171 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I27a537fe72dd396722e6cfde7d8c454ed2579ec0 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2022-11-04CPS-RI performance profiles implementaionseanbeirne2-4/+27
Reviewers: Joe, Levente, Luke Issie-ID: CPS-1351 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: Ia7b9a4bbf103d6b54f6fde9dd2d80a3c825c3046
2022-11-02Ensure prefix is correct module prefixToineSiebelink26-147/+367
- Moved Prefix logic from RI to Service layer - Prefix is no PREFIX propety, not the moduel name! == RI (DB Layer) Changes - Removed prefix logic incl hazelcast - Added new basic ri-test for getDataNode and assert prefix is null - Updated exsiting ri-test to us getDataNode - Updated existing ri-test to only use " where really needed == CPS Service Layer Changes - Introduced PrefixResolver with clear and limited responsibility - Use PrefixResolver where needed - Cache prefix map per anchor, use cached entry when available - Disabled SONAR on new Regex == REST Layer - Use PrefixResolver where needed Issue-ID: CPS-1353 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ie16f0e1ee1c280f3eb69c9e64fab69a780fb692a