seanbeirne [Thu, 26 Jan 2023 09:21:44 +0000 (09:21 +0000)]
Update openAPI documentation for release process
Issue-ID: CPS-1385
Signed-off-by: seanbeirne <sean.beirne@est.tech>
Change-Id: Ia0b011d4497e7d95f9b625514e8b3216575df044
lukegleeson [Wed, 11 Jan 2023 09:45:53 +0000 (09:45 +0000)]
Springboot Integration tests improvements
Creation of CpsIntegrationSpecBase
Demonstration of test class implementing CpsIntegrationSpecBase in CpsPersistenceSpec
Tests use reduced liquibase steps, basic bookstore yang model and bookstore json payload
Issue-ID: CPS-1379
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: I38202d0888808d08d85fce1aab45fc43e8b0cec3
Toine Siebelink [Tue, 24 Jan 2023 17:36:46 +0000 (17:36 +0000)]
Merge "Update INFO.yaml Committers"
lukegleeson [Tue, 24 Jan 2023 12:20:28 +0000 (12:20 +0000)]
Update INFO.yaml Committers
Issue-ID: CPS-1462
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: I0b5bd7baffc03ae8c91a73926c4fa7596dba1a96
danielhanrahan [Thu, 19 Jan 2023 18:20:11 +0000 (18:20 +0000)]
Handle root xpaths in getDataNodes
Issue-ID: CPS-1458
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I64abf97317afe4335c8d04169689ee1396e75860
Toine Siebelink [Tue, 24 Jan 2023 10:12:16 +0000 (10:12 +0000)]
Merge "Use native query to delete data nodes"
sourabh_sourabh [Mon, 23 Jan 2023 12:51:15 +0000 (12:51 +0000)]
Use native query to delete data nodes
- Used hashcode to remove child fragment based on it's xpath
- Used native query to delete fragment by altering fragment_parent_id_fkey CONSTRAINT.
Issue-ID: CPS-1439
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: If19c449818e18f8fd666503b7346704eeb4a95d0
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Toine Siebelink [Mon, 23 Jan 2023 16:32:55 +0000 (16:32 +0000)]
Merge "Further TTL increase"
danielhanrahan [Mon, 23 Jan 2023 14:35:44 +0000 (14:35 +0000)]
Increase duration for CpsPathUtilPerfTest
Issue-ID: CPS-1460
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I47f226c44351513b77b5cbb9b7d91e13f8bf4db6
Toine Siebelink [Mon, 23 Jan 2023 12:07:27 +0000 (12:07 +0000)]
Merge "Added depth parameter in query nodes API."
Toine Siebelink [Mon, 23 Jan 2023 11:08:07 +0000 (11:08 +0000)]
Merge "[NCMP] Consume & Forward to client topic"
seanbeirne [Fri, 13 Jan 2023 17:13:25 +0000 (17:13 +0000)]
[NCMP] Consume & Forward to client topic
-Consumes event from dmi-cm-events
-Immediately forwards to static topic (topic selection for events comes
later from subscription information)
-Added Kafka test
-SHOULD BE MERGED BEFORE DMI PART
Issue-ID: CPS-138
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Change-Id: I0a426381e2c3f9173b8d3916960c05722ad4f77d
Signed-off-by: seanbeirne <sean.beirne@est.tech>
rajesh.kumar [Tue, 6 Dec 2022 11:47:24 +0000 (11:47 +0000)]
Added depth parameter in query nodes API.
Issue-ID: CPS-1381
Change-ID: I73f97f986a817d423f93a8d922dcd9647b1206bb
Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
mpriyank [Fri, 20 Jan 2023 12:54:32 +0000 (12:54 +0000)]
Further TTL increase
- increased TTL to 10mins or 600secs now.
- Added few more log informations.
Issue-ID: CPS-1446
Change-Id: Ie0508b426fb8d1232f0cc3c1d428a27178294323
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
danielhanrahan [Wed, 18 Jan 2023 13:14:57 +0000 (13:14 +0000)]
Normalize xpaths for getDataNodes
Issue-ID: CPS-1457
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I93d19666c168aa69da73eadbfef0fc54181aec52
mpriyank [Thu, 19 Jan 2023 14:31:54 +0000 (14:31 +0000)]
Optimal TTL value for Module Sync WD
- setting optimal value for TTL to 120secs from 200secs.
- Since the retry parameter is configurable , not changing the same in
patch , but can be set as per the environment we are working on
Issue-ID: CPS-1446
Change-Id: Ifaca07ad1a049a88b2609fd7a1a8e1e2fa478dd9
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Toine Siebelink [Wed, 18 Jan 2023 15:24:15 +0000 (15:24 +0000)]
Merge "Bug Analysis for LOCKED cmHandles"
mpriyank [Mon, 16 Jan 2023 14:14:41 +0000 (14:14 +0000)]
Bug Analysis for LOCKED cmHandles
- Increased TTL time from 60secs to 200secs
- Added few info level logs to analyze more
Issue-ID: CPS-1446
Change-Id: If4456040e51bd33a5bf321f48440e44af7698154
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
danielhanrahan [Thu, 12 Jan 2023 09:55:56 +0000 (09:55 +0000)]
Add delete performance tests
- move existing delete tests to new class
- add tests for deleting lists and list elements
- add test for deleting root node
Issue-ID: CPS-1437
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I81228aa9473ed28d550db64b28c38abb1c1016f5
Sourabh Sourabh [Mon, 16 Jan 2023 08:40:23 +0000 (08:40 +0000)]
Merge "Fetch CM handles by collection of xpaths"
Toine Siebelink [Thu, 12 Jan 2023 16:31:07 +0000 (16:31 +0000)]
Merge "Updating CmHandleStates using batch operation"
JosephKeenan [Wed, 11 Jan 2023 09:18:07 +0000 (09:18 +0000)]
Updating CmHandleStates using batch operation
Issue-ID: CPS-1424
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Change-Id: Ia67db468ece4a7ab694d95cb63a954f24dd8cb55
seanbeirne [Thu, 15 Dec 2022 16:06:20 +0000 (16:06 +0000)]
Fetch CM handles by collection of xpaths
- Added FragmentRepositoryMultiPathQuery
- Removed Hibernate method for same
- Added perf. test
- Handle escaping of single qoutes in sql-data
- Increased timing for path paser performance test
Issue-ID: CPS-1422
Signed-off-by: seanbeirne <sean.beirne@est.tech>
Change-Id: Ibea12a44bffd29ed43cc1560b507d1fa7e968b8b
lukegleeson [Mon, 9 Jan 2023 16:14:36 +0000 (16:14 +0000)]
CPS PATCH operation does not merge existing data
Altered code to add attributes and not overwrite attributes + tests
Issue-ID: CPS-1442
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: I23c5f6a65b98ea1b05af62a38a874c228cc82067
mpriyank [Mon, 9 Jan 2023 09:58:28 +0000 (09:58 +0000)]
DocBuilderFactory one instance
- setting the property for DocumentBuilderFactory only once.
Issue-ID: CPS-1435
Change-Id: Ib1509e86c2f5572d184945dc55f1818a7147c259
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
mpriyank [Fri, 6 Jan 2023 10:12:59 +0000 (10:12 +0000)]
Local DocBuilderFactory fix XEE
- local DocumentBuilderFactory fix for prevention of XML External Entity
Issue-ID: CPS-1435
Change-Id: Ib88268edc5975bf0fe4e3e56bc704f266280af4b
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
mpriyank [Thu, 5 Jan 2023 17:16:39 +0000 (17:16 +0000)]
Test XEE in SonarQube
- test by removing the attributes for transformerfactory to check if
sonarqube gives the vulnerability or not
Issue-ID: CPS-1435
Change-Id: I087796b1bbc465655fd741f678a9b2b417d174dd
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
mpriyank [Thu, 5 Jan 2023 15:35:59 +0000 (15:35 +0000)]
Local DocumentBuilderFactory
- trying to use local DocumentBuilderFactory without any condition
Issue-ID: CPS-1435
Change-Id: I209a31633427cbf6fdac3e465154a1b89b9ca89f
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
mpriyank [Thu, 5 Jan 2023 12:57:49 +0000 (12:57 +0000)]
XEE prevention with all props
- include all properties to prevent XEE for DocumentBuilderFactory
Issue-ID: CPS-1435
Change-Id: I5a740f34072af348fe2df282fba7babeff4299d8
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
danielhanrahan [Thu, 5 Jan 2023 11:03:17 +0000 (11:03 +0000)]
Add delete performance tests
Issue-ID: CPS-1437
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: If940d7633ab6f85b6e1e311af7077ce2006cfa6a
mpriyank [Thu, 5 Jan 2023 11:04:34 +0000 (11:04 +0000)]
Document and Transformer Factory refactor
- Extracted out document and transformer factory code
Issue-ID: CPS-1435
Change-Id: I7c296a797871b0724f6de51833396a5d822c7d76
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
mpriyank [Wed, 4 Jan 2023 18:22:11 +0000 (18:22 +0000)]
XEE remove few property
- remove and test if it fixes the issue
Issue-ID: CPS-1435
Change-Id: Id70509494c105c3e73e8217d0bfb6334aa0cc609
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
mpriyank [Wed, 4 Jan 2023 15:33:42 +0000 (15:33 +0000)]
XEE add more property
- adding few more properties to fix the problem
Issue-ID: CPS-1435
Change-Id: I2e952b38bae5dab396911ea1ce4a1125d0402369
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
mpriyank [Tue, 3 Jan 2023 14:17:36 +0000 (14:17 +0000)]
XXE prevention
- xml external entity prevention in the XmlFileUtils
- setting the features only once for the document builder factory
Issue-ID: CPS-1435
Change-Id: I06f9ac4bcdb0a90262f237489c6c50d8fde33c0d
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
mpriyank [Tue, 3 Jan 2023 11:41:07 +0000 (11:41 +0000)]
Minor documentation fix
- minor tag fix for param in documentation
Issue-ID: CPS-1435
Change-Id: I23ff1ebce54ee30cd84a58be0340ab41ad32b69a
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Toine Siebelink [Fri, 23 Dec 2022 14:40:44 +0000 (14:40 +0000)]
Merge "Fix SonarQube warnings"
ToineSiebelink [Fri, 23 Dec 2022 12:09:19 +0000 (12:09 +0000)]
Fix SonarQube warnings
- fixed most new warnings (required some rerfactoring and renaming)
- had to change method order (becasue private/public)
which loosk liek a big change because gerrit cannot match thee old/new correctly :-(
- some reformatting to improve readability
- used autoclosable fro streams
- use of deprecated ODL methods will be addressed by separate commit (Lee-Anjella)
Issue-ID: CPS-475
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I4b2f74492ac9e2c644659edab1e7ff05dddcbd20
Toine Siebelink [Fri, 23 Dec 2022 11:41:20 +0000 (11:41 +0000)]
Merge "Update Release Notes"
ToineSiebelink [Fri, 23 Dec 2022 11:07:42 +0000 (11:07 +0000)]
Update Release Notes
- Added CPS-1171 and others
- Corrected mistakes
Issue-ID: CPS-1171
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I30f51c1b295e2e28fa07a2174fcc2c5db761ce5e
ToineSiebelink [Fri, 23 Dec 2022 10:11:38 +0000 (10:11 +0000)]
Organize performance test
- Separated CpsPathUtil performance tests in dedicated file
- Used smaller sample to speed up CpsPathUtil test
- Increased margin on CpsModuleReferenceRepository performance test to rpevent accidental failures
- Added profiles to cps path parser module
- Use Regex to include any (future) perforamcne test using same naming
Issue-ID: CPS-1421
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I9da1614b6f067e946a4f088c6417479fa6c71988
Toine Siebelink [Thu, 22 Dec 2022 16:01:28 +0000 (16:01 +0000)]
Merge "Temp Table Creation improvements"
Toine Siebelink [Thu, 22 Dec 2022 15:46:16 +0000 (15:46 +0000)]
Merge "XML content on create anchors node support"
ToineSiebelink [Thu, 22 Dec 2022 14:47:07 +0000 (14:47 +0000)]
Temp Table Creation improvements
- 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
Toine Siebelink [Thu, 22 Dec 2022 15:12:50 +0000 (15:12 +0000)]
Merge "Add fix for posting nodes with xPath with '/'"
Michal Jagiello [Tue, 13 Dec 2022 07:40:19 +0000 (07:40 +0000)]
XML content on create anchors node support
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>
Toine Siebelink [Thu, 22 Dec 2022 12:22:19 +0000 (12:22 +0000)]
Merge "Consume Subscription Creation Event"
seanbeirne [Tue, 6 Dec 2022 11:12:18 +0000 (11:12 +0000)]
Consume Subscription Creation Event
Issue-ID: CPS-1392
Signed-off-by: seanbeirne <sean.beirne@est.tech>
Change-Id: I0a5a8c256319a1a2944ee6606db1c14b50e8f8e4
mpriyank [Thu, 22 Dec 2022 10:16:28 +0000 (10:16 +0000)]
CSIT fix to use correct lib
- 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>
emaclee [Wed, 21 Dec 2022 09:29:24 +0000 (09:29 +0000)]
Add fix for posting nodes with xPath with '/'
- 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
ToineSiebelink [Wed, 21 Dec 2022 09:29:54 +0000 (09:29 +0000)]
CpsPath Query Optimization
- 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
Joseph Keenan [Wed, 21 Dec 2022 11:42:39 +0000 (11:42 +0000)]
Merge "API versioning supported and added different versions for POST APIs"
ToineSiebelink [Tue, 20 Dec 2022 11:32:26 +0000 (11:32 +0000)]
Check preformance impacts
-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
ToineSiebelink [Mon, 19 Dec 2022 14:19:29 +0000 (14:19 +0000)]
Fix Delete uses case with '/' in path
-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
Toine Siebelink [Mon, 19 Dec 2022 14:22:09 +0000 (14:22 +0000)]
Merge "Use public exposed interface of CPS service instead of spi"
arpitsingh [Mon, 19 Dec 2022 06:42:26 +0000 (12:12 +0530)]
RTD Support for multiple data trees under 1 anchor
Signed-off-by: arpitsingh <as00745003@techmahindra.com>
Change-Id: Icab15ac79053f91b2a126f944fec86474c944f80
rajesh.kumar [Wed, 14 Dec 2022 08:13:29 +0000 (08:13 +0000)]
API versioning supported and added different versions for POST APIs
Issue-ID: CPS-1189
Change-ID: I73f97f986a817d423f92f8d922dcd9647b1214aa
Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
sourabh_sourabh [Thu, 15 Dec 2022 17:16:04 +0000 (17:16 +0000)]
Use public exposed interface of CPS service instead of spi
- 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>
Toine Siebelink [Fri, 16 Dec 2022 09:15:34 +0000 (09:15 +0000)]
Merge "CPS-341 Support for multiple data tree instances under 1 anchor"
Matthew Watkins [Thu, 15 Dec 2022 17:03:16 +0000 (17:03 +0000)]
Chore: Update robot-framework scripts to use Python3.10
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
arpitsingh [Thu, 13 Oct 2022 21:12:43 +0000 (02:42 +0530)]
CPS-341 Support for multiple data tree instances under 1 anchor
- 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>
Joseph Keenan [Thu, 15 Dec 2022 09:54:52 +0000 (09:54 +0000)]
Merge "Query Optimization"
Toine Siebelink [Thu, 15 Dec 2022 08:36:01 +0000 (08:36 +0000)]
Merge "Analyze outdated CPS Dependencies"
leventecsanyi [Wed, 7 Dec 2022 15:22:39 +0000 (16:22 +0100)]
Analyze outdated CPS Dependencies
- Added guava & postgres dependency update
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
Change-Id: I28dab7c083330fff704d5e438566878f78eb53f9
Issue-Id: CPS-1408
Toine Siebelink [Tue, 13 Dec 2022 11:08:25 +0000 (11:08 +0000)]
Merge "Fixing SonarQube violations"
ToineSiebelink [Mon, 12 Dec 2022 17:39:26 +0000 (17:39 +0000)]
Query Optimization
- 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
Toine Siebelink [Mon, 12 Dec 2022 16:09:21 +0000 (16:09 +0000)]
Merge "Fix DataNodeBuilder for ChoiceNodes"
Lena Peuker [Tue, 29 Nov 2022 14:38:00 +0000 (15:38 +0100)]
Fix DataNodeBuilder for ChoiceNodes
Fix implemented to handle YangChoiceNode in right format
Issue-ID: CPS-1352
Signed-off-by: Lena Peuker <PeukerL@telekom.de>
Change-Id: I48d433bac96cfc647bc31c82817870995bace860
leventecsanyi [Mon, 12 Dec 2022 13:07:23 +0000 (14:07 +0100)]
Increase performance test margins
- Increased duration times
Issue-Id: CPS-1420
Change-Id: I510801a65194b63ce72a716ee3fc7258aef61207
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
leventecsanyi [Thu, 8 Dec 2022 13:49:29 +0000 (14:49 +0100)]
Fixing SonarQube violations
- Code smell fixes
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
Issue-ID: CPS-475
Change-Id: I4b47ece82aed7e4b31aaa28e601e419fb6f06718
lukegleeson [Fri, 9 Dec 2022 15:48:55 +0000 (15:48 +0000)]
RTD Release Notes get all schema sets
Issue-ID: CPS-1187
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: Ic175350593b8be8671dce52fa8ccbe05820a86d5
Toine Siebelink [Fri, 9 Dec 2022 15:33:12 +0000 (15:33 +0000)]
Merge "Added API to get all schema sets for a given dataspace."
rajesh.kumar [Wed, 14 Sep 2022 05:11:32 +0000 (05:11 +0000)]
Added API to get all schema sets for a given dataspace.
Issue-ID: CPS-1187
Change-ID: I73f97f986a817d423f93a8d922dcd9647b0914aa
Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
Sourabh Sourabh [Thu, 8 Dec 2022 10:55:49 +0000 (10:55 +0000)]
Merge "Fix SonarQube Violations"
Toine Siebelink [Thu, 8 Dec 2022 08:32:25 +0000 (08:32 +0000)]
Merge "Chore: Re-instate robotframework-requests==0.9.3"
Matthew Watkins [Wed, 7 Dec 2022 13:30:09 +0000 (13:30 +0000)]
Chore: Re-instate robotframework-requests==0.9.3
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
Toine Siebelink [Wed, 7 Dec 2022 09:56:43 +0000 (09:56 +0000)]
Merge "Update outdated dependencies"
Toine Siebelink [Tue, 6 Dec 2022 10:10:23 +0000 (10:10 +0000)]
Merge "Enhance read performance tests"
Toine Siebelink [Tue, 6 Dec 2022 10:07:49 +0000 (10:07 +0000)]
Merge "Upgrade Open daylight yang tool to version 8.0.6"
emaclee [Tue, 22 Nov 2022 16:04:14 +0000 (16:04 +0000)]
Upgrade Open daylight yang tool to version 8.0.6
- 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
leventecsanyi [Mon, 5 Dec 2022 16:14:35 +0000 (17:14 +0100)]
Fix SonarQube Violations
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
Issue-ID: CPS-475
Change-Id: Ic5c83cf2952c649fb634c6a1660696e7575cc1c7
leventecsanyi [Thu, 1 Dec 2022 16:20:11 +0000 (17:20 +0100)]
Update outdated dependencies
- 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
ToineSiebelink [Thu, 1 Dec 2022 11:27:22 +0000 (11:27 +0000)]
Enhance read performance tests
- 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
Toine Siebelink [Fri, 2 Dec 2022 09:18:50 +0000 (09:18 +0000)]
Merge "Filter on private properties of CM Handles"
leventecsanyi [Wed, 26 Oct 2022 08:44:08 +0000 (10:44 +0200)]
Filter on private properties of CM Handles
- 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>
seanbeirne [Thu, 24 Nov 2022 11:01:22 +0000 (11:01 +0000)]
Documentation update for enabled dataspace filter
Issue-ID: CPS-1361
Signed-off-by: seanbeirne <sean.beirne@est.tech>
Change-Id: I988350289a02e44515aeb2acfe6a83845d66e0d9
Matthew Watkins [Thu, 24 Nov 2022 09:22:55 +0000 (09:22 +0000)]
Fix: Update python environment to ROBOT3_VENV
Issue-ID: RELENG-4523
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Change-Id: Id5ea08481bdf14cce149f047d7cd5b8d8254d200
Matthew Watkins [Wed, 23 Nov 2022 14:31:40 +0000 (14:31 +0000)]
Fix: Call source_safely after function declaration
Issue-ID: RELENG-4523
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Change-Id: Id74b1f24655a83f68b5f28c9eab68bb069f0bc74
Toine Siebelink [Tue, 22 Nov 2022 17:09:45 +0000 (17:09 +0000)]
Merge "Performance Test settings exploration"
Sourabh Sourabh [Mon, 21 Nov 2022 13:26:49 +0000 (13:26 +0000)]
Merge "Added get APIs for dataspace."
seanbeirne [Fri, 18 Nov 2022 16:22:53 +0000 (16:22 +0000)]
Performance Test settings exploration
Issue-ID: CPS-1351
Signed-off-by: seanbeirne <sean.beirne@est.tech>
Change-Id: I91624b74fc712078a22b9dc18851ca0b5de6a911
rajesh.kumar [Tue, 6 Sep 2022 11:47:18 +0000 (11:47 +0000)]
Added get APIs for dataspace.
Issue-ID: CPS-1186
Change-ID: I73f97f986a817d423f93a8d922dcd9647b0829aa
Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
Matthew Watkins [Fri, 18 Nov 2022 00:39:39 +0000 (16:39 -0800)]
Fix: Swap prepare-csit.sh to Python3 robot framework
Issue-ID: RELENG-4523
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Change-Id: I246f9f76996943826afc7d05796e6ddc5c0de6dc
Toine Siebelink [Fri, 18 Nov 2022 00:23:32 +0000 (00:23 +0000)]
Merge "Revert Hack to get CSIT test working Reverted to using ROBOT3_VENV (tetsing CI-mgmnt uodate)"
Matthew Watkins [Thu, 17 Nov 2022 22:55:28 +0000 (14:55 -0800)]
Fix: Swap run-csit.sh to Python3 robot framework
Issue-ID: RELENG-4523
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Change-Id: I15ad8a147a669c503ea023f79cef101baf99c21f
ToineSiebelink [Wed, 16 Nov 2022 18:50:46 +0000 (10:50 -0800)]
Revert Hack to get CSIT test working
Reverted to using ROBOT3_VENV (tetsing CI-mgmnt uodate)
Issue-ID: RELENG-4523
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I1e8ae6cba2b303042d9f22e1601e9846ebd2f7bf
Sourabh Sourabh [Wed, 16 Nov 2022 09:41:14 +0000 (09:41 +0000)]
Merge "Query data NCMP-Operational with CPSpath"
lukegleeson [Thu, 20 Oct 2022 09:14:00 +0000 (10:14 +0100)]
Query data NCMP-Operational with CPSpath
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
mpriyank [Mon, 14 Nov 2022 15:04:33 +0000 (15:04 +0000)]
Upgrade testcontainers to 1.17.3
- upgrade the testcontainer version to run the integration tests
Issue-ID: CPS-1360
Change-Id: Ia84ebd68a10c72405d8038dbc30a12c97d37f188
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Toine Siebelink [Fri, 11 Nov 2022 14:17:34 +0000 (14:17 +0000)]
Merge "Node API - Find root by anchor method performance"
Toine Siebelink [Fri, 11 Nov 2022 14:16:46 +0000 (14:16 +0000)]
Merge "HTTP error code 500 changed to 400 for invalid JSON payload"