summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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
2022-10-27Read Performance Improvement - Using Native QueryToineSiebelink11-88/+238
- Native query for FragmentExtracts - Convert FragmentExtracts to tree of FragmentEntity - Native Query now used for all Gets with descendants (orignal hibernate option only used when descendanst ommited) - Added error handling for not-found on native query - Ommit descendants by default on many udpate use-cases (this might have a signifcant perf. improvemnt impact too) - Improved legacy tests for delete use-cases - Corrected performace test expectation - Fix TTL test realizing TTL resolution is whole seconds! Issue-ID: CPS-1301 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I658ac1b7b7036f01050f30bdf9e5bd175725ef1d
2022-10-27Updating CSIT DMI Snapshot versionToineSiebelink2-3/+3
Update default and DMI_VERSION property in test.prooerties Issue-ID: CPS-1353 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ibe56f85fb047aca1d10e0d61a521c7448bd4306b
2022-10-27Merge "Release Notes Heading Edit"Toine Siebelink1-0/+4
2022-10-27Release Notes Heading Editseanbeirne1-0/+4
Issue-ID: CPS-1321 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: Id2371a744ae216a5e7b2c1a50c88ad68d5883b5b
2022-10-26Merge "[NCMP] Add Basic Auth to OpenAPI Definitions"Toine Siebelink7-1/+45
2022-10-26Creation of DataNodeBuilder with module name prefix is very slowToineSiebelink10-14/+275
- Created a new hazelcast distributed cache for anchor data config use cases. - Module name prefix is added for root data node only. - Cached module name prefix by anchor name on demand from database at first call. - Introduced a new cache holder to have module name prefix of diff. levels. Issue-ID: CPS-1326 Change-Id: I9072f5efdeea59843cd827ac556d3c0547a3a0cf Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-10-24[NCMP] Add Basic Auth to OpenAPI DefinitionsJosephKeenan7-1/+45
-Adding basic auth to OpenAPI definitions Issue-ID: CPS-1350 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: Iab677f2abc07eed8c3e2910191b15ba27028ee88
2022-10-20CPS Validator Changeslukegleeson26-611/+266
Changed CPS Validator from static to non-static Moved CPSValidator implementation to rest interface layer to prevent duplicated usage Created CPSValidator interface in persistence layer Removed unnecessary tests Refactored misplaced tests Copyright fixes Copyright Check Script output formatting fix Issue-ID: CPS-1228 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I4c99a51870e7d3b8e416bc1f909aeed5dc3baa42
2022-10-20Merge "Improve code coverage"Toine Siebelink7-63/+40
2022-10-19Merge "Increase read time of get datanode test"Toine Siebelink1-2/+2
2022-10-19Improve code coverageleventecsanyi7-63/+40
- Fixed and refactored unit test to get over the 97% coverage baseline. - Removed unused exception. Issue-ID: CPS-475 Change-Id: I6dbcba58b880a584f6d9346e2aca6c763e5d2081 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2022-10-18Increase read time of get datanode testlukegleeson1-2/+2
Build was failing locally for me with development applications open (intellij, chrome, etc...) After discussion with Toine we are prioritising performance test pipeline with suggested increase from 3.5 seconds to 6 seconds. Issue-ID: CPS-1171 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I335fda7ba19b1fb8f4aa543833df65de26d9ccc3
2022-10-18CPS upgradeability doc correctionseanbeirne1-2/+2
Issue-ID: CPS-1312 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I5f35dc4a13b1898638246ebb91726c5487cbef57
2022-10-18Merge "Fix SonarQube Violations"Joseph Keenan2-1/+3
2022-10-17Merge "Node API - GET Method performance issue (disable sql logging)"Sourabh Sourabh1-0/+1
2022-10-17Bump the minor CPS versionmpriyank18-19/+19
- Bumped the CPS version from 3.1.5-SNAPSHOT to 3.2.0-SNAPSHOT - Step 11 of the release process. Issue-ID: CPS-1318 Change-Id: I0dce0070afcc019d2562c2f3ab9fe02207dcd86b Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-10-17Fix SonarQube Violationsleventecsanyi2-1/+3
- Fixed SonarCube issue: added private constructor to TopicValidator and a unit test. Issue-ID: CPS-475 Change-Id: I4379522f023f32c8999a3ee595392bfbab147050 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2022-10-17Node API - GET Method performance issue (disable sql logging)JosephKeenan1-0/+1
Reviewers: Toine, Sourabh, & Priyank Issue-ID: CPS-1171 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: Ifc5c9c57c3e8bad15780c8cac09dcd3eea05df94
2022-10-17Merge " Node API - GET Method performance issue (junit)"Toine Siebelink1-0/+89
2022-10-17 Node API - GET Method performance issue (junit)JosephKeenan1-0/+89
Reviewers: Toine, Sourabh, Levente Issue-ID: CPS-1171 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: I8e59d686ead079d751a459c5933592423aa15ace
2022-10-14Merge "TTL for module and data sync"Sourabh Sourabh5-17/+53
2022-10-14Merge "Default CMHandles to READY during upgrade"Toine Siebelink2-7/+141
2022-10-13TTL for module and data syncmpriyank5-17/+53
- Added configurable ttl parameters for module sync and data sync in the application yaml - Changing strategy to set the TTLs now. Its been set for each key at the inserting time only for both the maps. - Added test scenarios to verify the configs and the TTLs. Issue-ID: CPS-1288 Change-Id: I0a95cbd1a3e540ff15e23027e79e07e9a26f4c19 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-10-13Merge "Fix Id-searches endpoint performance degradation"Toine Siebelink9-53/+191
2022-10-12Release notes updateslukegleeson1-6/+20
Update release 3.1.5 to 3.2.0 Document Upgrade/Downgrade limitations Add CPS endpoint user stories Issue-ID: CPS-1329 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Iaacd6095a8df7639cc276e84ca938e90a7768621
2022-10-12Fix Id-searches endpoint performance degradationkissand9-53/+191
- create more flexible control over fetch descendants - add a new FETCH_DIRECT_CHILDREN_ONLY option to fetch descendants options - enabel create custom fetch descendants option Reviewer: Toine, Joe, Priyank Issue-ID: CPS-1216 Change-Id: I900b32e813367aa9566c1dec986b20f009d27203 Signed-off-by: kissand <andras.zoltan.kiss@est.tech>
2022-10-12Default CMHandles to READY during upgradelukegleeson2-7/+141
Allows upgrade from liquibase changelog 11 to 16 Sets CMHandles which do not have a state to state READY Issue-ID: CPS-1312 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I6b6b05ba6fad3d174e43e9c385cbc1f9f4e4e5e5
2022-10-07Merge "Tests added for multiple data tree analysis"Toine Siebelink4-0/+122
2022-10-05Make CPS/NCMP upgradeablelukegleeson5-2/+22
Liquibase step to add CM Handle Advised state to existing CM Handles Issue-ID: CPS-1312 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I8077e66c64946f6ce092daa96ee40cd935fe0b72
2022-10-05Bump CPS version to 3.1.5-SNAPSHOTmpriyank19-19/+43
- Bumped the version to 3.1.5-snapshot and updated the version properties file Issue-ID: CPS-1325 Change-Id: I61848166b94a5ce14651f2d0fe42e4cc39f5c5e2 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-10-04Add container YAML for 3.1.4mpriyank1-0/+8
- Step 6 of the release process to add container YAML for 3.1.4 Issue-ID: CPS-1296 Change-Id: If028a36028dbfe83b135ee7be227e5b611466dba Signed-off-by: mpriyank <priyank.maheshwari@est.tech>