summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-02-13Prefix with CmNotificationSubscription refactoringmpriyank6-36/+35
- event schemas are now suffixed with CmNotificationSubscription - testware updated appropriately Issue-ID: CPS-2091 Change-Id: I9d0c4bdfaf7ea94812d35b071824d0fb083aa845 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-02-13Merge "Update cm-data-subscriptions model"Lee Anjella Macabuhay6-12/+13
2024-02-13Merge "Add a configurable delay to the DMI stub"Sourabh Sourabh3-0/+29
2024-02-13Merge "Fix test failure by ordering leaf-lists"Priyank Maheshwari5-17/+51
2024-02-13Merge "Create schemas for notification service in cps-core"Priyank Maheshwari1-0/+61
2024-02-12Update cm-data-subscriptions modelmpriyank6-12/+13
- rename leaf-list subscribers to subscriptionIds - code using the same also updated - not creating a new version of model as nobody is using it at the moment Issue-ID: CPS-2088 Change-Id: I43d679047bdfc665b56f262757acc4bbaba2733f Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-02-12CmSubscription minor code refactoringmpriyank14-249/+126
- As per discusstion , refactoring the naming of the classes and caches - Combining the validation service with CmSubscriptionPersistence service - removed dmiCmNotificationScopeFilter class and the attributes are part of Predicates only Issue-ID: CPS-2078 Change-Id: Ic2b3ee28a150f3ae6e0911e88296f01e22604ef5 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-02-12Fix test failure by ordering leaf-listsdanielhanrahan5-17/+51
YANG specifies two ways that leaf-lists can be ordered: - ordered-by user: original order in JSON is preserved - ordered-by system (default): it is up to the system how to order For leaf-lists to preserve same order as the JSON, the Yang module must specify 'ordered-by user'. To ensure consistent behaviour even when system ordering is used, the leaf-list is sorted during parsing. - Add 'ordered-by user' to authors field in bookstore.yang - Sort leaf-list during parsing when using 'ordered-by system' - Add new tests to verify ordering Issue-ID: CPS-2057 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I6ab688ec2fa4a22182e853d1a8b26642f278c40a
2024-02-12Include integration test results in Jacocodanielhanrahan3-35/+15
integration-test module is not recording code coverage due to incorrectly overriding the maven surefire config from parent pom. Issue-ID: CPS-2086 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I774c64acedca546f5c01403597bd9f5010de73d2
2024-02-12Add a configurable delay to the DMI stubJvD_Ericsson3-0/+29
Added realistic default delay to application.yaml Added realistic default delay to docker-compose.yml Issue-ID: CPS-2053 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I756774e9538926aa341f1338fcb6882951ce3e69
2024-02-09Create schemas for notification service in cps-corerajesh.kumar1-0/+61
Add schema files for notification service Issue-ID:CPS-2066 Change-Id: I56c34400dc73c71b936a51260efd230205abbacd Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
2024-02-08Merge "Add CSIT test: Delete CM Handle"Toine Siebelink1-4/+16
2024-02-08Merge "Correct use of Spock setup and cleanup methods (no need for @Before ↵Toine Siebelink4-44/+13
@After)"
2024-02-08Merge "Revert "Introduce Hazelcast for alternateId-cmHandle relation pt. 2 - ↵Toine Siebelink8-136/+43
error collection""
2024-02-08Revert "Introduce Hazelcast for alternateId-cmHandle relation pt. 2 - error ↵Levente Csanyi8-136/+43
collection" This reverts commit 67681820f2a7fea88cbc6cbe5b3d483dae506d55. Reason for revert: does not work Change-Id: I92c063b59261d25774ee34664d834399c269f0c2 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2024-02-08Merge "Introduce Hazelcast for alternateId-cmHandle relation pt. 2 - error ↵Toine Siebelink8-43/+136
collection"
2024-02-08Introduce Hazelcast for alternateId-cmHandle relation pt. 2 - error collectionleventecsanyi8-43/+136
- added business logic to check duplicated ids (create and update scenarios) - added new unit test for CmHandleIdMapperSpec - added test for the new registration scenario Issue-ID: CPS-1988 Change-Id: I4bf2e25c87c57938d336f2fe70378b400bab07b0 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2024-02-08Correct use of Spock setup and cleanup methods (no need for @Before @After)ToineSiebelink4-44/+13
- unfortunately we copied the bad test code for logging about 4 times alraedy... - simplified setup for WatchdogSchedulingConfigurerSpec Issue-ID:CPS-465 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I8d068541263272fdf99a6e30d365d85e31726432
2024-02-08Merge "CmHandle delete is failing with InternalServerError: Null key is not ↵Toine Siebelink1-0/+9
allowed - add missing unit test"
2024-02-08Add alternateId to legacy lcm-eventJvD_Ericsson5-5/+26
Issue-ID: CPS-2039 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I03863e986ea6b847fd7d25e55a24f948ca9a983d
2024-02-07Merge "Replace sleep with PollingConditions"Toine Siebelink6-70/+86
2024-02-07Merge "Orphaned modules are removed from the DB before cmhandle removal"Toine Siebelink1-1/+1
2024-02-07Bump CPS to 3.4.4-SNAPSHOTdanielhanrahan25-25/+53
- bump CPS to 3.4.4-SNAPSHOT and update the docs Issue-ID: CPS-2077 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I1658c83642c8e64903f4bc03b74b6f5726d0227e
2024-02-07Add CSIT test: Delete CM Handlehalil.cakal1-4/+16
- Add new csit test to ncmp inventory Issue-ID: CPS-2073 Change-Id: Ie683f043b2dc1cc742945a4874f19688a8702009 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-02-07Add container yaml for CPS 3.4.3danielhanrahan1-0/+8
- added container yaml to release the docker images for CPS 3.4.3 Issue-ID: CPS-2077 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I2e0563a1942d571135ce688c1a339cd4a56f7458
2024-02-07Add maven stage yaml for CPS 3.4.3danielhanrahan1-0/+4
- maven stage yaml to release 3.4.3 Issue-ID: CPS-2077 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iaef72394a7ddc64999c95c96aed9873a6487be77
2024-02-07Update release notes for CPS 3.4.3danielhanrahan2-6/+39
- updated release notes for 3.4.3 - updated openapi files Issue-ID: CPS-2077 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I2ded94a243dbe93885525d73f90dde3dbbb79696
2024-02-07Replace sleep with PollingConditionsJvD_Ericsson6-70/+86
Issue-ID: CPS-1950 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I0e23c697ef6b5a134295728f352f2dff7be05a62
2024-02-07Orphaned modules are removed from the DB before cmhandle removalsourabh_sourabh1-1/+1
- changed sequence of delete schema set by cascade to remove unused yang resource modules at last. Issue-ID: CPS-2031 Change-Id: Icefc075165231cc4b9b170e04a2d12af645529e9 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-02-07CmHandle delete is failing with InternalServerError: Null key is not allowed ↵leventecsanyi1-0/+9
- add missing unit test Issue-ID: CPS-2064 Change-Id: If765c25cae8d69796fff219fc39ab27455bfd957 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2024-02-07Merge "Fix: Documentation for Delta Feature"Priyank Maheshwari1-0/+6
2024-02-06Merge "Add integration test for extending API: Get Module Definitions"Toine Siebelink10-45/+94
2024-02-06Merge "Add maven classifier to Spring Boot JAR"Lee Anjella Macabuhay2-1/+18
2024-02-06Merge "[BUG] Retry interval for kafka consumer"Toine Siebelink1-0/+3
2024-02-06Fix: Documentation for Delta FeatureArpit Singh1-0/+6
Issue-ID: CPS-2074 Signed-off-by: Arpit Singh <as00745003@techmahindra.com> Change-Id: Ib32b4c75f7eb5402367f69a077c447a3eb062b0b
2024-02-06Merge "Limit heap size in Groovy integration tests"Priyank Maheshwari1-1/+20
2024-02-06Merge "CmSubscription service layer method #1"Lee Anjella Macabuhay3-0/+146
2024-02-06Merge "CmSubscription validate datastore"Lee Anjella Macabuhay3-0/+116
2024-02-06Merge "moduleSetTag and cmhandle upgrade functionalities fix"Toine Siebelink12-23/+101
2024-02-06[BUG] Retry interval for kafka consumermpriyank1-0/+3
- added retry interval of 10 seconds in case of any auth exception when consuming kafka messages. - This fix prevents us from restarting the whole app inorder to restart the consumer. Issue-ID: CPS-2070 Change-Id: Ie02d3cb686741cd92dd006dab1d49c3480d58720 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-02-06moduleSetTag and cmhandle upgrade functionalities fixsourabh_sourabh12-23/+101
- Insert only unmapped yang resources - In case of removed module call dmi plugin service to get modules. Issue-ID: CPS-2027 Change-Id: Ic1903c20169a913c835a3eee909357daec45f51e Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-02-06Add maven classifier to Spring Boot JARdanielhanrahan2-1/+18
Use a classifier so that both thin jar and spring boot jar are built. Issue-ID: CPS-2072 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iafa35992db09abf01b82668cde0eb75f12db7258
2024-02-06Merge "Set resource limits of docker-compose containers"Lee Anjella Macabuhay1-1/+17
2024-02-05CmHandle delete is failing with InternalServerError: Null key is not allowedleventecsanyi1-1/+7
- added null check to alt id removal from cache Issue-ID: CPS-2064 Change-Id: Iee484b96f505106613ce2d646898ca7ee3873f28 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2024-02-02CmSubscription service layer method #1mpriyank3-0/+146
- adding a service layer method to check if we have an ongoing cmsubscription or not. - test scenario for the same. - Other service layer method to be introduced in the subsequent patches. Issue-ID: CPS-2042 Change-Id: I33637138457a0c5d49b80dd4967057bd5bfa69d4 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-02-02Documentation update for Delta FeatureArpit Singh4-0/+118
- Documantation about Delta Feature - Documantation on API 1: Delta between 2 anchors Issue-ID: CPS-2056 Signed-off-by: Arpit Singh <as00745003@techmahindra.com> Change-Id: I9841ea166f7c57ab6218fefa5b577b4053e39490
2024-02-01Add integration test for extending API: Get Module Definitionshalil.cakal10-45/+94
- Add new module: bookstore-types - Import the new module from stores module - Change integration testwares to comply with the new module - Add new integration test for retrieving module definition Issue-ID: CPS-1135 Change-Id: Ib51c998ceeab50d3fcea212ed55c8ab50ca09257 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-02-01Merge "Extend API: Get Module Definitions"Sourabh Sourabh19-71/+291
2024-02-01Extend API: Get Module Definitionshalil.cakal19-73/+293
- add query parameters: module-name and revision to OpenAPI - extend the controller method to hande the new parameters - add the new method stack to the service layer - extend the SQL query to support the new parameters - add unit and integration testwares Issue-ID: CPS-1135 Change-Id: I089ad2ad71effb58ac0ba809e9f441d6cdb59c4f Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-02-01CmSubscription validate datastorempriyank3-0/+116
- introduced isValidDatastore to check the incoming datastore against the valid datastore for this use case. - Testware added Issue-ID: CPS-2059 Change-Id: I2602396fe2f404789fc4e0f01850eeba2a75bd21 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>