summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-10-11Expose REST endpoint to update YANG schema set using moduleSetTagsourabh_sourabh41-135/+392
- Added new schema to upgrade model into component. - Modified Ncmp rest input mapper to add upgradedCmHandles attributes. - Modified cm handle state mapper to add new lock reason. - Added new method to parse and upgrade Cm handles in DmiRegistration. - YANG data converter is modified to add "module-set-tag" atribute. - Cm handle new query method is added for cps path without appending ancestor. - Modified setCompositeStateForRetry to add lock reason. - New lock reason category is added. - Existing module sync service is modified to upgrade the model "syncAndCreateOrUpgradeSchemaSetAndAnchor". - Sync util method "getModuleSyncFailedCmHandles" to modified to add another lock reason "LOCKED_MISBEHAVING". - Added new attribute "UpgradedCmHandles" into DmiPluginRegistration and DmiPluginRegistrationResponse. - New attribute "moduleSetTag" is added into NcmpServiceCmHandle. - New model "UpgradedCmHandles" is added. - New method "updateSchemaSetWithExistingModules" is added into cps module service to update cm handle with exsting model. - Code coverage is reducced to 96 percentage that would be addressed and pushed into new patch. Issue-ID: CPS-1798 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I540acb404e38fc434de87a0d959bfde710a18b03 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2023-10-11Merge "Conflicting Error code"Toine Siebelink16-190/+182
2023-10-10Add debug port to ncmp in docker-composehalil.cakal1-0/+2
Issue-ID: CPS-1864 Change-Id: I6dd77b29b8a73c8d3b893fb3eafb45292b526be2 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-10-10Merge "JSON list support when updating multiple datanodes"Toine Siebelink2-27/+15
2023-10-10Conflicting Error codesourabh_sourabh16-190/+182
-Used common error codes for NCMP responses Issue-ID: CPS-1904 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: Id2beaa9f3d49dffd0a193b05fbaa7a6dd801e34a Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2023-10-09RTD Doc update with error codesourabh_sourabh2-3/+19
-RTD doc is updated with new error codes. Issue-ID: CPS-1904 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: Id234655abe88e3348abc148f8c1eedd36bf58379
2023-09-29Fix Sonar Code Smellsmpriyank4-70/+88
- convert normal java strings to text block - feature from java 15 - handling callback for legacy events. Once the deprecated methods are removed then this would not be needed. Issue-ID: CPS-89 Change-Id: I9b537ebee2c284c8109e6cc6c8961a430ee9599d Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-09-29Update release version in release notesegernug25-25/+52
Issue-ID: CPS-1903 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: If28a979513ed48a4382e8069b8b365f4f7f35135
2023-09-28Add 3.3.8 container yaml to CPSegernug1-0/+8
Issue-ID: CPS-1903 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: Ib801489cbf78c7d806e7f2faa06a9dc74592c732
2023-09-28Add new 3.3.8 release version yamlegernug1-0/+4
Issue-ID: CPS-1903 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: I65d0478a7a0ccb3b122aa7af030ed4ebaaa85721
2023-09-28JSON list support when updating multiple datanodesdanielhanrahan2-27/+15
updateDataNodesAndDescendants if supplied with a JSON list such as {"branch": [{"name":"Name1"}, {"name":"Name2"}]} would only replace the first node /test-tree/branch[@name='Name1'], and ignore any remaining list items. This is caused by the use of a legacy buildDataNode, which returns only a single DataNode from JSON, even if the JSON contained a list. Issue-ID: CPS-1889 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I257491b6bc3f047a64eb241eaac70fd457b24347
2023-09-28Update RTD for Spring Boot 3.1.2egernug1-1/+2
Issue-ID: CPS-1888 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: I8ef41d3f5563fb6aa2a3090b9164523fed538933
2023-09-28Merge "Modify INFO.yaml for committer rights"Toine Siebelink1-0/+5
2023-09-28Merge "Uplift Spring Boot to 3.1.2"Toine Siebelink5-9/+8
2023-09-27Merge "Introduce and use new Hazelcast map for module set tag"Sourabh Sourabh5-6/+51
2023-09-27Uplift Spring Boot to 3.1.2egernug5-9/+8
To align with Ericsson Spring Boot is being uplifted to version 3.1.2 Issue-ID: CPS-1888 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: Icfe97df15ab67a7fb25e0a98e4bbbbe91f332321
2023-09-26Merge "CM Data Subscriptions PoC/Performance test fixes"Toine Siebelink1-28/+44
2023-09-26CM Data Subscriptions PoC/Performance test fixesdanielhanrahan1-28/+44
There were some issues in original update test that caused no updates to be written. This fixes those issues and adds verifies the subscriber count. Issue-ID: CPS-1881 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I7b5a5e95bee247d1b1d52f5bc5e8567b8871a659
2023-09-26Modify INFO.yaml for committer rightsemaclee1-0/+5
Issue-ID: CPS-1887 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I1af27060ad9f38322254517e36c3d13eea24f1e8
2023-09-26Introduce and use new Hazelcast map for module set tagleventecsanyi5-6/+51
- added new IMap for moduleSetTags, updated SynchronizationCacheConfigSpec - updated deployment.rst Issue-ID: CPS-1859 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: I5233c5150fd784974d7c1e5ba387119c1eaba194
2023-09-26Merge "Rename Subscrption Perf Test class to fit filename"Priyank Maheshwari1-1/+1
2023-09-26Rename Subscrption Perf Test class to fit filenameToineSiebelink1-1/+1
Issue-ID: CPS-1881 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I6b18d13fd8f1f877eb21fee783bc3fc8515a575c
2023-09-25Merge "CM Data Subscriptions PoC/Performance test"Priyank Maheshwari7-57/+281
2023-09-25CM Data Subscriptions PoC/Performance testToineSiebelink7-57/+281
- New model introduced in test can be ported to production code - Groovy test around the new use-cases can be used as a guid for actau production code solution - Current worst use-case about 10 secodn son windows laptop. is acceptable as per Requiremenyt of 30 second - TODO: update test limits/expectations based on CI results Issue-ID: CPS-1881 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I05f3adf7f9cc4d9a9c94a8435a392ed76f9fad66
2023-09-25Merge "RTD change to document migration to Spring Boot 3.0"Toine Siebelink1-0/+5
2023-09-25Refactoring persistence classessourabh_sourabh75-552/+665
- Created a common ncmppersistence pkg inside ncmp service "api/impl" pkg". - Move "inventery" into "api/impl" pkg. - Created common class named as "NcmpPersistence" inside "ncmppersistence" pkg. - Move all the commin constants and methods into "NcmpPersistence". - SubscriptionPersistence and InventoryPersistence extends "NcmpPersistence". - Find and replace all the constants of NCMP. Issue-ID: CPS-1883 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: Id3e678109766d680589fa7aab965ea251a55f075 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2023-09-25Merge "Reinstate Spring Boot 3.0 after revert"Toine Siebelink53-161/+303
2023-09-25Merge "Add DMI to TrustLevel Cache During Registration"Priyank Maheshwari4-8/+28
2023-09-22Reinstate Spring Boot 3.0 after revertegernug53-161/+303
Issue-ID: CPS-1789 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: Iee5c514ccdba36a387f83948d8a3ba26e6b1de5b
2023-09-21Add DMI to TrustLevel Cache During Registrationseanbeirne4-8/+28
Issue-ID: CPS-1861 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I1e71b78eec9e2a9f536f82ef1ba5a9933ca2bf6b
2023-09-21Merge "Set lock state and reason upon request"Toine Siebelink13-52/+108
2023-09-20Bump pom file versionsdanielhanrahan25-25/+52
Issue-ID: CPS-1882 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iec6b6e8fed17ad8250a39436c7b4fd5572e5c916
2023-09-20Add 3.3.7 container yaml to CPSdanielhanrahan1-0/+8
Issue-ID: CPS-1882 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I726c8834210fecb5c22b4fce8c4f9ce2e45a4baa
2023-09-20Add new 3.3.7 release version yamldanielhanrahan1-0/+4
Issue-ID: CPS-1882 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I50bc3fae3009c141c84321ace4eaf171f44524ff
2023-09-20openapi yml update for 3.3.7 releasedanielhanrahan1-0/+8
Issue-ID: CPS-1882 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I2d34631e5a3f8832adb577c0b19384b62b4dd24d
2023-09-20Revert "Migrate CPS to Spring-boot 3.0"Toine Siebelink53-309/+162
This reverts commit 9693ec51cf6526082f0ad0c3ad208d144cbbb163. Reason for revert: Bug fix delivery Change-Id: I73bdc1528192c662983b0bbef73b10b6d612a719 Signed-off-by: egernug <gerard.nugent@est.tech> Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2023-09-20Merge "Use YangParserFactory to generate schema context"Toine Siebelink2-9/+14
2023-09-20Use YangParserFactory to generate schema contextdanielhanrahan2-9/+14
This is presented as a fix for ClassDefNotFoundErrors from opendaylight yang parser Issue-ID: CPS-1866 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: If2d1a8f0319cad0a9517ea3652446e2e43f51fd4
2023-09-19RTD change to document migration to Spring Boot 3.0egernug1-0/+5
Issue-ID: CPS-1789 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: Iade4f3feb4ac00874f977e0154c7fca65b30106c
2023-09-18Set lock state and reason upon requestleventecsanyi13-52/+108
- added new LockReasonCategories and improved SyncUtils.isReadyForRetry - refactored logic aroudn retry times - refactored unit tests Issue-ID: CPS-1860 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: I4382d6ad1fa0a7d9dacb8c8281b0458a5afc0375
2023-09-18Merge "Migrate CPS to Spring-boot 3.0"Toine Siebelink53-162/+309
2023-09-14Docs for the distributed datastructures in cps and ncmpmpriyank1-0/+28
- listed the distributed datastructures that we use in cps and ncmp. - summary of the usage in the product. Issue-ID: CPS-1867 Change-Id: I6535f7cfc6ef68731d22c81500ba4b876e7db0f4 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-09-14Migrate CPS to Spring-boot 3.0egernug53-162/+309
Issue-ID: CPS-1789 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: I932fca8a50cedf2ae0604401c5e2b27896e4d449
2023-09-12Merge "Dmi plugin watchdog cheking aliveness"Luke Gleeson9-11/+244
2023-09-11Verify kafka headers by header namehalil.cakal2-17/+24
- Change subscription notification flow - Change data operations flow Issue-ID: CPS-1613 Change-Id: I5c8aeb26c925071d810975dd6686309b7ad6b76f Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-09-04Dmi plugin watchdog cheking alivenesshalil.cakal9-11/+244
- Add capability of GET request into DmiRestClient - Add watchdog job to check aliveness of dmi plugins - DmiPluginStatus enum as UP or DOWN - Add unit tests for the new function in dmi rest client - Add unit tests for dmi watchdog Issue-ID: CPS-1856 Change-Id: Ic38a96f0485a0bfe1b6af5bb2f57f6119d8fa563 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-09-04Modify inventory using moduleSetTag as optional attributeleventecsanyi1-0/+3
- added moduletSetTag as an optional field for RestInputCmHandle Issue-ID: CPS-1803 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: I15c9d1eeb4f7db83ca23c50f3ffe9603cd5b14c9
2023-08-31CI: Remove GHA for RTDv3Jessica Wagantall2-201/+0
These actions are getting moved to the .github repo since they need to run for all repos. Issue-ID: CIMAN-33 Change-Id: I49560ddbcb128448d6dd29a65a611ba8bf526427 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2023-08-31Merge "Hazelcast cache config stroring trust level per dmi plugin"Priyank Maheshwari2-0/+103
2023-08-31Hazelcast cache config stroring trust level per dmi pluginhalil.cakal2-0/+103
- Add Hazelcast cache config to store trust level per dmi plugin Issue-ID: CPS-1855 Change-Id: Ibe7f8393008ca7352aacddba99ecd19d6e1eb326 Signed-off-by: halil.cakal <halil.cakal@est.tech>