summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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-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>
2023-08-30CI: Add rtdv3 merge GHA workflow callJessica Wagantall1-0/+99
Issue-ID: CIMAN-33 Change-Id: I2f6d6d089b359c95554b8caa921e3c98d26decf5 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2023-08-29Extend model loader to support model-upgrade (part 2)ToineSiebelink7-22/+349
- add upgrade related methods to common abstract class - add new (agreed) inventory model - add InventoryModelLoader - add more logging for success cases - simplified constant names considering the context (class name) Issue-ID: CPS-1804 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I61a5c6d320d340a5c469ce20140f984439ba71a2
2023-08-25Merge "Extend model loader to support model-upgrade (part 1)"Priyank Maheshwari7-308/+363
2023-08-25Merge "Subscription Forwarding Fix"Priyank Maheshwari1-22/+2
2023-08-24Extend model loader to support model-upgrade (part 1)ToineSiebelink7-308/+363
- refactor existign code for easier extension (no code changes yet, just want to review refactor in this first patch...) - changed log level of some (error) logging Issue-ID: CPS-1804 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I234ad6c4057e9447cd39a83b8f48799918ca6b7f
2023-08-24Subscription Forwarding Fixlukegleeson1-22/+2
Issue-ID: CPS-1853 Change-Id: Ic3f2bf28e18d3cadafb57e9dd4bfce8ab06cdb49 Signed-off-by: lukegleeson <luke.gleeson@est.tech>
2023-08-24Merge "Add verification flow in CSIT: Cm Data Subscription Create"Luke Gleeson9-8/+144
2023-08-23Bump pom file versionsleventecsanyi25-25/+52
Issue-ID: CPS-1851 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: I15c1a9577ac940abfaae60689e3082f55455c28c
2023-08-23Merge "Add 3.3.6 container yaml file to CPS"Priyank Maheshwari1-0/+8
2023-08-23Add 3.3.6 container yaml file to CPSleventecsanyi1-0/+8
Issue-ID: CPS-1850 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: I55698ee7177861c195a278aa07638db32c28f265
2023-08-23Add new release version yamlleventecsanyi1-0/+4
Issue-ID: CPS-1849 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: Ia604a0e92456f0dc0b4b5241e0b7817cfe950a4c
2023-08-22Release notes and openapi yml updatempriyank4-1395/+1414
- add to rst file and update the rest api changes Issue-ID: CPS-1846 Change-Id: I242fc98c025ffe0bf654640ad16dfef2bb0fcbaf Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-08-22Document async eror 107, southbound system is busyToineSiebelink1-0/+2
Issue-ID: CPS-1844 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Iff8a8b7a88ce8404f541b3dfa73305541bc09056
2023-08-22Merge "Correct minimum-coverage in pom files"Sourabh Sourabh2-5/+1
2023-08-22Merge "Replace event-id with correlation-id for data read operation cloud event"Priyank Maheshwari2-4/+5
2023-08-22Merge "Fix: Add file expension for reusable workflow"Toine Siebelink1-1/+1
2023-08-22Merge "Missing test for getDataNodes (ep1)"Luke Gleeson1-0/+14
2023-08-21Fix: Add file expension for reusable workflowJessica Wagantall1-1/+1
Issue-ID: CIMAN-33 Change-Id: I3a4960eefb97628ad7e837ca241d36a98540c8b5 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2023-08-21Merge "CI: Add test rtdv3 GHA workflow"Toine Siebelink1-0/+102
2023-08-21Correct minimum-coverage in pom filesToineSiebelink2-5/+1
Issue-ID: CPS-475 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I43fb6e1be7595faddfb5a22932793e8909b036fc
2023-08-21Replace event-id with correlation-id for data read operation cloud eventsourabh_sourabh2-4/+5
- Modified data operation event consumer to send correlation-id instead if event-id while publishing cloud event to client topic. Issue-ID: CPS-1842 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I30738b90d2ff0d14b5ee0bac680eff834aa968bf
2023-08-21Add verification flow in CSIT: Cm Data Subscription Createhalil.cakal9-8/+144
- Add Confluent Kafka Library support for Robot Framework - Add capability of testing for Kafka flows - Add CSIT test: Cm Data Notifications Subscription Create complying with CloudEvents - Change DMI version to latest for CSIT - Change DMI service name for Kafka topic extension - Change kafka listeners in docker compose Issue-ID: CPS-1613 Change-Id: Ic22cb36fdcee0f5c2bd6ff5c1876747aef563f8b Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-08-21Merge "Cm Subscription: PENDING logic handling in NCMP"Luke Gleeson16-197/+320
2023-08-18CI: Add test rtdv3 GHA workflowJessica Wagantall1-0/+102
This is not a voting workflow, but rather it replicates what Jenkins does in GHA. The idea is to have this workflow tested first before we deprecate the global-jjb rtdv3 job and switch to GHA. Issue-ID: CIMAN-33 Change-Id: I83742b2fb9d16785a6932c93a2c701f13527307b Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2023-08-18Merge "Device heartbeat listener"Luke Gleeson8-3/+305
2023-08-18Merge "CPS-Core : Expose a java interface to update schema set"Priyank Maheshwari12-5/+155
2023-08-18Device heartbeat listenermpriyank8-3/+305
- Infrastructure code to have the kafka listener and distributed set in place - performance tested locally - testware added Issue-ID: CPS-1642 Change-Id: I775dbe6e6b520b8777faa08610db439877757572 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-08-18Missing test for getDataNodes (ep1)Arpit Singh1-0/+14
- there was no test to check the exceptions thrown by getDataNodes Signed-off-by: Arpit Singh <as00745003@techmahindra.com> Change-Id: Ifa1df8ebe83fafba833be14559d94261bca93ef0
2023-08-18CPS-Core : Expose a java interface to update schema setsourabh_sourabh12-5/+155
- Exposed an interface to update anchor by schema set name. - New interface is implemented into RI model. - New native query is exposed to update id with given schema set name. - A new integration test is written to test new interface into cps core. Issue-ID: CPS-1800 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: Ibf44712e11b53cb6673b04b9e3fd864321c90839 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2023-08-18Modify data operation schema to accommodate additional informationsourabh_sourabh6-50/+54
- Code is modify to add resourceIdentifier and option to data operation kafka response for status code 100, 101, 102 and 103. Issue-ID: CPS-1837 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I1f7870d9d373f69de03240700b9d74be46fbfb6c Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2023-08-18Merge "Bring back coverage to 1.00 for ncmp-rest"Luke Gleeson1-1/+1
2023-08-18Merge "Update of top-level data node fails with SQL error"Sourabh Sourabh3-1/+13
2023-08-18Bring back coverage to 1.00 for ncmp-restmpriyank1-1/+1
Issue-ID: CPS-1832 Change-Id: I1704060d0cd56d7c2d2fb7b932a8142d3940120b Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-08-18Merge "Add code coverage for missing branches in pagination API(ep4)"Luke Gleeson1-2/+36
2023-08-17Update of top-level data node fails with SQL errordanielhanrahan3-1/+13
The error is caused by the fetch-descendants code using ResultSet.getLong which returns a 'long' primitive instead of a 'Long' object. Thus a parent ID of 'NULL' becomes '0', which causes an error during update. To preserve the NULL value, ResultSet.getObject must be used. Issue-ID: CPS-1841 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ida6837a04954cd3c23f0f2faabd7d0712d8ee19d
2023-08-17Add code coverage for missing branches in pagination API(ep4)rajesh.kumar1-2/+36
Add new test cases for missing branch covereage in Pagiantion API - Added test cases in cps-rest to cover the scenario of missing page index and missing page size Issue-ID:CPS-1835 Change-ID: I73f97f986a817d423f93a8d922dcd9647b1108bc Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
2023-08-17Cm Subscription: PENDING logic handling in NCMPmpriyank16-197/+320
- Remove PENDING state from dmi schema - Modify ncmp out event mapper to categorize response per details - Rename class and method names as well as in unit tests - resolved the merge conflicts Issue-ID: CPS-1830 Change-Id: I5b7f523f546ec9940c246bd286586fdeba2f892e Signed-off-by: halil.cakal <halil.cakal@est.tech> Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-08-17Merge "Fixing sonar issues"Sourabh Sourabh3-6/+3
2023-08-16Modify data operation schema to accommodate additional informationsourabh_sourabh3-0/+18
- Data operation schema is updated to add resourceIdentifier and options. - dmi plugin stub is modified to add both the attributes into kafka response message. Issue-ID:CPS-1837 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I624c32d07ccf396f3090766049622f43f5c3f44f
2023-08-16Fixing sonar issuesdanielhanrahan3-6/+3
Issue-ID: CPS-475 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I7623a8301fd4567bf96c605eb26bf6c02b1d3c76
2023-08-15Update performance test timing for warmupdanielhanrahan2-2/+2
Incorrect limit on the warmup results in performance pipeline failing, as the first test that runs must include the time taken to write initial data. Issue-ID: CPS-1811 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I82353fcd5d0904f458808b32f4f01597ba25a688
2023-08-11Generic Cloud Event Mappermpriyank15-249/+156
- Introduced a generic event cloud mapper to be used all over the codebase - Added as a utility so we dont have to inject it as spring bean - Refactored code and added tests - Incorporated review comments Issue-ID: CPS-1827 Change-Id: I8dab914791e01bbf6492ce96e7ba6eaa8f75a6cb Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-08-09Refactoring Subscription Create LCM use casempriyank32-341/+343
- Client to NCMP: CmSubscriptionNcmpInEvent - NCMP to DMI: CmSubscriptionDmiInEvent - DMI to NCMP: CmSubscriptionDmiOutEvent - NCMP to Client: CmSubscriptionNcmpOutEvent - code package changed from avcsubscription to cmsubscription - Other classes name as per the events naming above - Test classes refactored - NO LOGIC changes incorporated in this patch Issue-ID: CPS-1831 Change-Id: Id5ad5f799007deaaf6d6fc0f402c130339263d09 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-08-09Modify DmiDataOperationRequest to make it identical as DataOperationRequestsourabh_sourabh7-21/+68
- Modified DmiDataOperationRequest attribute from operationType to operation. - Wrapped operation details to parent attribute operationd array. Issue-ID: CPS-1833 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I79aa943e10e1c32c3252a6eb4375c14496476f8b Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>