aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
4 daysSet a permanent directory for the container logshalil.cakal1-1/+1
- Currently the container logs (cps-and-ncmp) being stored in the cps repository (in k6-tests/logs directory). In every build, cps code base being fetched freshly. Thus, the zipped container logs being lost. - Now, by using the WORKSPACE variable set by Jenkins job, the logs will be stored under the root directory of WORKSPACE permanently. Issue-ID: CPS-2676 Change-Id: I0f7f9a46b94fc3e438de39bbab04f9a59daf446b Signed-off-by: halil.cakal <halil.cakal@est.tech>
4 daysMerge "Refactor CM Handle Properties to be more realistic into K6 tests"Toine Siebelink3-15/+26
4 daysMerge "Zip and store logs for containers"Toine Siebelink2-5/+46
5 daysMerge "Added query limits to NCMP service methods"Toine Siebelink5-10/+28
5 daysZip and store logs for containershalil.cakal2-5/+46
- keep console logs printed for k6 results - zip and store container logs into jenkins' workspace so that it will be downloadable whenever needed Issue-ID: CPS-2676 Change-Id: If2864c0c372d0b7319bba06a3732b49b53c371a4 Signed-off-by: halil.cakal <halil.cakal@est.tech>
5 daysMerge "Optimize registration parameters"Toine Siebelink4-4/+4
8 daysMerge "Fix test-tools metrics script"Priyank Maheshwari1-6/+6
8 daysRefactor CM Handle Properties to be more realistic into K6 testssourabh_sourabh3-15/+26
Issue-ID: CPS-2637 Change-Id: I627cb8be0738e6b0f82dace361eb02889f193ace Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
8 daysMerge "Omit decendents when resolving AlternateId"Daniel Hanrahan5-19/+25
8 daysOptimize registration parametershalil.cakal4-4/+4
- change internal batch size from 100 to 300 - change input batch size from 100 to 2000 in k6 tests Issue-ID: CPS-2686 Change-Id: If9645facaee6c0d745a1e9dd12962a27e110f787 Signed-off-by: halil.cakal <halil.cakal@est.tech>
9 daysMerge "Randomize cm handle ids in a legacy batch array"Daniel Hanrahan2-4/+17
9 daysRandomize cm handle ids in a legacy batch arrayleventecsanyi2-4/+17
- added new JS method to get a random list of CmHandle IDs Issue-ID: CPS-2687 Change-Id: I3b02d4b7c03af3a05860e30b32877475b7e70dba Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
9 daysFix test-tools metrics scriptdanielhanrahan1-6/+6
The test script for generating spreadsheet report from prometheus metrics is currently broken (produces garbage output). - Issue is fixed by specifying space character as delimiter. - Add more metrics to the report to make script more useful. Issue-ID: CPS-2651 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I6347521f15bdfc1654243552bfe87190058bd8db
9 daysFix degradation in (de)registration performanceToineSiebelink5-67/+81
- Disabled CPS notifications by default (in yaml and java) - minor refactoring of related production code - Improved unit test regarding notifications being enabled/disabled to get 100% coverage - Removed now redundant test for enable/disable scenarios (2 replaced by 1 better test) Issue-ID: CPS-2684 Change-Id: If43cd9c06c1655e1d49c70c55830c4e3a579a6d4 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
9 daysAdded query limits to NCMP service methodsleventecsanyi5-10/+28
- modified CmHandleQueryService if - added limits to certain Impl methods Issue-ID: CPS-2678 Change-Id: Ia5fd58afcd6f48404aeafba08ee2977c3efc6dcc Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
10 daysOmit decendents when resolving AlternateIdseanbeirne5-19/+25
Issue-ID: CPS-2652 Change-Id: Ifcaa62d251ab0e4c926f13180acde90a02778c74 Signed-off-by: seanbeirne <sean.beirne@est.tech>
10 daysMerge "Add notes for request limitations"Lee Anjella Macabuhay1-0/+14
10 daysMerge "Use attribute-axis in NCMP [#2]"Daniel Hanrahan2-28/+23
10 daysMerge "Add APIs to control notification subscription"Daniel Hanrahan15-19/+820
10 daysMerge "Configure allowed request size for Nginx"Daniel Hanrahan1-0/+3
10 daysMerge "Add conditionalProperty for DeviceTrustLevelMessageConsumer"Daniel Hanrahan1-0/+2
10 daysAdd notes for request limitationsleventecsanyi1-0/+14
Issue-ID: CPS-2673 Change-Id: Ida88320ca3a5866933ee9b2303ad6bec6885c9c2 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
10 daysAdd APIs to control notification subscriptionrajesh.kumar15-20/+821
- Add API for notification subscription - Add API for notification unsubscription - Add API for getting notification subscription information Issue-ID: CPS-2428 Change-Id: I56c34400dc73c71b936a51260efd241224dccdba Signed-off-by: rajesh.kumar <rk00747546@techmahindra.com>
11 daysUse attribute-axis in NCMP [#2]emaclee2-28/+23
- uses queryleaf API on the methods queryCmHandleAnyProperties Issue-ID: CPS-2665 Change-Id: Ibad5888ae8ec8f23348d90d7c99871b075479e03 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
11 daysMerge "Improved unit test related to cm handle reference lookup"Lee Anjella Macabuhay1-15/+17
11 daysImproved unit test related to cm handle reference lookupToineSiebelink1-15/+17
Issue-ID: CPS-2605 Change-Id: Iac36b4838f640fa0bb4bf6bcc41f8a72e8c3bd8e Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
11 daysMerge "Use attribute-axis in NCMP [#1]"Daniel Hanrahan5-119/+102
12 daysBump CPS to 3.6.2-SNAPSHOTegernug23-23/+46
Issue-ID: CPS-2670 Change-Id: Ida5b74651cca38749c43bd21f410ba539539d914 Signed-off-by: egernug <gerard.nugent@est.tech>
12 daysContainer yaml for 3.6.1egernug1-0/+8
Issue-ID: CPS-2670 Change-Id: I260d97327063a7fb9d69fa7ec5df7e5d69900400 Signed-off-by: egernug <gerard.nugent@est.tech>
12 daysAdding maven stage yaml 3.6.1egernug1-0/+4
Issue-ID: CPS-2670 Change-Id: If136f148a3762bc5bfbac92e0146844c6fb86701 Signed-off-by: egernug <gerard.nugent@est.tech>
12 daysMerge "Release notes update for 3.6.1"Priyank Maheshwari1-2/+4
12 daysRelease notes update for 3.6.1egernug1-2/+4
Issue-ID: CPS-2670 Change-Id: I525976f68f69f1f8d9bfd81788cb332fdc5303f0 Signed-off-by: egernug <gerard.nugent@est.tech>
12 daysMerge "RTD update related to event schemas"Lee Anjella Macabuhay13-31/+95
12 daysAdd conditionalProperty for DeviceTrustLevelMessageConsumeremaclee1-0/+2
Issue-ID: CPS-2556 Change-Id: Id3be9bccdf40065794654cc414ae75a2184aebb8 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
12 daysRTD update related to event schemasmpriyank13-31/+95
- moving the event schemas file to corresponding folder in the docs folder as it is in the cps-ncmp-events - the files are updated as per the new event data schemas Issue-ID: CPS-2645 Change-Id: Ibcc9b504c6db8a3556773eeaadebcf02f1a3bb96 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2025-02-28Add CM Data Notification background Load to K6sourabh_sourabh3-28/+27
- Implement Kafka message producer with controlled throughput - Configured message rate to 1000 (default: 500). - Implemented constant-arrival-rate scenario to maintain controlled throughput. - Adjusted maxVUs from 1000 to prevent resource overload. - Added graceful shutdown with a 10s stop period. - Added it into main K6 suite Issue-ID:CPS-2587 Change-Id: I75fd1fa83892fd4775b27132059f73e9c0ea4d75 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2025-02-28Merge "Change order of CM Handle Reference lookup depending on special ↵Sourabh Sourabh12-95/+193
character"
2025-02-27Configure allowed request size for Nginxleventecsanyi1-0/+3
Issue-ID: CPS-2668 Change-Id: Ie7f1b2dcaa9883a40bc3e0e9c447b44ddf681f59 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2025-02-27Change order of CM Handle Reference lookup depending on special characterseanbeirne12-95/+193
- implemented new algorithm using validator to rule out standard id / prefer alternate id - moved validator imp to cps-service (not in RI) TBC!!! - changed order of characters tested in validator to fail fast (on '=') - added Boolean variation validator method to reduce overhead and prevent logic based on exceptions - improved integration test to cover all scenarios - add performance test for alternate id look up (report only) - ensured all performance test use alternate ids it '=' - added small groovy tests to restore cps-ri code coverage to 0.31 Issue-ID: CPS-2605 Change-Id: Id9c22bb69904b7f5d376b7f8319332428435333e Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Signed-off-by: seanbeirne <sean.beirne@est.tech>
2025-02-27Merge "Event data schemas for NCMP"Lee Anjella Macabuhay15-71/+148
2025-02-27Use attribute-axis in NCMP [#1]emaclee5-119/+102
- uses queryleaf API on the methods getCmHandleReferencesByTrustLevel, getCmHandleReferencesByDmiPluginIdentifier Issue-ID: CPS-2663 Change-Id: Ib9ff3ceb58b14664660f2a92b02e0bacf00bebda Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2025-02-25Event data schemas for NCMPmpriyank15-71/+148
- Updated the schema id as NCMP has a master copy of all the schemas that are used - Introduced an enum to keep track of the dataschemas at a single place. - Refactored NcmpEvent builder class to take type and dataschema as a parameter - Cleaned up dependencies - Refactored testware to prove the changes - Changes are according to the decisions recorded here https://lf-onap.atlassian.net/wiki/spaces/DW/pages/16554840/CPS-2425+Event+Schemas+in+ONAP#Agreed-Event-Schema-Names Issue-ID: CPS-2425 Change-Id: Icbda1aa20e3c4b0f2b6797d25b59e52cf9237c92 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2025-02-25Change metric name for LCM state gaugeemaclee3-3/+3
- change gauge name from cmHandlesByState to cps_ncmp_inventory_cm_handles_by_state Issue-id: CPS-2662 Change-Id: I97a036b155b638cd6ed94a739e3dffb7b6f00172 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
2025-02-21retry before stopping in docker-composempriyank1-1/+1
- configure restart policy as on-failure and set it to restart atmost 3 times and then give up. - prevents infinite restart - gives an opportunity to the app to heal on its own Issue-ID: CPS-2647 Change-Id: I6cd0c8601060ec518df1f10bcd0dac1b97f622d8 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2025-02-20Merge "Handle duplicated yang resource exception when creating schema set"Priyank Maheshwari2-4/+22
2025-02-20Handle duplicated yang resource exception when creating schema sethalil.cakal2-4/+22
- catch and log duplicated yang resource during schema set creation - there may be other exception when the app started however there will be a tech. dept ticket for them thus please review this commit for only duplicated yang resource exception Issue-ID: CPS-2647 Change-Id: Idf6063cb8328efc667516f09d25ad6c4c6fd8186 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2025-02-18Merge "Update packaged postman collection to include all rest endpoints"Daniel Hanrahan9-1957/+1720
2025-02-17Merge "Fix CpsSessionFactory for it to be used in prod code"Daniel Hanrahan3-52/+6
2025-02-17Merge "Add actuator port based on testProfile provided"Daniel Hanrahan1-1/+7
2025-02-17Enable the container logs and disable the container restart forhalil.cakal2-2/+8
cps-and-ncmp Issue-ID: CPS-2643 Change-Id: I57ba18dcaa71f4c2c5d985e9c870569e40d26880 Signed-off-by: halil.cakal <halil.cakal@est.tech>