aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-12-03Updated defaultbranch for Oslompriyank1-2/+1
- changed defaultbranch from master to oslo Issue-ID: CPS-2488 Change-Id: If843efc62045bdf9fd90404c9f28dcdb864ac975 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-11-29Bump CPS to 3.5.6-SNAPSHOTegernug23-23/+54
Issue-ID: CPS-2488 Change-Id: Ib17e4283de959ec4aab3c68bb3ba8018a10a10b2 Signed-off-by: egernug <gerard.nugent@est.tech>
2024-11-29Merge "Container yaml for 3.5.5"Priyank Maheshwari1-0/+8
2024-11-29Container yaml for 3.5.5egernug1-0/+8
Issue-ID: CPS-2488 Change-Id: Ie09e3239e1bcb1878b43f8201595f0aea175bfa9 Signed-off-by: egernug <gerard.nugent@est.tech>
2024-11-29maven stage yaml for 3.5.5egernug1-0/+4
Issue-ID: CPS-2488 Change-Id: I04d65ba05e24b64932c887eea039f3ab05157702 Signed-off-by: egernug <gerard.nugent@est.tech>
2024-11-29Merge "Update release notes for OSLO"Daniel Hanrahan2-1/+15
2024-11-29Update release notes for OSLOmpriyank2-1/+15
- Added release notes for the features that were delivered in 3.5.5 version of CPS Issue-ID: CPS-2488 Change-Id: I31e863430a5aff41814bed0a4d39ef8546b8e617 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-11-29Merge "XML content support on Replace list content"Priyank Maheshwari10-21/+103
2024-11-28Merge "De-Registration without Orphaned Module Check"Toine Siebelink10-16/+119
2024-11-28De-Registration without Orphaned Module CheckToineSiebelink10-16/+119
- Testware updates to measure time spent for de-registration - Removed orphan check from module delete methods - Using @scheduled to run Db Cleaner method once (see https://lf-onap.atlassian.net/wiki/spaces/DW/pages/52494359/CPS-2478+Module+Sync+Inefficiencies#De-Registration:-Test-Measurements-With-and-Without-Orphanage-removal for reasoning) - Updated integration tests to call orphan check where need (after schema set deletion) Issue-ID: CPS-2478 Change-Id: I513af9d8bb88486a242284b58e0363a527346dd4 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2024-11-28XML content support on Replace list contentRudrangi Anupriya10-21/+103
Here to bring Support for XML Response Entity in Replace List content - Add ContentTypeInheadr in cpsData.yml to support application/xml - Add contentTypeInHeader parameter to accept xml in DataRestController.java - Modify the code return xml Data - written testcase for above changes made Issue-ID: CPS-2411 Change-Id: Ibb7ffb66ccdd03703266123c6d5c2eade0e7cb4a Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
2024-11-27Minor refactor of CPS rest controllerdanielhanrahan1-12/+3
Use streams to simplify logic Issue-ID: CPS-2416 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I1c37ac9c2fa7543e94f8cd60447f4a879a7376f7
2024-11-27Merge "Implement ancestor axis in SQL"Priyank Maheshwari4-62/+90
2024-11-27Merge "Catch data validation exception in dmi data operation"Daniel Hanrahan2-7/+12
2024-11-27[CPS] Reverted ncmp-dmi-plugin version to latestsourabh_sourabh2-2/+2
- Reverted DMI_VERSION to latest Ncmp-dmi-Plugin 1.6.0-SNAPSHOT-latest for CSIT. - Corrected dmi-stub docker image name from "dmi-plugin-demo-and-csit-stub" to "dmi-stub" Issue-ID: CPS-2499 Change-Id: I99087b7230a40e958b3b789549a4a8e4c9dd0341 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-11-26Implement ancestor axis in SQLdanielhanrahan4-62/+90
Currenty ancestor axis is implemented in Java using regex, which then sends a second SQL query to fetch ancestors. Implementing ancestor axis in SQL is more efficient, and is needed for limiting/paginating Cps Path Query results. Issue-ID: CPS-2416 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I0d8933f86c5a422f366ad7c417a17e263a13960f
2024-11-26Don't handle root xpath in getFragmentEntitydanielhanrahan3-18/+5
getFragmentEntity is an internal method only used for resovling parent xpaths. The root xpath handling is never reachable. - Remove root xpath handling in getFragmentEntity - Clean up unneeded FragmentRepository code Issue-ID: CPS-2511 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I910065bdb2e7c5fbb7c67af87f3f68af6c0fd4e0
2024-11-26Merge "[Cps Path Parser] Don't quote numbers in comparison"Lee Anjella Macabuhay2-10/+14
2024-11-25CpsDataPersistenceService refactoringdanielhanrahan1-197/+174
- Extract common code to reduce duplication. - Move private methods below public methods, and move private static methods to bottom of file. - Note some private methods are left in-place due to checkstyle rules (method overloads belong together). Issue-ID: CPS-2365 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I088a5340e315d55aaf427444bdbfdcadf918464a
2024-11-25[Cps Path Parser] Don't quote numbers in comparisondanielhanrahan2-10/+14
Presently, Cps Path Parser will wrap numbers in quotes when normalizing or getting parent path, which can lead to invalid paths. For example: /books[@price > 15] will be normalized to: /books[@price>'15'] This causes trouble when running queries on normalized paths: (CpsPathException: "can use only > with integer") Note this patch will still normalize numbers to string for equality: /books[@price='15'] Much existing code relies on this, and it does not cause problems. Issue-ID: CPS-2365 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I15d326ad7db2311b64c636283a4d52623a125176
2024-11-25Catch data validation exception in dmi data operationseanbeirne2-7/+12
Issue-ID: CPS-2510 Change-Id: I4093459c824c202dc8dec4b869e338d4b80fbac8 Signed-off-by: seanbeirne <sean.beirne@est.tech>
2024-11-25Registration Optimization remaining Code CommentsToineSiebelink5-9/+6
Issue-ID: CPS-2478 Change-Id: I0aa3804225f053ff99176056fe71322a23cff31c Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2024-11-22Define new Suite (js): Endurancehalil.cakal6-139/+218
- have one ncmp-test-runner.js with different configs: kpi.json and endurance.json - move scenarios and thresholds settings into the json configs Issue-ID: CPS-2444 Change-Id: I72f65036dc3f7762284b32903e1d05474dbed6c2 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-11-22Make Content-Type header default to JSON for CPS APIsdanielhanrahan5-41/+73
Recent changes for XML support have made Content-Type header mandatory, where before it was not. This change makes CPS default to JSON if Content-Type is not specified. Issue-ID: CPS-2517 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ic3718bfe7aedd6fe9dbd978f520179b184c9c932
2024-11-21Merge "Prioritize cm handle ids over alternate ids in data operations"Daniel Hanrahan5-8/+43
2024-11-21Prioritize cm handle ids over alternate ids in data operationsToineSiebelink5-8/+43
Issue-ID: CPS-2510 Change-Id: I7068d0de45cc2c2e5d8815f0e78c260369f3551e Signed-off-by: seanbeirne <sean.beirne@est.tech> Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2024-11-21Add Rest tests for yang module APIsdanielhanrahan1-0/+101
Add tests of following rest endpoints, including error scenarios: - /ncmp/v1/ch/${cmHandleReference}/modules - /ncmp/v1/ch/${cmHandleReference}/modules/definitions Change-Id: Ia4b5a638345840970794c7ae93dfd44e5ea62252 Issue-ID: CPS-2509 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
2024-11-21Merge "Add new k6 test profile for running edurance tests"Daniel Hanrahan9-38/+86
2024-11-21Merge "Upgrade liquibase to version 4.30.0"Toine Siebelink1-2/+2
2024-11-21Upgrade liquibase to version 4.30.0emaclee1-2/+2
Issue-ID: CPS-2507 Change-Id: I8057d41ea14719a737554d9cc53e342e4eeec6c6 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2024-11-21[BUG] Fix for module endpoints using alternate IDdanielhanrahan1-7/+21
The endpoints for fetching modules and module definitions previously returned empty result if a CM handle was not found or not ready. Recent changes for alternate ID have changed the behaviour so it returns an error instead. This restores original behaviour by swallowing the exception. Change-Id: I63091d04d171e6f4ac6ad1c44b359b9a0c4b8f65 Issue-ID: CPS-2509 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
2024-11-20Update error response for ncmp endpointsseanbeirne17-42/+82
Issue-ID: CPS-2386 Change-Id: I0d1f09cff202e055be255b365fc2271a5ee43b37 Signed-off-by: seanbeirne <sean.beirne@est.tech>
2024-11-20Revert "Update error response for ncmp endpoints"ToineSiebelink15-78/+38
This reverts commit 7e6fee9321e4f13cc4a0d81f83fc3693309cb5d7. Reason for revert: This patch is causing blocking issues at ESH see CPS-2509 Issue-ID: CPS-2509 Change-Id: Ie1bd26ccca4abcac09faf35e2b97491dab32b14d Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2024-11-19Merge "Test to highlight ModuleSetTag Inefficiencies"Sourabh Sourabh17-89/+345
2024-11-18Merge "Update documentation to reflect changes made to rest endpoints"Priyank Maheshwari2-5/+16
2024-11-18Update documentation to reflect changes made to rest endpointsseanbeirne2-5/+16
Issue-ID: CPS-2505 Change-Id: I503960e3b093a0e83754132db49cae1aa48690e9 Signed-off-by: seanbeirne <sean.beirne@est.tech>
2024-11-18Merge "Update error response for ncmp endpoints"Priyank Maheshwari15-38/+78
2024-11-18Add new k6 test profile for running edurance testshalil.cakal9-38/+86
- assign a profile name to the existing k6 tests (kpi) - add control which profile is run using k6 config file - both test profiles can run in parallel Issue-ID: CPS-2464 Change-Id: I9fea13f12e2da46bd55b4315c68209843c1abe06 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-11-18Update error response for ncmp endpointsseanbeirne15-38/+78
Issue-ID: CPS-2386 Change-Id: Ib4f37858f5f107e350a13e4bf7ed93493864ce60 Signed-off-by: seanbeirne <sean.beirne@est.tech>
2024-11-18Test to highlight ModuleSetTag InefficienciesToineSiebelink17-89/+345
- Add (micrometer) instrumentation to expose inefficiencies - Add test config for micrometer - Add setup methods in base to create many cm handles - Set module sync parallelism to 2 for testing - Add clean up methods for hazelcast related tests - added test to show inefficiencies - POC 1 use hazelcast set to prevent multiple threads working on same ModuleSetTag - POC 2 'cache' module set tags per thread to prevent DB looks ups - Main inefficiency left: create schemaset for EACH cm Handled even if same tag. No easy PoC... Change-Id: Idf46b44c475a24727dd7084bb613459f4c29be55 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2024-11-17XML content support for only cps Query v2Rudrangi Anupriya6-58/+133
Here to bring Support for XML Response Entity in query data nodes - Add ContentTypeInheadr in cpsQueryV2.yml to support application/xml - Add contentTypeInHeader parameter to accept xml in QueryRestController.java - Implement logic to convert data to xml - written testcase for above changes made Issue-ID: CPS-2359 Change-Id: Ieb7eeb66ccbb03703626132c6d5c2eade0e7cb4b Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
2024-11-15[k6] Lower load for legacy async batch operation testdanielhanrahan2-3/+2
Legacy async batch operation test is failing and reporting zero as result due to timeouts in the test. - Lower total batch requests to 100 instead of 1000 - Limit the number of kafka messages per batch to 200 instead of 1000 to avoid timeout issues. Issue-ID: CPS-2274 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I06c04173ca1ed0f3580df6a73b5d647ab7ed0c71
2024-11-15Fixing dmi plugin version in NCMPmpriyank2-2/+2
- Fallback to previous stable version of NCMP in order to stabilize the CPS-NCMP CSIT issue so that we are not blocked in our development - Note : Issue at DMI plugin is still investigated Issue-ID: CPS-2503 Change-Id: I060c89e927465f16ef979e45f18f98fe605d5b7f Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-11-15Merge "Support alternate Id interface for ncmp inventory /ch/cmhandles endpoint"Priyank Maheshwari20-110/+158
2024-11-14Merge "[k6] Output git build info in k6 log"Toine Siebelink1-1/+6
2024-11-13Merge "Hashmark support in 3gpp objects"Toine Siebelink2-7/+12
2024-11-13[k6] Output git build info in k6 logdanielhanrahan1-1/+6
- output build info in k6 log using actuator endpoint - use quiet output while pulling images for less log noise Issue-ID: CPS-2445 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I4464b70650828c842c94677dddcc4d112f9758e0
2024-11-13Fix for cps-master-merge-java job after removing oParentsourabh_sourabh6-14/+38
- Added ecom repo. configuration into cps-aggregator - Explicitly set onap.nexus.url Issue-ID: CPS-2496 Change-Id: I010f97ea438bfbaa9cde81ef1a5cc9839b0d1121 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-11-13Fix for cps-master-merge-java job after removing oParentsourabh_sourabh8-6/+29
Issue-ID: CPS-2496 Change-Id: I94eef4006b8c96db2c9d350c3330edf98924099c Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-11-13Support alternate Id interface for ncmp inventory /ch/cmhandles endpointseanbeirne20-110/+158
Issue-ID: CPS-2481 Change-Id: I8a200495be1afb9a4f256127f886bed78c77f653 Signed-off-by: seanbeirne <sean.beirne@est.tech>