aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-09-13Add CPS limit to the plotshalil.cakal1-16/+16
- as of now the cps limits given manually according to the latest result - there will be another commit will change the plot job in cicd repo to reflect the values on the plots Issue-ID: CPS-2350 Change-Id: Ic371f46894f1825dca1d26ec65ae0f62aa06c327 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-09-12Calculate throughput for legacy batch read data operationshalil.cakal3-53/+66
- stress the cps-and-ncmp module for batch read data operation - for this aim use shared-ireations during async http request - as parallel to this, consume expected number of messages as fast as possible Issue-ID: CPS-2268 Change-Id: I1b6724479dac7391cbb6407fda52d15176aa8985 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-09-11Merge "Renaming Delta Operations as per RFC 9144"Priyank Maheshwari11-50/+50
2024-09-10[k6] Fix incorrect results when errors occur in k6 tests (case 2)egernug1-1/+5
De-registration is reported as 200,000 handles per second if all operations fail - Added a running total for successful de-registrations of CM Handles Issue-ID: CPS-2346 Change-Id: Ib4302d3b605ff1eaf4ecadac11b4e851a69210df Signed-off-by: egernug <gerard.nugent@est.tech>
2024-09-10Merge "Fix high-cardinality metrics in k6, causing high memory use"Toine Siebelink4-58/+101
2024-09-10Merge "Uplift liquibase-core to 4.29.0"Toine Siebelink1-1/+1
2024-09-10Merge "NCMP should not use CPS SPI classes"Toine Siebelink6-52/+52
2024-09-10Renaming Delta Operations as per RFC 9144Arpit Singh11-50/+50
RFC 9144 recommends naming convention for operations that can be performed on any datastore. The recommended names are: - create - remove - replace Whereas in CPS Delta feature these operaitions were named: - add - remove - update So, "add" and "update" operations have been changed to "create" and "replace" respectively. Issue-ID: CPS-2393 Change-Id: Ie39f5f8ccc91e96cf484ca7fbc833a6be8758054 Signed-off-by: Arpit Singh <as00745003@techmahindra.com>
2024-09-10Fix high-cardinality metrics in k6, causing high memory usesourabh_sourabh4-58/+101
- Added unique IDs as metric tags for all the endpoints. - Re-arranged order of public and prive js methods. Issue-ID: CPS-2331 Change-Id: Ib876a647fb35110c50670c7222986e8a8a6f5ca0 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-09-09Uplift liquibase-core to 4.29.0mpriyank1-1/+1
- uplift liquibase-core to 4.29.0 to resolve the internal licensing issue Issue-ID: CPS-2392 Change-Id: Ia06bbb095a480c910d0df3d23ac719a746508856 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-09-06Refactor FragmentQueryBuilderdanielhanrahan1-79/+89
This is a refactoring of FragmentQueryBuilder, there are no functional changes. This refactoring is needed before main patch of CPS-2365. Issue-ID: CPS-2365 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I648616159719e084ba0e7cb4b09649cd17560cab
2024-09-05NCMP should not use CPS SPI classesdanielhanrahan6-52/+52
CpsDataPersistenceService is an internal interface of CPS, part of the SPI, intended only to be used by CPS. Instead, NCMP should use the public API of CPS, i.e. CpsDataService and CpsQueryService. This is an architectural issue, but it will affect upcoming changes, where changes to the SPI implementation should not affect public API. Issue-ID: CPS-2398 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I89339e1a3566a25e33168c24c8b8401ca52224e9
2024-09-05[k6] Minor correction to plot titlesdanielhanrahan1-2/+2
Plot title say Module filter instead of Module and Property. Issue-ID: CPS-2349 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ie23080a6085960b89132ad38d07d0c2b6f12471b
2024-09-05Merge "[Cps Path Parser] Move NCMP-specific logic to NCMP"Priyank Maheshwari6-27/+44
2024-09-05Merge "[k6] Align tests with updated requirements"Priyank Maheshwari5-76/+75
2024-09-04[Cps Path Parser] Move NCMP-specific logic to NCMPdanielhanrahan6-27/+44
Some special case code to disable ancestor-axis was added for CM-handle search (see CPS-2308). It is now relocated to NCMP. This makes other needed improvements of Cps Path Parser easier. - Move special case code into NCMP - Add integration test to ensure CM-handle search works Issue-ID: CPS-2365 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I168d6156be559166f115aa42e21cd987d98b7d41
2024-09-04Merge "Support alternate id for CPS-E05 GetCmHandleDetailsById"Daniel Hanrahan5-18/+25
2024-09-04Merge "[Cps Path Parser] Refactoring leaf conditions"Priyank Maheshwari4-55/+38
2024-09-04Merge "K6 Performance Graph fails frequently"Daniel Hanrahan1-0/+1
2024-09-04K6 Performance Graph fails frequentlysourabh_sourabh1-0/+1
- Overrides initial processing delay of every new module set tag for DMI plugin stub from 2 min (default) to 0 as a temp. solution. Issue-ID: CPS-2395 Change-Id: Ic875262314406ec55457e31a69c00d55293c1b74 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-09-04[Cps Path Parser] Remove unneeded validation in grammardanielhanrahan2-17/+2
The invalid prefix/postfix is not needed; existing tests show that PathParsingException is thrown in for invalid paths. Issue-ID: CPS-2365 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I202f0ca0bc5eb768fc3af711180405882dafc22d
2024-09-04[k6] Align tests with updated requirementsdanielhanrahan5-76/+75
- Test load increased to 5 CM handle searches and 5 Id searches to reflect current requirements. - CM handles searches now use a combined search filter including 1 module and 1 public property, so we are testing with a heavier load than required, for early warning of trouble. - Test load reduced for passthrough operations to 4 VUs per operation to reflect addition of batch operation. - Added test of passthrough write operation with alternate ID. - Additional refactoring. Issue-ID: CPS-2349 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I88d2fe431f74821e8e0e976441efcf82aa320849
2024-09-04Merge "Support Alternate-id for CPS-E05 module search"Daniel Hanrahan4-11/+17
2024-09-04Merge "Remove event notifications when removing trust level entries"Priyank Maheshwari3-24/+7
2024-09-04Support Alternate-id for CPS-E05 module searchseanbeirne4-11/+17
Issue-ID: CPS-2370 Change-Id: I0ca3a1df232ad9fd9f76695cd6ea21d36919130d Signed-off-by: seanbeirne <sean.beirne@est.tech>
2024-09-04Merge "Support Alternate-id for CPS-E05 module definition"Priyank Maheshwari5-24/+40
2024-09-03Support alternate id for CPS-E05 GetCmHandleDetailsByIdmpriyank5-18/+25
- added support for alternate id when retreiving cmhandle details by id - Note : The performance for alternate id fetching will be taken care as part of a separate story. Issue-ID: CPS-2385 Change-Id: I019b85d128e4b0a1f1d61623c92e1a2381c406c0 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-09-03Merge "Remove unused and duplicate dependencies in poms"Sourabh Sourabh2-17/+1
2024-09-03Merge "Fix huge logs produced when errors occur in k6"Daniel Hanrahan1-1/+3
2024-09-02Merge "[k6] Report failure rate for all tests in a single plot"Priyank Maheshwari2-16/+2
2024-09-02Remove event notifications when removing trust level entrieshalil.cakal3-24/+7
Issue-ID: CPS-2315 Change-Id: I4f0cb7c2066e0ab9c62ac9cdb0fc39ce7de7791b Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-09-02Support Alternate-id for CPS-E05 module definitionseanbeirne5-24/+40
Issue-ID: CPS-2379 Change-Id: Idd180c5792575522ceaaa094b94c8f5b36790186 Signed-off-by: seanbeirne <sean.beirne@est.tech>
2024-09-02Remove unused and duplicate dependencies in pomsdanielhanrahan2-17/+1
- remove duplicate dependencies from cps-service pom - remove unused spring security dependency from cps-application pom Issue-ID: CPS-2390 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Id49705e8790df7d7e98d80fa0ccb639eb4f1995f
2024-09-02Policy Executor: pass Change request as Objectsourabh_sourabh3-14/+35
- Added unit test for new exception handling Issue-ID: CPS-2335 Change-Id: I5517c91edf505932d0a94165c19420922b3f5f51 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-09-02Merge "Support alternate id interface for CPS-E-05 - publicProperties"Daniel Hanrahan6-26/+43
2024-08-31[Cps Path Parser] Refactoring leaf conditionsdanielhanrahan4-55/+38
Instead of DataLeaf and ComparativeOperators classes, we more simply have LeafConditions class with all info. Issue-ID: CPS-2365 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I8fd18bb56b8ed9d26a3f9d36f487d00a9274c8bc
2024-08-30[k6] Report failure rate for all tests in a single plotdanielhanrahan2-16/+2
Instead of separate plots of test failures for each test case, we have one single plot showing failures. Issue-ID: CPS-2347 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ie79b75c34903a7df2037474b3536d4867c1a61e0
2024-08-30Merge "Support 2 CPS instances in Prometheus/Grafana"Priyank Maheshwari8-8/+3642
2024-08-30[k6] Fix k6 tests after DMI stub changesdanielhanrahan2-6/+6
A change to DMI stub has broken k6 module search due to module rename and increased registration time. - increase setupTimeout by 2 minutes to factor in DMI startup delay - module search uses module common to all module set tags - only record times for searches returning number of CM-handles Issue-ID: CPS-2353 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I9067dc73015cfb475cdce1e7a3cc2d5401449caf
2024-08-30Fix huge logs produced when errors occur in k6sourabh_sourabh1-1/+3
- Changed k6 config to ignore all the error logs. Issue-ID: CPS-2344 Change-Id: Iad7be43ae5bb909518f9f7d8e386a97c96c349e3 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-08-30Support alternate id interface for CPS-E-05 - publicPropertiesmpriyank6-26/+43
- added alternate id support for the existing endpoint - Incorporated previous comments on the indendation - Added new component cmHandleReferenceInPath in openapi docs to depict the correct example Issue-ID: CPS-2378 Change-Id: I63e752fbb6cb0bde49d1ced53f063743d904d74e Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-08-29Merge "[k6] Exclude timings when error occur"Priyank Maheshwari2-28/+37
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-27[k6] Exclude timings when error occurdanielhanrahan2-28/+37
If an error occurs during k6 test, e.g. tcp connection refused, the timing of failed response is included in the average response time. This can lead to incorrect plots when errors occur, e.g. operations appear to be faster when really the operations are failing. - use custom Trend metrics for all measurements - only log results when operations return expected response codes Issue-ID: CPS-2345 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iab1db5e5ca9530f33da239187348cabcd0605648
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>