summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-07-07Merge "NCMP to client schema for Subscription"Luke Gleeson3-0/+69
2023-07-07Fix doc issuelukegleeson1-4/+4
Issue-ID: CPS-475 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: Id1f15d148dca7801ecfabd447e9f87d56414a2b4
2023-07-06NCMP to client schema for Subscriptionmpriyank3-0/+69
- added schema to comply with the agreed upon changes and it include capability to have statusCode and statusMessage as well. - Renamed existing schemas just for consistency Issue-ID: CPS-1739 Change-Id: I6bb1d13bf5c84ca812c5cf37062a168845d6be1d Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-07-03Merge "Modify dmi plugin stub mapping of data operation"Toine Siebelink3-53/+9
2023-07-03Kafka (De)serializtion test case for legacy consumerraviteja.karumuri1-4/+23
# Added test case to verify the legacy consumer able to forward the event to client topic Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: I9c88023028eaa2453e5578b5afb4951a41bf4999
2023-07-03Modify dmi plugin stub mapping of data operationsourabh_sourabh3-53/+9
- Modifiying exising dmi stub behaviour to mock onap-dmi plugin to send response HTTP 501. Issue-ID: CPS-1723 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I5dad5004ce69b29752821afdbb87839befa97cf5
2023-06-30Merge "Kafka (De-)Serialization Test"Sourabh Sourabh3-17/+127
2023-06-30Prepare for next CPS-NCMP releasempriyank22-22/+49
- updated the docs. - Bumped the version to 3.3.4-SNAPSHOT for the next release. Issue-ID: CPS-1773 Change-Id: Ibe9a694baadb33d284913868452b143c14d105cc Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-06-30Container yaml for releasempriyank1-0/+8
- Release process Issue-ID: CPS-1772 Change-Id: Ia3ce440f9a58d59ec9e44717c0c749d546c725b6 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-06-29Maven stage yamlmpriyank1-0/+4
Issue-ID: CPS-1772 Change-Id: I06bf1a018e891339d16bd8c2c8f935ef3b44ea84 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-06-29Kafka (De-)Serialization TestToineSiebelink3-17/+127
- added test that proof (de-)serialization of DataOperation CloudEvent - extracted new baseclass for kafka consumer tests Issue-ID: CPS-1746 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I3b04dc0ed8cd1f1f48206cbcf0fd739532ba423c
2023-06-29Openapi file and RTD updatempriyank4-2796/+3074
- Step-1 and 2 of the release process Issue-ID: CPS-1771 Change-Id: I2c5f2f04fdf6344c788aa47a82090b2b37d1505f Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-06-29Merge "Clearing code smells"Toine Siebelink1-3/+6
2023-06-29Merge "NCMP to DMI subscription event schema compliant with Cloud Events"Priyank Maheshwari3-10/+132
2023-06-29Clearing code smellsToineSiebelink1-3/+6
- added/updated @deprecated javadoc in EventPublisher Issue-ID: CPS-475 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ic0fa3efbc7dc580368bed6782db683b3c7a4d918
2023-06-29Merge "Updating the Kafka listener compliance to could events and legacy"Toine Siebelink10-92/+136
2023-06-29Updating the Kafka listener compliance to could events and legacyraviteja.karumuri10-92/+136
# Added filter property to the legay(DMIAsync) Consumer # Added containerFactory property to the CloudEvent(DataOperation) consumer to use 'cloudEventDeserializtion' Issue-ID: CPS-1746 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: I73315b816eb6446b7e163fd8779bc35fd6cbef63
2023-06-29NCMP : NCMP : Handle non responding DMI-Pluginsourabh_sourabh4-21/+90
- Added new response code for non-responding dmi and non-success. - Captured any exception after sending request to dmi service and then create a cloud event with error code and publish it to client topic. - Minor modificarion into resource data operation util class. Issue-ID: CPS-1558 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I39d409fb42856b816bf9833c2a23f7fa250a1e62 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2023-06-29Merge "Normalize parent xpath when building datanodes in CpsDataService"Toine Siebelink2-78/+86
2023-06-29Merge "Update write performance test timings"Toine Siebelink1-4/+4
2023-06-29Update write performance test timingsdanielhanrahan1-4/+4
Issue-ID: CPS-1673 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ia2e5bf557bf2ade98fba64b7923856f727049d84
2023-06-29NCMP to DMI subscription event schema compliant with Cloud Eventshalil.cakal3-10/+132
- Change avc subscription schema into cloud events format - Remove json objects that is provided in header of cloud event - Add CmHandle object for private properties into json schema - Remove required field and additional properties from subscriptionevent and subscriptioneventresponse Issue-ID: CPS-1737 Change-Id: I9648e5f0264ac56153ff477b1242d3c7b53b2844 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-06-29Improved code coverage (branches) around multipart file utilsToineSiebelink2-48/+63
- added test - moved wrongly placed test (from MultipartFileUtilSpec to DataMapUtilsSpec) - applied curent conventions to DataMapUtilsSpec Issue-ID: CPS-475 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ie8dc7f6802bb6ff0a256dc05df73da6af75409f3
2023-06-28Merge "Client to NCMP Subscription schema change"Priyank Maheshwari1-0/+99
2023-06-28Client to NCMP Subscription schema changeemaclee1-0/+99
- Schema changes only - Following code change changes on seperate commit Issue-ID: CPS-1736 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I37f67a325d800a479c065ff72822b3e51d7f525f
2023-06-28Improved code covage (branches) around cm handle state changesToineSiebelink2-10/+40
- added test - removed redundant (unreachable) check in production code Issue-ID: CPS-475 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Ia39ac7a1473a248710c2a52f65715fb6b6a85fca
2023-06-28Merge "Subscription dmi_to_ncmp package clean-up"Luke Gleeson1-1/+1
2023-06-28Merge "Streamline outcome response for subscription creation"Priyank Maheshwari11-53/+182
2023-06-27Normalize parent xpath when building datanodes in CpsDataServicedanielhanrahan2-78/+86
Data nodes are being saved with non-normalized xpaths, resuling in data nodes that cannot be operated on. This affects all operations including get, query, update, and delete. Issue-ID: CPS-1765 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I5352182d79daec67805753ca5943b1a86c18159f
2023-06-27Subscription dmi_to_ncmp package clean-upseanbeirne1-1/+1
Issue-ID: CPS-1738 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I7e01c89cb187233b53b8786e42d2fe2c0f24dbd9
2023-06-27NCMP : Handle non-existing and non-ready cm handlessourabh_sourabh21-187/+664
- Modified data operation schema to contains cm handle as steing and response content field name as result. - Added a new common cloud event builder for NCMP to create an event. - Added data operation event creater that uses cloud event builder to create a cloud event. - Introduced a new method onto json object mapper to convert json object to bytes. - Modified EventDateTimeFormatter and added a new method to convert date timestamp into offsetdateTime. - Added a new code into ResourceRequestUtil to identify non-ready cm handle and non-existing cm handle and later publish it as cloud event to tha client given topic. - Introduced CpsApplicationContext to get spring mannaged bean into non spring managed java object. Issue-ID: CPS-1583, CPS-1614 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I24a39d2cb2c54dea25cd2f17e7748e21cd83a088 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2023-06-27Generate docs using OpenAPI 3.0egernug3-2/+37
Doc generation in OpenAPI 3.0 requires executions for each file being generated. This change adds those executions and updates the dependency to copy these files. Issue-ID:CPS-1745 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: I144b49b0066f798f15408d955dcd914dd2c0bc91
2023-06-26Streamline outcome response for subscription creationhalil.cakal11-53/+182
- Pivot to outcome response generated from db for the corresponding subscription - Fine tuning to wait till the cutoff time for all cm handles that subject to subscription - Update cm handles as rejected if dmi plugin or cm handles does not exist in db - Add more test for missed branches in mappers and response outcome Issue-ID: CPS-1741 Change-Id: I82ab6958e673059977abc7708974d5a2cb13e339 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-06-26Merge "KafkaListener config for CloudEvents"Sourabh Sourabh4-18/+48
2023-06-26KafkaListener config for CloudEventsmpriyank4-18/+48
- Introduced kafkalistener factory configs to correctly use the configs and convert the incoming events to CloudEvents - Also legacy events to use a separate listener factory - Increased the wait time from 100ms to 300ms to listen to the message in the test Issue-ID: CPS-1764 Change-Id: I8b9fe0ba82ef87d52b7731941ccd3af8ae980109 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2023-06-26Change exclude path for mappers into more generalhalil.cakal1-3/+1
Issue-ID: CPS-1741 Change-Id: I5ad92f19d65bbd7577014b6ea2ffbfffd41e0b00 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-06-26Merge "Adding logic to read response files from"Toine Siebelink6-22/+220
2023-06-26Merge "#2 NCMP : Replacing the word 'Batch' as 'DataOperation'."Toine Siebelink8-74/+76
2023-06-26Merge "Chsnge to OpenApi 3.0"Toine Siebelink11-51/+60
2023-06-26Adding logic to read response files fromwaqas.ikram6-22/+220
filesystem for client integration tests Issue-ID: CPS-1751 Change-Id: I62e24d09474184716c56149a06deae4500b7b286 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2023-06-26Chsnge to OpenApi 3.0egernug11-51/+60
In preparation for the Java 17 and Springboot 3 migrations Swagger Codegen has to upgrade to OpenApi 3.0 This effects cps-rest and cps-ncmp-rest Issue-Id: CPS-1745 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: I18b8e9ca26d0123009702c2474efbfbeec6d4c44
2023-06-23#2 NCMP : Replacing the word 'Batch' as 'DataOperation'.raviteja.karumuri8-74/+76
Issue-ID: CPS-1754 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: Ib04e9d8a909e8868bf094e2625412996409b3a67
2023-06-23Merge "Improve code coverage"Luke Gleeson1-12/+25
2023-06-23Merge "NCMP : Replacing the word 'Batch' as 'DataOperation'."Sourabh Sourabh22-193/+195
2023-06-22Improve code coverageToineSiebelink1-12/+25
cleaned up the modified test a bit as well Issue-ID: CPS-475 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I0a6ac50bb5720935c5c1c7036ada8423b3174fda
2023-06-22Subscription Response Event Schemaseanbeirne1-0/+69
Issue-ID: CPS-1738 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I409baf66ca702166308821eeeff4887e9385148e
2023-06-22NCMP : Replacing the word 'Batch' as 'DataOperation'.raviteja.karumuri22-193/+195
Issue-ID: CPS-1754 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: Ie9f56effb160582ba7177331fb6260b2bde2342b
2023-06-22Merge "Improve performance of updateDataLeaves"Toine Siebelink2-16/+13
2023-06-22Add RTD link to CPS in Release notesToineSiebelink1-2/+4
Issue-ID: REQ-1580 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Id7f561a4686f62697bb98f7049199b44ebd387d4
2023-06-21Merge "Remove irrelevant groovy class that tests nothing"Toine Siebelink1-57/+0