aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-07-31Merge "Uplift liquibase-core dependency"Toine Siebelink2-1/+2
2024-07-30Fix ordering issue in QueryServiceIntegrationSpecdanielhanrahan1-1/+1
A test intermittently fails due to comparing unordered list. Fix is to compare as a set. Issue-ID: CPS-2337 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I84bc4f7d9ff01ca7b36ecb56835387dbea6b24d1
2024-07-30Uplift liquibase-core dependencympriyank2-1/+2
- upgraded from 4.21.0 to 4.28.0 - updated the release notes Issue-ID: CPS-2326 Change-Id: I8734fd8005438ec682e8b2f458ec84bbabb4be56 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-07-26Merge "Delete Subscription method"Priyank Maheshwari12-54/+273
2024-07-26Merge "[k6] Fix response code check for passthrough write test"Daniel Hanrahan1-1/+1
2024-07-26Delete Subscription methodemaclee12-54/+273
Issue-ID: CPS-2253 Change-Id: I30768dc431e13d0bac0dcc7b9b16cb0854f06702 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2024-07-26Merge "Added missing authorization header to DataJobService"Sourabh Sourabh6-19/+37
2024-07-26Added missing authorization header to DataJobServiceleventecsanyi6-19/+37
- added auth header to the interface & updated testware Issue-ID: CPS-2330 Change-Id: I091fc5c3c3fa323024f55055129cc7240732479a Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2024-07-25Integration test to validate DMI service URLsourabh_sourabh2-53/+65
- New groovy test is written to validate if dmi service url is encoded correctly. Issue-ID: CPS-2317 Change-Id: I75023a0bd2c41c832177edf062c694bb0d9b14b8 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-07-25[k6] Fix response code check for passthrough write testdanielhanrahan1-1/+1
The POST operation returns 201, not 200. This causes checks to fail when running k6 manually. Issue-ID: CPS-2267 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I3c0e771b89aa09e41c9dbdf1c532599e1ab5440d
2024-07-25Get data job status from DMI Pluginleventecsanyi7-0/+226
- added java interface - extended DmiRestClient to get data job status - added testware Issue-ID: CPS-2296 Change-Id: If9006bba06397724c15bdc3bdf1bd52a0188f002 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2024-07-25Release notes update for CPS-2306 and CPS-2319Arpit Singh1-0/+2
Issue-ID: CPS-2319 Change-Id: I2ab58437c133521fdce10ade61b16e34cfdec0bc Signed-off-by: Arpit Singh <as00745003@techmahindra.com>
2024-07-25Integration test for the writeDataJobleventecsanyi12-63/+234
- added Stub controller - created integration test for writeDataJob Issue-ID: CPS-2236 Change-Id: I067a11dc5bfe629d50128cf303b2a81abc75a348 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2024-07-25Merge "Fix "Create a node" and "Add List Elements" APIs response code"Priyank Maheshwari2-2/+1
2024-07-25Merge "Fix NCMP CSITs by using new TLS certificates"Priyank Maheshwari6-6/+79
2024-07-25Merge "Fix dataProducerId in SubJobWriteRequest"Sourabh Sourabh2-10/+10
2024-07-24Fix NCMP CSITs by using new TLS certificatesdanielhanrahan6-6/+79
TLS certs for SDNC and PNF simulators have expired, causing CSITs to fail. The new certificates are valid until 22/07/2034 - Add new certificates, valid for 10 years - Re-enable NCMP CSITs Issue-ID: CPS-2327 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I6c4361da9f8aaf1449a2ba22e701f1c0ec33a34b
2024-07-24Fix timing issue for data sync CSITdanielhanrahan2-5/+6
The default data sync watchdog sleep time is 30 seconds, while the CSIT only waits 10 seconds for data sync to run. This is leading to intermittent failures. - increase CSIT time out to 40 seconds for data sync operation - adjust log levels for data sync so that issues are easier to debug Issue-ID: CPS-2313 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I3ceb9097bf357f47e5d49f84c70b1c711b52171a
2024-07-24Fix dataProducerId in SubJobWriteRequestleventecsanyi2-10/+10
Issue-ID: CPS-2322 Change-Id: I7bfdfd05ffacb085ac056707d477f348cb5bd64f Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2024-07-24Update response message for data validation failureArpit Singh2-9/+5
- Make the response message more informative and cleaner in case of data validation failure. - Updated message body will not contain the entire jsonData as part of response sent back to the user Issue-ID: CPS-2306 Change-Id: I28aab1450779af98ccdd11701e78bdfcdbc18cf0 Signed-off-by: Arpit Singh <as00745003@techmahindra.com>
2024-07-24Fix "Create a node" and "Add List Elements" APIs response codeArpit Singh2-2/+1
Create a node and Add list elements APIs would return a 500 response code when a JSON payload mismatching the Schema was sent as part of the request body. Updated the code to return response code 400. Issue-ID: CPS-2319 Change-Id: I86d6af446966790d9e45045b330f0c411fcd0f1d Signed-off-by: Arpit Singh <as00745003@techmahindra.com>
2024-07-24Disable NCMP CSITsmpriyank1-5/+5
- comment the CSITs temporarily until the SDNC certs are corrected. Issue-ID: CPS-2325 Change-Id: I335b17e4f148ff838301fb511656da1068d124b4 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-07-19Merge "Integration test to validate DMI service URL"Daniel Hanrahan3-1/+56
2024-07-18[k6] Measure NCMP overhead for passthrough operationsdanielhanrahan2-13/+30
Measure NCMP overhead by subtracting DMI delay from request duration. Issue-ID: CPS-2269 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ieb4758e9f7cab119da4c28e4a3febfa1361b2613
2024-07-18Integration test to validate DMI service URLsourabh_sourabh3-1/+56
- New groovy test is written to validate if dmi service url is encoded correctly. Issue-ID: CPS-2317 Change-Id: I048bf37dd3ba4f37df7dace927f55bf8dd899922 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-07-17Merge "CPS NCMP: Add state tags to cps.ncmp.lcm.events.publish metrics"Daniel Hanrahan2-9/+101
2024-07-16Merge "XML content support on replace a node with descendants"Daniel Hanrahan11-60/+112
2024-07-16Merge "Report throughput for passthrough read operation"Daniel Hanrahan2-3/+2
2024-07-16Separate dmi delay for passthrough operationshalil.cakal3-6/+27
- set dmi delay to 670 ms for passthrough write (CUD) - set dmi delay to 300 ms for passthrough read Issue-ID:CPS-2285 Change-Id: I7a4294d3ed04c89aeb5988a9975516135317af12 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-07-16CPS NCMP: Add state tags to cps.ncmp.lcm.events.publish metricssourabh_sourabh2-9/+101
- Added cm handle state into micrometer Timer as an extra tags while capturing total time taken to publish a LCM events for publishLcmEvent method. Issue-ID: CPS-2123 Change-Id: I6357c628496700fee7448dbc381a7e0e62d8b540 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-07-16XML content support on replace a node with descendantsRudrangi Anupriya11-60/+112
Issue-ID: CPS-2282 Change-Id: Ibb7ffb65ccbb03703266712c6d5c2eade0e7ab4b Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
2024-07-16Report throughput for passthrough read operationhalil.cakal3-4/+4
- change threshold from avg duration to req per second - the delay for dmi has been hanlded in seprate commit in dmi repository - add delays through docker-compose env variables Issue-ID:CPS-2285 Change-Id: I35978b21c208fdb4209b1610160dc5545ee22965 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-07-16Merge "Add passthrough write (CUD) operations to k6"Daniel Hanrahan4-3/+26
2024-07-15Mapper to group Subscription Details for DMImpriyank3-0/+185
- introduced a mapper to group a collection of subscription keys(datastore cmhandle and xpath ) based on datastore and xpath - the information will be used to send out to the dmi plugin Issue-ID: CPS-2312 Change-Id: I99f509eb5b4a8c3a7fb1078ae86490d894f22b6c Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-07-15Bump CPS to 3.5.2 Snapshotmpriyank26-26/+54
- bump CPS to 3.5.2-SNAPSHOT - updated the release notes and prepared for the next release Issue-ID: CPS-2318 Change-Id: I584faf6218e60ad62e32ef8c3cb0deb4047149a2 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-07-15container yaml for CPS 3.5.1mpriyank1-0/+8
- adding container yaml for CPS release 3.5.1 Issue-ID: CPS-2318 Change-Id: Iba39b49c46c30f917e526cdf716b963dc1e139d4 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-07-15maven stage yaml for 3.5.1mpriyank1-0/+4
- adding maven stage yaml for CPS 3.5.1 release Issue-ID: CPS-2318 Change-Id: I14f4f8a890fbab80497696907fde4fd22601a562 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-07-15Merge "Release notes CPS 3.5.1"Daniel Hanrahan1-0/+1
2024-07-15Release notes CPS 3.5.1mpriyank1-0/+1
- Added release notes and syncd the openapi files. Issue-ID: CPS-2318 Change-Id: I1982e31f3bcb9337ed9814cb55a4db885b157158 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-07-12Print DMI stub logs in CSITsdanielhanrahan1-0/+3
Issue-ID: CPS-2313 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I4ecb5ce1713666b5e90b90eba3c98b737fd91896
2024-07-12Add passthrough write (CUD) operations to k6halil.cakal4-3/+26
- the delay for dmi has been hanlded in seprate commit - for simplicity only the POST request is considered Issue-ID: CPS-2267 Change-Id: I62ede04dd8e2744fc723566742396df31c42ea5d Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-07-12Print docker logs in CSITs for 2 cps-and-ncmp instancesdanielhanrahan1-2/+5
Following introduction of 2 instances of cps-and-ncmp, CSIT logs show an error "No such container: cps-and-ncmp". This commit prints docker logs for each cps-and-ncmp container. Issue-ID: CPS-2038 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: If3ed4590cef0f5b59d74e62c84f6c6e72edfd411
2024-07-11Merge "Policy Executor Feature Toggle"Sourabh Sourabh8-16/+178
2024-07-11Policy Executor Feature ToggleToineSiebelink8-16/+178
- defined config parameters for feature toggle and server details - log request details when feature enabled - improved JavaDoc in Controller - improved configuration properties checks in HttpClientConfigurationSpec Issue-ID: CPS-2311 Change-Id: I1ff4bd3592ce2570ac74f9ec6e62b75001cb611a Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2024-07-11Merge "Fix timing issue in CmHandleCreateSpec"Priyank Maheshwari1-21/+8
2024-07-11Fix timing issue in CmHandleCreateSpecdanielhanrahan1-21/+8
The test for module sync retry on LOCKED handles has a timing issue, due the ordering of the steps. After a LOCKED handle gets reset to ADVISED state (but DMI is not yet set to available), the Module Sync Watchdog may wake up and put it back into LOCKED state again. This fix is to first make the DMI available before waiting for the LOCKED handle to reset. Issue-ID: CPS-2304 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I9d33b0eeea1e0a2e163489130c928b4d03182774
2024-07-11Documentation updated in docs/ncmp-inventory-querying.rstsourabh_sourabh1-0/+20
- Existing API docs in docs/ncmp-cmhandle-querying.rst is updated where CPS Path is now supported as ancestor axis. Issue-ID: CPS-2289 Change-Id: I065179fe7c294588580448a8467765e9d116d33a Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-07-10Merge "NCMP inventory cm handle search should support cps path query"Toine Siebelink4-15/+28
2024-07-10Remove nginx logs that not being used anywherehalil.cakal2-5/+0
Issue-ID: CPS-2038 Change-Id: Iba8950db4f3fcfc13f32bf915189f5fcb2ccee90 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-07-10NCMP inventory cm handle search should support cps path querysourabh_sourabh4-15/+28
- Added cps path query conditions for inventory search api Issue-ID: CPS-2289 Change-Id: I0bcc9a45af65ad9d41c4d4cf79b35bfb95f50cff Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>