summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-10-17[BUG] Fix for Swagger UI generationegernug6-7/+45
Issue-ID: CPS-1913 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: Ib8a1b5fddc9957bd371fbb4dc54d018b25af3679
2023-10-16Merge "Clean up Dependencies"Toine Siebelink6-181/+183
2023-10-16Merge "Adding NCMP Stubs documentation"Toine Siebelink5-18/+247
2023-10-16Merge "Add NCMP Stub documentation to RTD"Toine Siebelink9-15/+137
2023-10-16Merge "Add withTrustLevel condition to CmHandle Query API"Toine Siebelink22-146/+317
2023-10-16Adding NCMP Stubs documentationwaqas.ikram5-18/+247
Issue-ID: CPS-1858 Change-Id: I90017d9d9c6e937292e9de45c0e8228357414e16 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2023-10-16Add NCMP Stub documentation to RTDToineSiebelink9-15/+137
-add new pages fot Stubs -fixed spleeting erros -added file with accepatbel cps terms for spell check Issue-ID: CPS-1858 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I71fdeb29b015067d208e404bed8ac53b03810c00
2023-10-16Clean up Dependenciesegernug6-181/+183
Clean up of dependencies into logical orders and compile/test statuses Issue-ID: CPS-1873 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: I90ad49b7f1362e8f5b7006b85013c0bdf1b4d4ef
2023-10-13Merge "Update Subscription Event Schemas for merge"Priyank Maheshwari2-0/+168
2023-10-13Update Subscription Event Schemas for mergeseanbeirne2-0/+168
Issue-ID: CPS-1877 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I7545b1efb71d5032fad31200e874481cf1efe5b0
2023-10-12Add withTrustLevel condition to CmHandle Query APIhalil.cakal22-146/+317
- Change untrustworthyCmHandleSet with trustLevelPerCmHandleMap - Change trust level cache config accordingly - Change device heartbet consumer accordingly - Add json schema for device trust level - Add with_trust_level enum into cm handle query conditions - Add query cm handle by trustlevel function to cm handle queries - Add query cm handle by trustlevel service to network cm proxy cm handle service - Add unit tests and fix code smells Issue-ID: CPS-1864 Change-Id: Ie214f0713cef779307d3379df81e2b95115b6d6d Signed-off-by: halil.cakal <halil.cakal@est.tech>
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