summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2024-02-01Limit heap size in Groovy integration testsdanielhanrahan1-1/+20
Configure maven to limit heap size in integration tests to help detect OutOfMemory errors in groovy tests. The figure 512MB was chosen as this is 25% of 2GB (JVM by default uses 25% of total memory for heap). Issue-ID: CPS-2052 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ie1160f85ba3970e4c43fccee41c2821dc83a8e53
2024-02-01Set resource limits of docker-compose containersdanielhanrahan1-1/+17
Without explicit limits, docker will use all available system resources for containers. In order to better detect/reproduce performance issues, limits are set to reflect those used in our production deployment. Issue-ID: CPS-2048 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I0549b7f9e57dff10c8b09d839ffb4979d66c643e
2024-02-01Introduce Hazelcast for alternateId-cmHandle relationleventecsanyi12-91/+450
- added new Hazelcast config - added cache initialization in CmHandleIdMapper - added unit tests - updated deployment.rst - refactored cache updating Issue-ID: CPS-1988 Change-Id: Iea6f884e584bf8cea8612ddbced4329e783c60a5 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2024-01-31Fix: Add six as dependency for sphinxcontrib-swaggerdocJessica Wagantall1-0/+1
Issue-ID: CIMAN-33 Change-Id: Ic9f1fcc4e220163e20bf61da0511d7479eb4f180 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2024-01-29Merge "Correct datastore names via DatastoreType Enum"Priyank Maheshwari2-5/+5
2024-01-26Correct datastore names via DatastoreType Enumemaclee2-5/+5
- Use existing DatastoreType enum in defining datastore name Issue-ID: CPS-2046 Change-Id: I6f2f77c96b239546f7141267c0c01edfc599b445 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2024-01-25CloudEvents support for cps-corempriyank20-53/+131
- Moving cloud events dependencies to the cps-service module instead of cps-ncmp-service - Testware has moved and new tests also introduced - EventsPublisher also moved Issue-ID: CPS-2040 Change-Id: Ibafb15e7e9efbdbe1e00e2b4f0da820bbcead004 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-01-25Merge "Omitting the basic auth header in healthcheck test"Priyank Maheshwari2-5/+3
2024-01-25Omitting the basic auth header in healthcheck testwaqas.ikram2-5/+3
as it is not required and adding v3 to uri of api-docs Issue-ID: CPS-2045 Change-Id: If229bbd46a5c5187ddac242f8bfda00d5c951995 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2024-01-25Merge "CPS 1824: Delta Between 2 Anchors release notes"Toine Siebelink3-19/+18