summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-11-06Bump cps to 3.3.10-SNAPSHOTmpriyank25-25/+52
- bump cps to 3.3.10-SNAPSHOT and update the docs Issue-ID: CPS-1954 Change-Id: Id62f59d4b3c42ea6f791fad85f0700089e3125b9 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-06Add container yaml for cpsmpriyank1-0/+8
- container yaml for cps 3.3.9 Issue-ID: CPS-1952 Change-Id: I68f85c6881d9c1f9c91e6b54db6d80c1d030a8d4 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-06Adding maven stage yaml for releasempriyank1-0/+4
- Adding maven stage yaml file for releasing 3.3.9 version of CPS Issue-ID: CPS-1952 Change-Id: If106d29aa730f222f8d4ce288a2f31032be5bd27 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-06Step 1 and 2 of release processmpriyank3-2/+14
- Sync the openapi docs and the release notes - Also commenting a test scenario coz of unrelated failure. will be fixed later Issue-ID: CPS-1949 Change-Id: I27c955e569acdfe1f699f345fa583f7bce95e76a Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-06[BUG] CPS NCMP management endpoints updatempriyank9-23/+17
- CPS and NCMP management endpoint updated from /manage to /actuator now - The management port is same as application port now - CSIT test cases update - Update in Security params to allow the changed URL. - Admin guid update - Release notes updated - Local docker-compose and prometheus updated Issue-ID: CPS-1923 Change-Id: I013d35fd96d393dec8cf067bbeae0f92b6b8d8db Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-11-03[BUG] Set Hazelcast class loaderdanielhanrahan1-0/+1
ClassNotFoundException is being thrown during CM-handle registration when running the cps-application JAR. This fixes the issue by using the class loader for the CPS classes. Issue-ID: CPS-1933 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I02e2d19d9f668f0c4af36e9061e68f9b9ddb9434
2023-11-03Merge "Handling Yang module upgrade error scenarios"Priyank Maheshwari7-51/+108
2023-11-02Merge "Add trust level notification schema"Toine Siebelink1-0/+56
2023-11-02Handling Yang module upgrade error scenariossourabh_sourabh7-51/+108
- cm handle not ready, not found , invalid id Issue-ID: CPS-1802 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I2039faa44abbda17237e7c2dc085b4ac775c2039 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2023-11-02Add trust level notification schemaJvD_Ericsson1-0/+56
Issue-ID: CPS-1910 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: If7265e0020b2ba247aaf64c9c0820e3cfdb23583
2023-11-02Initial Registration with trustLevel on NCMPseanbeirne6-24/+57
- Updated NcmpServiceCmHandle class to include registration trustLevel Issue-ID: CPS-1902 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I7c97928f5cdd82f3036a57ea5f0c149e2872f4f1
2023-10-27Merge "[BUG] CPS NCMP Change extension in health check URL"Sourabh Sourabh1-2/+3
2023-10-26Merge "Update return body of RestOutputCMHandle"Toine Siebelink3-95/+120
2023-10-26[BUG] CPS NCMP Change extension in health check URLhalil.cakal1-2/+3
- Align URL extension to default actuator URL Issue-ID: CPS-1922 Change-Id: Ifaa1eb32f3c6be5c48a63c4e360c27353d0e5e0f Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-10-25Update return body of RestOutputCMHandleemaclee3-95/+120
Issue-ID: CPS-1869 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I946db9e6785fc50775d1c5ff18e7462e8bad9af6
2023-10-23Introduce and use new Hazelcast map pt. 2sourabh_sourabh21-134/+263
- modified ModuleSyncService - created ModuleSetTagCacheConfig and tests - ensure both Create and Upgrade cm Handle use cases work - Moved inventory pkg to its right patha as production code. Issue-ID: CPS-1859 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: I173dcd81fe2e74d86d85365b2ead461302cad974 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2023-10-19Code coverage: Update YANG schema set using moduleSetTagsourabh_sourabh7-27/+122
- Code coverage is increased to 98. - New groovy test is added to cover new code. Issue-ID: CPS-1798 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: Ia979be3f43ec8e4bbf6f8cb66a8a5e748118f19b Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2023-10-18Merging of Subscription schemasmpriyank4-13/+119
- Added new schema from DMI Plugin to NCMP - Added new schema from NCMP to the clients - Renamed existing schemas as per the conventions - Removed the merge keyword from the schemas and naming. Still the package will have merge keyword which will eventually be removed when we remove the old code Issue-ID: CPS-1905 Issue-ID: CPS-1906 Change-Id: I1f8c35e7f6baa25346d9527d58e20bba7f0dddeb Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-10-18Fix Sonar code smellsemaclee2-14/+11
- Update deprecated methods in webSecurityCOnfig - Remove 'deprecated' tag on methods that are to be removed in EventsPublisher as they are still being used, methods with deprecated tag (for removal) must not be used Issue-ID: CPS-89 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I104d4b3e362d22bb7fc020580de6cb4f390e54c9
2023-10-17Merge "[BUG] Fix for Swagger UI generation"Toine Siebelink6-7/+45
2023-10-17Merge "Add memory usage to integration tests [UPDATED]"Toine Siebelink12-201/+273
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-11Add memory usage to integration tests [UPDATED]emaclee12-201/+273
Issue-ID: CPS-1753 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I08fd0802f536b8fe333ddbfc9301356095f58171
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