aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2022-10-04Add maven stage YAML for 3.1.4mpriyank1-0/+4
- Step 5 of the release process to add maven stage file for 3.1.4 Issue-ID: CPS-1296 Change-Id: Ie107d08f9b0db4fcd783c06fdc0448d96b57e166 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-10-04Merge "Async External Schema and related Read the doc"Toine Siebelink2-0/+236
2022-10-04Tests added for multiple data tree analysisemaclee4-0/+122
**this commit is for analysis purposes only, not for merge - add unit test for gson JSONreader - add unit test for ODL JsonParserStream Issue-ID: CPS-1286 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: Ia4a8c3e36f83b4cd857b4ff20f6a37e418ffd2ec
2022-10-03Remove NotNull on revision for YangResourceEntitylukegleeson2-1/+1
Issue-ID: CPS-1265 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Icfe4d9881a3aa7d92d5bd17eaaed91bdbce0a203
2022-10-03Swallow kafkaExceptionmpriyank3-2/+21
- swallow the kafka exception if we are unable to send the kafka message due to any reason. - updated release notes as well Issue-ID: CPS-1294 Change-Id: Iaa8ae5b0bc289d819a46b4a95a1382f4ecee66aa Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-30Bump CPS to 3.1.4-SNAPSHOTmpriyank19-19/+43
- bumping the cps version from 3.1.3-SNAPSHOT to 3.1.4-SNAPSHOT - Also updated the release notes to accomodate 3.1.4 version changes Issue-ID: CPS-1313 Change-Id: I487ab4301123cce6afb5a4086b8ebca24acf5e14 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-30Async External Schema and related Read the docJosephKeenan2-0/+236
-updated cps-events to include schema and related information for async operations Issue-ID: CPS-1166 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: I1d40b5dd650663c1089119a60304b0490dedb8e1
2022-09-29CPS container 3.1.3 yamlmpriyank1-0/+8
- Add container yaml for cps 3.1.3 Issue-ID: CPS-1296 Change-Id: I6be3ebbdce8789fd6fc82203085b0184e58f96a6 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-29CPS 3.1.3 maven yamlmpriyank1-0/+4
- Add cps maven stage file for 3.1.3 Issue-ID: CPS-1296 Change-Id: I5956c8ce62c88b5c7abf5726e011e9237a77d3bb Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-29Disable maven skip deploympriyank2-3/+27
- disabling the maven.deploy.skip to false - disabling the maven.install.skip to false - also added the release notes Issue-ID: CPS-1309 Change-Id: I6047c859b68db0a4b49da7b45bcb6b89535ce153 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>