summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2022-09-29Bump CPS to 3.1.3-SNAPSHOTmpriyank18-18/+18
- update cps to 3.1.3-SNAPSHOT Issue-ID: CPS-1309 Change-Id: I43b1442533d10c32a74808830239e83f4abed9c0 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-283.1.2 container yaml CPSmpriyank1-0/+8
- add container yaml for cps to release docker image Issue-ID: CPS-1296 Change-Id: I39f536dde743fdca4febf427d19aac411d839324 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-283.1.2 maven stage yaml CPSmpriyank1-0/+4
- Add maven stage file for 3.1.2 to release maven artifacts. Issue-ID: CPS-1296 Change-Id: I736070d4e9b0f24f24e713aee4d5f91fb3568d87 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-28Prep for 3.1.2 of CPSmpriyank19-19/+43
- updated release notes - bumbed cps version to 3.1.2-SNAPSHOT from 3.1.1-SNAPSHOT Issue-ID: CPS-1304 Change-Id: Ie65f76032b087dffc716e00fa3868f89f165a6b1 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-283.1.1 container yaml for CPSmpriyank1-0/+8
- Added container yaml for CPS for the build https://jenkins.onap.org/job/cps-maven-docker-stage-master/707/ Issue-ID: CPS-1296 Change-Id: I9f83afc0d848074d792b9a2bee854f3c37fe7449 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-283.1.1 maven stage YAML for CPSmpriyank1-1/+1
- modified maven stage yaml as per build https://gerrit.onap.org/r/c/cps/+/130810 Issue-ID: CPS-1296 Change-Id: Ie85ae707354af6ebf75451682d47dfe0fa9fd4f4 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-27Fix security bug in logslukegleeson3-26/+65
When a method with signature containing "AuthPassword" is passed, the value returned is changed to *********** in logs e.g... Execution time of : DmiProperties.getAuthPassword() with argument[s] = *********** ... Legacy code cleaning also included Issue-ID: CPS-1226 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Ic4914eae7e5ed6d361287413d17abfe50a3788ae
2022-09-263.1.1 release notes sectionmpriyank1-0/+24
- CPS release notes section. Issue-ID: CPS-1302 Change-Id: Ie11500a12288f2f1dd6799604a13e839ecff300e Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2022-09-23Add maven stage yaml for CPS-Corempriyank1-0/+4
- Add new maven stage file to update version from 3.1.0 to 3.1.1 Issue-ID: CPS-1296 Change-Id: I9936493cef19c17f5014990ec0e73d9ad46b5603 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>