summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-08-29Correctly report trust level if DMI is downdanielhanrahan7-64/+35
Current trust level should factor in both CM-handle and DMI trust levels (effective trust level). Issue-ID: CPS-2375 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ib531633a0e79af2bf9cf73d2b0b02d7a58777458
2024-08-29Merge "Invoke Policy Executor and handle not-allowed response"Sourabh Sourabh23-81/+542
2024-08-29Invoke Policy Executor and handle not-allowed responseToineSiebelink23-81/+542
- Execute Policy Executor REST request - Act (and log) on response from Policy Executor - Add dispatcher(mock) in integration test FWK - Add integration test for allow/non allowed and no authorization use cases - disabled PolicyExecution feature by default (only enabled for testware) Issue-ID: CPS-2247 Change-Id: I111ba9ba89cc91649b63b20f88414aa33721dbeb Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-08-27Merge "Plot request failures for each k6 test"Daniel Hanrahan3-37/+52
2024-08-27Merge "Cleanup unused yang models from CPS core"Daniel Hanrahan6-380/+0
2024-08-27Support for alternate-id for CPS-E-05 i/fmpriyank6-17/+27
- Added support for alternateId for CREATE , UPDATE, DELETE and PATCH operation for CPS-E05 passthrough running datastores Issue-ID: CPS-2362 Change-Id: Ie4db1d84dba795e9650949cab3374e0b2570beba Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-08-27Support for alternate-id CPS-E05 composite statempriyank5-17/+30
- Added support for alternate id for the composite state API for CPS-E05#15 Issue-ID: CPS-2377 Change-Id: I1af41efb8cec762be68250cae7c1e98fbc61a4f5 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-08-27Merge "Remove trust level from cache when cm handles deleted"Daniel Hanrahan11-81/+157
2024-08-27Merge "[k6] Always pull latest cps and dmi stub images"Priyank Maheshwari1-1/+7
2024-08-27Merge "Install dependencies for k6 and csit"Priyank Maheshwari5-7/+92
2024-08-27Cleanup unused yang models from CPS coredanielhanrahan6-380/+0
Yang models and generated CSVs are no longer used in CPS liquibase, rather Inventory model loader does this. Issue-ID: CPS-2382 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I0944c3778716450a88355c669ac806fd07b85193
2024-08-27Install dependencies for k6 and csitdanielhanrahan5-7/+92
- install docker-compose in csit and k6 tests - install k6 with kafka extension in k6 tests Issue-ID: CPS-2376 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I8a67813a96dc7f321d4abe0aa91e236fd1060f3e
2024-08-26Policy Executor, refactor(move) common http classesToineSiebelink19-54/+54
Issue-ID: CPS-2343 Change-Id: Ia9655364462826a794a2af78214311cb38c40de9 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2024-08-26Policy Executor and DMI WebClient configurationsToineSiebelink18-185/+449
- separated dmi and policy executor http client configuration Issue-ID: CPS-2324 Change-Id: Ib4e757da188673e163abe6078dfd6ddae447eaab Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2024-08-26Plot request failures for each k6 testhalil.cakal3-37/+52
- add request failures to plot for each tests - simplify setup and teardown function Issue-ID: CPS-2347 Change-Id: I81226518af7bda12b0489ec46de08e27c96cc16d Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-08-26[k6] Always pull latest cps and dmi stub imagesdanielhanrahan1-1/+7
Presently, k6 tests are using old cached DMI stub version in the Jenkins job. This commit ensures latest images are pulled by cleaning old images if a variable is set. Issue-ID: CPS-2368 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I66a749c7cdeb7daee06a00b06dff50ead6854f28
2024-08-26Remove trust level from cache when cm handles deletedhalil.cakal11-81/+157
- handle removal of device trust levels from the cache when cm handles deleted - handle initial dmi registration inside trust level manager Issue-ID: CPS-2315 Change-Id: I605ed78f164d7534069de8352dc3b0a81a4ce22c Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-08-21Bump CPS to 3.5.3-SNAPSHOTdanielhanrahan23-23/+52
- bump CPS to 3.5.3-SNAPSHOT - updated the release notes and prepared for the next release Issue-ID: CPS-2374 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I60ea5f5864f5818d1ed5078e375cf07b8d713dde
2024-08-21container yaml for 3.5.2danielhanrahan1-0/+8
Issue-ID: CPS-2374 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Idb3ea5abce2a9bb56fa44408688a4bb87106d14b
2024-08-21maven stage yaml for 3.5.2danielhanrahan1-0/+4
Issue-ID: CPS-2374 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I1bc1458c91ce360c1f770790ad379821e32ce665
2024-08-21Update openapi for 3.5.2danielhanrahan6-29/+64
- update info.version to 3.5.2 for openapi yamls - update read-the-docs copies of openapi docs Issue-ID: CPS-2374 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I7f726f610fe8eff43e281edfe2fc6d9b08f5fc15
2024-08-21Merge "Release notes for moduleSetTag perf improvement"Priyank Maheshwari1-0/+1
2024-08-21Merge "Release notes for Cm Subscriptions"Daniel Hanrahan1-0/+1
2024-08-21Merge "[BUG] Blank alternateId overwrites existing"Priyank Maheshwari5-11/+106
2024-08-21Merge "Revert "Remove trust level entries from cache when cm handles deleted""Daniel Hanrahan11-153/+76
2024-08-21Release notes for moduleSetTag perf improvementdanielhanrahan1-0/+1
Issue-ID: CPS-2353 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ic6c281934c8be8f85cf20b6c65e447a31a35ecc3
2024-08-21Revert "Remove trust level entries from cache when cm handles deleted"Lee Anjella Macabuhay11-153/+76
This reverts commit 77b8e25e14e698c853334ef57459c21d7813911a. Reason for revert: Performance degredation Change-Id: Ibd88e626189d821680568c63952b95e7d1e05dc4 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2024-08-21Release notes for Cm Subscriptionsmpriyank1-0/+1
- Added release notes for the CM Data Subscriptions epic for the positive scenarios. Issue-ID: CPS-2324 Change-Id: I1b61113a6bfa365a5856b97433098420dbf59c90 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-08-21[BUG] Blank alternateId overwrites existingdanielhanrahan5-11/+106
During CM-handle update, a blank "" alternateId will overwrite an already-set alternateId. Additionally during registration, if an alternateId consisting of whitespace is supplied, it will be persisted with whitespace. This fixes both issues by using isBlank/isNotBlank consistently. Issue-ID: CPS-2372 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I44e536cf87a31c6e975a82ed37769c1d2548653a
2024-08-21Merge "Faster alternate-id checks during registration (CPS-2366 #2)"Priyank Maheshwari6-24/+60
2024-08-21Merge "Refactoring alternate ID checker (CPS-2366 #1)"Priyank Maheshwari2-103/+49
2024-08-21Remove trust level entries from cache when cm handles deletedhalil.cakal11-76/+153
- handle removal of device trust levels from the cache when cm handles deleted - handle initial dmi registration inside trust level manager - add get effective trust level function to trust level manager for get and query cm handle APIs (to set trust level on the return object) Issue-ID: CPS-2315 Change-Id: I8daa4a2ad8310de10e35fdc50351deb85fd3ffd0 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-08-20Faster alternate-id checks during registration (CPS-2366 #2)danielhanrahan6-24/+60
This improves performance when using alternate ID in registration. Instead of one CPS path query for each alternate ID, it sends one query for the whole batch using OR operator, e.g. /dmi-registry/cm-handles[@alternate-id='A' or @alternate-id='B'] Issue-ID: CPS-2366 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I5b10437f4a01c886b3c84e46ac727e0e79917589
2024-08-20Refactoring alternate ID checker (CPS-2366 #1)danielhanrahan2-103/+49
Issue-ID: CPS-2366 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I07228a130ebdab0e2782e54255b5e8cc34c8d77e
2024-08-20Merge "Fix docker image for netconf-pnp-simulator to fix CSITs"Priyank Maheshwari1-1/+1
2024-08-20Fix docker image for netconf-pnp-simulator to fix CSITsdanielhanrahan1-1/+1
The image on onap nexus is missing. Issue-ID: CPS-2313 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ifd410de6d9607705857e4d98e2afab2556940f96
2024-08-20Merge "[k6] Fix teardown script shutting down all containers"Lee Anjella Macabuhay1-8/+2
2024-08-19Merge "Fix intermittent test failure of Delta between anchors"Priyank Maheshwari1-5/+7
2024-08-16[k6] Fix teardown script shutting down all containersdanielhanrahan1-8/+2
The teardown script in k6 shuts down ALL docker containers when done. This can cause failures in the groovy tests when running in parallel, as the groovy test container for DB also shuts down. This fix is to shut down using docker-compose. Issue-ID: CPS-2367 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ic55ca6396dfc3170e4a326f34214d3a819977f50
2024-08-16Merge "[k6] Remove incorrect passthrough rates"Lee Anjella Macabuhay2-14/+8
2024-08-16Fix intermittent test failure of Delta between anchorsdanielhanrahan1-5/+7
Test fails sometimes due to non-deterministic order of results. The issue is fixed by sorting the delta reports. Issue-ID: CPS-2369 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I60fd459a482a7e3dc209ee3056794817d37f5149
2024-08-16Get data job result from DMIleventecsanyi7-2/+235
- added DataJobResult interface - extended the DmiRestClient to retrieve status - added mock response to DmiDispatcher Issue-ID: CPS-2296 Change-Id: I551afd827cccd91c5f9837bd4923b30320865d55 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2024-08-16Merge "Rearrange CSIT test order"Sourabh Sourabh3-15/+38
2024-08-16Merge "Upgrading robotframework confluentkafka lib"Sourabh Sourabh3-4/+3
2024-08-16[k6] Remove incorrect passthrough ratesdanielhanrahan2-14/+8
Reported rates for passthrough operations is incorrectly reported, due to it being averaged over whole test time including setup and teardown. It was agreed to simply not report rates, and only report NCMP overhead. - remove http request rates for passthrough operations - change VUs from passthrough read so that there are 10 total Issue-ID: CPS-2264 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ida498955e69dffb332d6efeb8a8d73343565f9a1
2024-08-16Merge "Refactored Data Job interfaces"Priyank Maheshwari10-42/+47
2024-08-15Rearrange CSIT test ordermpriyank3-15/+38
- Waiting for Cmhandle to be ready before fetching the modules in the CSIT. - Added condition to check size of the json array if it atleast has one item Issue-ID: CPS-2313 Change-Id: Ib4f08069780c55a758ba976db5b96239c83ac990 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-08-15Integration test of registration with alternate IDdanielhanrahan1-0/+33
Add functional test of registering a batch of CM-handles with a mixture of existing, duplicate, new and blank alternate IDs. Issue-ID: CPS-2366 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iaed5c47ca0e14583bea91ee74924f1b5c1f01cec
2024-08-15Fix syntax error on k6 testdanielhanrahan1-1/+1
Issue-ID: CPS-2357 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ibbd32282608ff707c8030d43df3cf85043242218
2024-08-14Upgrading robotframework confluentkafka libmpriyank3-4/+3
- upgrading confluentkafka library for robotframework to 2.4.0-2 - reverted the change for the CSIT as the fix was done in the dmi-plugin-stub Issue-ID: CPS-2363 Change-Id: I3f7cd622177485435566ef814ffb38d4a93ed0ad Signed-off-by: mpriyank <priyank.maheshwari@est.tech>