aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
7 daysRelease notes update for 3.6.1egernug1-2/+4
Issue-ID: CPS-2670 Change-Id: I525976f68f69f1f8d9bfd81788cb332fdc5303f0 Signed-off-by: egernug <gerard.nugent@est.tech>
10 daysAdd 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>
10 daysMerge "Change order of CM Handle Reference lookup depending on special ↵Sourabh Sourabh12-95/+193
character"
11 daysChange 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>
11 daysMerge "Event data schemas for NCMP"Lee Anjella Macabuhay15-71/+148
13 daysEvent 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>
13 daysChange 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>
2025-02-17Update packaged postman collection to include all rest endpointsseanbeirne9-1957/+1720
- Bumped dmi version used by docker Issue-ID: CPS-2504 Change-Id: I7b61aa692432ae79fc26b1c93f7f8a9981d9bcdd Signed-off-by: seanbeirne <sean.beirne@est.tech>
2025-02-17Add actuator port based on testProfile providedmpriyank1-1/+7
- kpi uses 8883 port for healthcheck and endurance profile uses 8884 port. Issue-ID: CPS-2642 Change-Id: I0ee63f14e30141d894eb0e8b9a646a3e4112dac8 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2025-02-17Fix CpsSessionFactory for it to be used in prod codempriyank3-52/+6
- Injecting SessionFactory bean from the spring container instead of manually creating it. - Removing explicit addition of Annotated class as anyways the classes are Entity classes and added to the metadata. So no need to add it explicitly - also removing the unused hibernate config file Issue-ID: CPS-2629 Change-Id: Ife2ae3828d009893de70d9c755d6a07cef2f8d07 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2025-02-14Merge "Realistic Examples: NCMP Open API and Doc"Daniel Hanrahan3-180/+93
2025-02-14Merge "Add healthchecks for docker-compose for k6 and CSIT"Sourabh Sourabh5-73/+108
2025-02-14Merge "Fix WriteSubJobSpec test to support Windows"Priyank Maheshwari1-1/+1
2025-02-13Realistic Examples: NCMP Open API and Docsourabh_sourabh3-180/+93
- Updated resourceIdentifier query parameter to align with GNBDUFunctionConfig structure. - Added examples for querying all GNBDUFunctions, specific gNB IDs, and sub-resources like RIM-RS reporting configurations. Issue-ID: CPS-2483 Change-Id: Ibdd93f51debdd797e8cc809774b703c342052559 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2025-02-13Add healthchecks for docker-compose for k6 and CSITdanielhanrahan5-73/+108
To improve reliability and consistency of healthchecks in k6 and CSIT tests, they are implemented in docker-compose. This commit adds fail-fast logic, where k6 and CSITs will abort immediately if the containers won't start. Implementation: - Add healthchecks for docker containers used in tests. - Change k6 & CSIT tests to use docker healthchecks. - Tests will abort if containers are not healthy. - Start-up timeout for CPS containers is 90 seconds - Start-up timeout for other containers is 60 seconds Other Improvements: - Add --quiet-pull option to suppress junk output in Jenkins logs. - Add kpi.env file containing environment variables for KPI pipeline, just like endurance.env. This allows same code to run either suite. - Changed from port range to port number for Postgres exporter, since only a single instance runs, to be consistent with other containers Issue-ID: CPS-2630 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I50929ca4061bb844fca87a0d6c3103aaa2c45e0b
2025-02-13Fix WriteSubJobSpec test to support Windowsegernug1-1/+1
- Added to test to support Windows/Kubernetes network resolution by MockWebServer Issue-ID: CPS-2641 Change-Id: I1bfe1db66438bbbf7df9e94c8d42cfe84d68b220 Signed-off-by: egernug <gerard.nugent@est.tech>
2025-02-12Store yang resources with recommended RFC-6020 file-nameToineSiebelink8-42/+86
- Ignore input filename and create filename from module name and revision - added integration test to verify names and edge cases (before and after change) - Some code cleanup (vars etc) - Implemented NB comments from last merge(https://gerrit.onap.org/r/c/cps/+/140180) - fixed SQ warning Out of scope: - BLANK revision, test it but failed in ODL Yang Parser and many other places: not supported! Issue-ID: CPS-138 Change-Id: I6fe6d0f8f3683196b183c6e6582ad8eefdfbb7d7 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2025-02-12Merge "Change Datajob Status return value"Priyank Maheshwari3-10/+8
2025-02-12Change Datajob Status return valueegernug3-10/+8
- Change to return entire JSON object instead of status string Issue-ID: CPS-2613 Change-Id: I63d8a9d078f003fc06e301bf9921f7942b3603ab Signed-off-by: egernug <gerard.nugent@est.tech>
2025-02-11Merge "Query data nodes with limit"Toine Siebelink10-11/+117
2025-02-11Query data nodes with limitleventecsanyi10-11/+117
- added new methods to java interfaces - added integration test - removed unused methods Issue-ID: CPS-2394 Change-Id: Iac4094a5daedbf593d17f55928136a80391c6d23 Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
2025-02-07Fix for intermittent failures of module sync testsdanielhanrahan7-59/+30
- Removed PollingConditions as ModuleSyncWatchdog is now synchronous - Use Hazelcast IMap::delete instead of IMap::removeAsync to fix root cause of test failures: removeAsync may not be finished when module sync is re-run during tests. Issue-ID: CPS-2615 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I1786a1303606132218dc8e4e91fb58e6f6cc0bcb
2025-02-07Disallow docker-compose to use swap spacehalil.cakal1-0/+1
- if swap memory is active on any host, the docker-compose will add it on top of JVM process memory. This will exceed the total memory reservation of the container, eventually cause restart. - swap limit can not be lower than the total memory limit, thus given 3G. this will disallow docker-compose to use swap space Issue-ID: CPS-2628 Change-Id: I01bd4a1fd3f4e894fe8236bbc38cd7718fb0b6fb Signed-off-by: halil.cakal <halil.cakal@est.tech>
2025-02-06Merge "Remove the profile from postgres-exporter service"Daniel Hanrahan1-2/+0
2025-02-06Merge "Fix duplicated yang resource references V2"Daniel Hanrahan27-455/+288
2025-02-06Fix duplicated yang resource references V2ToineSiebelink27-455/+288
- Store Yang module references using SchemaSetEntity instead of SQL - Added integration test to check number of references - Update dispatcher for integration test to only return yang resources requested modules - refactor schema set create & upgrade methods for better re-uses and readability - consistent naming in related methods like(new)yangResourceContentPerName (the name can be filename, module name or schema set name) depending on the context - replaced 'var' with actual class names in affected classes Issue-ID: CPS-2605 Change-Id: I8870c70832ac533bd17ce8af409a071f659e4acf Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2025-02-06Remove the profile from postgres-exporter servicehalil.cakal1-2/+0
- The profile 'monitoring' prevents postgres-exporter service to run for both kpi and endurance pipelines. As a result, the postgres dashboard does not work on Nordix Grafana. Issue-ID: CPS-2585 Change-Id: I272ab609c60094bb347ef405787679860cc43595 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2025-02-06Merge "Add Hikari dashboard to Grafana"Daniel Hanrahan6-657/+1029
2025-02-05Merge "Remove multithreading from module sync watchdog"Toine Siebelink10-282/+21
2025-02-05Update deployment docs with minimum requirementsdanielhanrahan1-3/+13
- Add minimum CPU and Memory Requirements for NCMP to the deployment documentation, for both 20K and 50K use-cases. - Updated recommended heap allocation to 70%, based on analysis of JVM Process Memory metric in Grafana. Issue-ID: CPS-2584 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Idb056eabf7529f1bc2288a3e07975f080f413c3f
2025-02-05Add Hikari dashboard to Grafanahalil.cakal6-657/+1029
- hikari dashboard will insight into db connection pool such as connection count e.g. min, max, and idle. - change coloring for some panel from JVM dashboard - add tags to the dashboards Issue-ID: CPS-2592 Change-Id: Ibfb49ab5c1e338d04a7c8f18a413b5db7b8d5ad7 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2025-02-05Merge "Change event topic name for trust level"Daniel Hanrahan5-18/+20
2025-02-04Merge "Organise NCMP & CPS Event Schema Folders"Priyank Maheshwari11-0/+2
2025-02-04Merge "Fix deprecation issue related to KafkaContainer"Daniel Hanrahan3-12/+10
2025-02-04Merge "Simple implementation of attribute-axis"Lee Anjella Macabuhay5-12/+41
2025-02-04Merge "Realistic Examples: K6 Test-ware"Toine Siebelink1-3/+3
2025-02-04Merge "Enable filtering by instance"Lee Anjella Macabuhay1-39/+39
2025-02-04Increase initial module processing delay to 3 minsdanielhanrahan1-1/+1
Issue-ID: CPS-2616 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ie179c6e16cb9c49944b64665aba89c85029f4268
2025-02-04Simple implementation of attribute-axisdanielhanrahan5-12/+41
This minimally implements attribute-axis using existing queryDataNodes API. Acceptance tests are un-ignored now. Issue-ID: CPS-2416 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ia06be3dd85dfce261d9d78529784d54d84b71bcd
2025-02-04Remove multithreading from module sync watchdogdanielhanrahan10-282/+21
After introduction of module set tag improvements, there is no need to multithreading in module sync. Performance impact is minimal. Issue-ID: CPS-2165 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I1557fc8348d39da3654a1b92944c6ad49fa8670d
2025-01-31Realistic Examples: K6 Test-waresourabh_sourabh1-3/+3
- resourceIdentifiers must be url encoded fdns from ManagedElement. e.g.: ManagedElement=NRNode1/GNBDUFunction=1/NRCellDU=cell1 - resourceIdentifer refers to the object where the search starts from. This request will search for NRCellDUs and return their cellLocalId. The resourceIdentifier should be: ManagedElement=NRNode1/GNBDUFunction=1 Issue-ID: CPS-2482 Change-Id: Ic6ac360c71fcfc80f27367b626ad85d40a58a292 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2025-01-31Enable filtering by instancehalil.cakal1-39/+39
- if kpi and endurance suits runing together at the same time, instance flag will help to filter either of them. otherwise the stats for both suits will be visible on a single plot together. Issue-ID: CPS-2585 Change-Id: I422adb0afd3a618c477989a9396636f63808c275 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2025-01-30Organise NCMP & CPS Event Schema Foldersseanbeirne11-0/+2
-Directories will reflect application.yml topic topology Issue-ID: CPS-2590 Change-Id: I42bfa10c54ae79726b5ad0b4d60a0d9e826a34d5 Signed-off-by: seanbeirne <sean.beirne@est.tech>