aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-01-22Merge "Remove Lambda & Restructure File"Lee Anjella Macabuhay3-309/+298
2024-01-22Merge "Use PollingConditions to improve intermittent test failure"Toine Siebelink1-10/+18
2024-01-19Merge "Remove onboarding of old solution subscription model"Priyank Maheshwari2-68/+0
2024-01-19Remove Lambda & Restructure Fileseanbeirne3-309/+298
-Removed Lambda from CompositeStateUtils -Restructured CpsDataPersistenceServiceImpl to more logical layout Issue-ID: CPS-1238 Change-Id: I09096dab474230d04b15c204cbea95a2f1285366 Signed-off-by: seanbeirne <sean.beirne@est.tech>
2024-01-18Remove onboarding of old solution subscription modelemaclee2-68/+0
-Remove onboarding of old subscription model -Remove initial solution subscription model Change-Id: Id930dcfd078d71e7c275d0a3ef1117f8fed2e9d3 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2024-01-18Merge "CPS Delta API: Update action for delta service"Toine Siebelink6-71/+261
2024-01-18Merge "Create datastores for NCMP w/subscription model"Priyank Maheshwari6-19/+74
2024-01-18Use PollingConditions to improve intermittent test failureJvD_Ericsson1-10/+18
Set timeOutInMilliSeconds to 100 (default was 0) Issue-ID: CPS-1950 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I0028f0cd5e5e89d979d4200df77dbd7a42105622
2024-01-18Merge "Remove deprecated cmSubscription code"Lee Anjella Macabuhay41-3322/+12
2024-01-17Create datastores for NCMP w/subscription modelemaclee6-19/+74
Issue-ID: CPS-2035 Change-Id: I80234c7ca93c5774ee50082803cdc102f693a5a7 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2024-01-17Remove deprecated cmSubscription codempriyank41-3322/+12
- Newer approach for cm subscription is in progress so removing the deprecated code now - Also deleted the old cache config - Changes to trust level csit to fix the kafka unknown partition issue Issue-ID: CPS-2028 Change-Id: Ieb19669e53f3f64cca876fa67d0b6409a97b2a09 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-01-17Clear instance based Schema Context Cache upon validation errorsToineSiebelink16-511/+650
- retry yang parser exceptions one time by clearing cache - split yangUtils into YangParserHelper (instance based) and YangUtils for non-parsering static methods - removed public methods only used from test. Refactored to use variation with (empty) parent path - removed use of optional for parentPath, easier to handle with just an empty string! - make methods no longer used in production code in YangUtils are private - udpate testware to use proper public methods instead of private methods of yang utils / parser (helper) Issue-ID:CPS-2000 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I0c7590a5e1495d047006e7136f1bd873be37f7b0
2024-01-16CPS Delta API: Update action for delta serviceArpit Singh6-71/+261
- Added code for Update action in Delta service - added method to get updated Leaf data: getUpdatedLeavesBetweenSourceAndTargetDataNode - added method to compare Leaf data common in source and target data node - added method to process leaves unique to target data node - added method to compare leaves: compareLeaves - added method to store updated data to a DeltaReport: addUpdatedLeavesToDeltaReport - Added corresponding testware Issue-ID: CPS-1824 Signed-off-by: Arpit Singh <as00745003@techmahindra.com> Change-Id: I3de07ea3227988784a0892f6a92c238ecf00a7fa
2024-01-16Add CSIT test for CPS Swagger UIhalil.cakal1-7/+17
- Test that CPS Swagerr UI is accessible. Issue-ID: CPS-1916 Signed-off-by: halil.cakal <halil.cakal@est.tech> Change-Id: Id8dba21f400412fc8b81892e29454f8606e53008
2024-01-15Testing for jenkins pluginemaclee1-1/+1
Issue-ID: CPS-1953 Change-Id: I3ee12576e75449c90c789de32a50f9b8e8757ff7 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2024-01-15Merge "Create tests for EventPublisher error scenarios"Toine Siebelink2-4/+124
2024-01-11Bump CPS to 3.4.3-SNAPSHOTdanielhanrahan25-26/+55
- bump CPS to 3.4.3-SNAPSHOT and update the docs Issue-ID: CPS-2026 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: If0036c6245ddbae2a401b712cc13e3208491ed2f
2024-01-11Add container yaml for CPS 3.4.2danielhanrahan1-0/+8
- added container yaml to release the docker images for CPS 3.4.2 Issue-ID: CPS-2026 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I6970a99894ceed26a982350663533cb344ec3e50
2024-01-11Add maven stage yaml for CPS 3.4.2danielhanrahan1-0/+4
- maven stage yaml to release 3.4.2 Issue-ID: CPS-2026 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ibe7d85c81383e678783c10383bf142523c8cdf51
2024-01-11Create tests for EventPublisher error scenariosJvD_Ericsson2-4/+124
- Added tests for error scenarios - Added tests for expected scenarios Issue-ID: CPS-1978 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I6ba19ac456098f074e634f7cf70fdc141491c635
2024-01-11Merge "Improve dmi plugin csit stub - Modified dmi plugin stub to return ↵Toine Siebelink14-56/+119
diff. modules based on cm handle id"
2024-01-11Update release notes for 3.4.2halil.cakal1-0/+1
- Add Trust Level epic to the release notes Issue-ID: CPS-2024 Change-Id: Ie5425bca6e3d48b957c703af50c7542c4401d1b4 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-01-11Improve dmi plugin csit stubsourabh_sourabh14-56/+119
- Modified dmi plugin stub to return diff. modules based on cm handle id Issue-ID: CPS-2006 Change-Id: I61a0fd11b8f41ceb69dac296ad3570b91137cdcd Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-01-11Merge "Enable hibernate write batching"Lee Anjella Macabuhay14-39/+133
2024-01-10Merge "Remove inefficient saveListElementsBatch API"Lee Anjella Macabuhay11-146/+44
2024-01-10Introduce cmSubscriptionEventCachempriyank7-1/+249
- inmemory datastructure to keep track of the ongoing subscriptions - Test cases to cover cache config and sample data test - Use of cache will be in other patchsets after this Issue-ID: CPS-2022 Change-Id: Ic6cd22cceaeacb9c7184f42c1ebfac28303f2c26 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-01-10Enable hibernate write batchingdanielhanrahan14-39/+133
- Implement fragment ID sequence generator with allocation size of 100 - Enable write batching for insert and update, with batch size of 100 - Write performance is over 2x faster Issue-ID: CPS-1795 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I7ebd0f834abb57c593603e2cd3fafc7e3425ab1e
2024-01-09Remove inefficient saveListElementsBatch APIdanielhanrahan11-146/+44
CpsDataService::saveListElementsBatch method is not needed as saveListElements supports saving multiple list elements in a single operation. This both simplifies implementation and greatly improves performance when saving list elements, as the Yang parser need only run once for the whole batch. - Change InventoryPersistence to save CM-handles in batches of 100 using existing CpsDataService::saveListElements method. - Remove not needed CpsDataService::saveListElementBatch. Issue-ID: CPS-2019 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I8b74dda2917e094d064b42f2c0e4d57029b90395
2024-01-08Clean up cps temporal related notification codeJvD_Ericsson9-363/+0
- remove 'test' level folder - remove schemas but leave structure - remove 'data-updated' from test application.yaml - remove NOTIFICATION_DATASPACE_FILTER_PATTERNS from docker-compose Issue-ID: CPS-2005 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I3962d795c760de6ba5ff353e85894895437ad5e7
2024-01-08Merge "Allow updating of cmHandles with an alternateId"Sourabh Sourabh2-4/+104
2024-01-08Allow updating of cmHandles with an alternateIdleventecsanyi2-4/+104
- added methods to update alternate id - fixed unit tests - added new unit test for coverage Issue-ID: CPS-1986 Change-Id: I9ef717c5f2c405482e0a5bb70f94f465ba1ff64f Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2024-01-05Merge "Normalize JSON attributes during update"Toine Siebelink3-15/+33
2024-01-05Merge "Add performance tests for saveListElements"Toine Siebelink1-14/+75
2024-01-05Merge "Amend http status for CM Handles Data Enpoints in Documentation"Sourabh Sourabh1-5/+5
2024-01-05Amend http status for CM Handles Data Enpoints in Documentationdavid.mcweeney1-5/+5
Change-Id: I4b2778e9e1107fc2934df292bee99d36030c8093 Signed-off-by: david.mcweeney <david.mcweeney@est.tech> Issue-ID: CPS-1998
2024-01-04Add performance tests for saveListElementsdanielhanrahan1-14/+75
Add performance tests for CpsDataService methods: - saveListElements - saveListElementsBatch Results show that saveListElementsBatch (used only by NCMP for saving CM-handles) has extremely poor performance compared to saveListElements, which is over 4x faster and uses less memory. Issue-ID: CPS-2019 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I89d634c69b3790f1e1a79e2ff5392db5a45c761b
2024-01-04Normalize JSON attributes during updatedanielhanrahan3-15/+33
This change fixes a few issues related to JSON encoding of FragmentEntity attributes (data leaves). This significantly improves update performance in cases of partial updates. - Normalize JSON and order leaves by name when comparing data leaves during update operations. - Update performance test timings. Issue-ID: CPS-2018 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ia764a353bf96c05758827845e1358745247ee237
2023-12-22CpsDataService Update performance testsdanielhanrahan1-42/+106
Test suite for CpsDataService update methods: - updateDataLeaves - updateDataNodeAndDescendants - replaceListContent Added JVM warmup for update tests Issue-ID: CPS-1674 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ia07d792bef63fbe2d376a16c210d9d0c4425e302
2023-12-22Fix performance tests after anchor/dataspace splitdanielhanrahan1-2/+2
CpsAdminService was split into CpsDataspaceService and CpsAnchorService. One test has incorrect changes. Issue-ID: CPS-871 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I8013c4d9d17a5846d183e1c06bc11fa5ef9b4c4d
2023-12-21Deprecate use of basic subscription modelseanbeirne16-22/+24
- Deprecate json files in resources Issue-ID: CPS-1973 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I3bf59807f740e3e6f19af0cf0d418edb4f961328
2023-12-20Bump CPS to 3.4.2-SNAPSHOTdanielhanrahan25-25/+54
- bump CPS to 3.4.2-SNAPSHOT and update the docs Issue-ID: CPS-2017 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iea58c1134bc9d25c76ef7ccc2c1d2de1c7aa0bfd
2023-12-20Add container yaml for CPS 3.4.1danielhanrahan1-0/+8
- added container yaml to release the docker images for CPS 3.4.1 Issue-ID: CPS-2017 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I3b2cd6bc16131506c482bb0ac78768b747b764c3
2023-12-20Add maven stage yaml for CPS 3.4.1danielhanrahan1-0/+4
- maven stage yaml to release 3.4.1 Issue-ID: CPS-2017 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I4c0006ff971ce5acb9c79ade67576ef33d06853b
2023-12-20Release notes and OpenAPI docs updated for 3.4.1danielhanrahan6-0/+153
- Update release notes - Update OpenAPI docs - Made RST files not executable Issue-ID: CPS-2017 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I85bd7cb68d960c9522b80048007cfe913cd49ed4
2023-12-20Documenting optional properties for the HTTP clientwaqas.ikram2-119/+132
Issue-ID: CPS-2016 Change-Id: Iae3d612548032dfbb4a7d4325eb3fbed4f20ab78 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2023-12-20Updating config variable names for HttpClientwaqas.ikram4-13/+18
for DMI Issue-ID: CPS-2016 Change-Id: Ief5428e6e4afc8309ceed2a8221365e2fab31686 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2023-12-19Deprecate use of basic subscription modelemaclee2-3/+79
- Checked all subscription related files and Removed use of basic subscription model as much as possible that will not break the entire code, other files still has references on it but will and shall be removed on further implementation of the subscription epic story - Created new YangModel Event (YangModelCmDataSubscriptionEvent.java)for the new model as changing the old one affects many files Issue-ID: CPS-1973 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I7d3866780261110d3bb71c4807f39edc2703d0dc
2023-12-19Improve naming of csit testJvD_Ericsson1-1/+1
Issue-ID: CPS-2002 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I7e6bfdad866fbf0dad442209f78e738bb056c5dc
2023-12-19Merge "Move mount node after cps test during CSITs"Toine Siebelink6-111/+161
2023-12-18Remove the dependency-cycle between beansToineSiebelink39-383/+552
- Splitting admin service into AnchorService and DataspaceService (this resolves the cyclic dependency) - Improved Delete dataspace integration error tests (were depending on execution order, now independent) Issue-ID: CPS-871 Change-Id: I47efedb6eb4bd2900f72d689616b7b7b62df2938 Signed-off-by: halil.cakal <halil.cakal@est.tech> Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>