summaryrefslogtreecommitdiffstats
path: root/a1-policy-management/src/test
AgeCommit message (Collapse)AuthorFilesLines
2024-09-04Improve tests/issues found in Sonar report - A1 ↵raviteja.karumuri7-74/+45
Oslo/NewDelhi/Montreal/London-Part 4-master Issue-ID: CCSDK-4037 Change-Id: I8baa1d36ca50c7264f6aebcc176370f90bf06c80 Signed-off-by: Raviteja Karumuri <raviteja.karumuri@est.tech>
2024-08-30Improve tests/issues found in Sonar report - A1 ↵raviteja.karumuri9-64/+217
Oslo/NewDelhi/Montreal/London-Part3-master Issue-ID: CCSDK-4037 Change-Id: I0b330deeced3e50a494e5f00962358d90195a37b Signed-off-by: Raviteja Karumuri <raviteja.karumuri@est.tech>
2024-08-23Dependecy update in a1pms using spring parent 3.3.2lapentafd2-17/+5
Issue-ID: CCSDK-4026 Change-Id: I8d53fd8a2918c154a390d44181e6a96bf476a6db Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2024-08-22Merge "Improve tests/issues found in Sonar report - A1 Oslo-Part2"Dan Timoney2-0/+80
2024-08-22Merge "Add database support"Dan Timoney1-0/+371
2024-08-19Enable springboot test for AsyncRestClientTestlapentafd1-0/+2
After enabling telemetry, all tests using AsyncRestClient also need some other Beans provided by Springboot Issue-ID: CCSDK-4010 Change-Id: I92c0502491789f6807ca80ac559f8494d05d0a6d Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2024-08-15Improve tests/issues found in Sonar report - A1 Oslo-Part2raviteja.karumuri2-0/+80
Issue-ID: CCSDK-4037 Change-Id: I21e8cf39fe3c4b47af651b4a613edead7a87aacd Signed-off-by: Raviteja Karumuri <raviteja.karumuri@est.tech>
2024-08-15Add database supportaravind.est1-0/+371
Postgres database support added. Issue-ID: CCSDK-4033 Change-Id: I1bd74a4b7f4454accb0a9b04cd37fe5d95700885 Signed-off-by: aravind.est <aravindhan.a@est.tech>
2024-08-15Improving code-coverage for the Handle non transient policy deletion bug fix ↵raviteja.karumuri1-0/+27
- master Issue-ID: CCSDK-4047 Change-Id: Ia9afe1e566d8d76eb56eb49f3184c94c6915e8df Signed-off-by: Raviteja Karumuri <raviteja.karumuri@est.tech>
2024-08-02Improve tests/issues found in Sonar report - A1 Osloraviteja.karumuri4-12/+12
Issue-ID: CCSDK-4037 Change-Id: Ic8e13141f2e0dcb32c51134f96ce883bc05701ee Signed-off-by: Raviteja Karumuri <raviteja.karumuri@est.tech>
2024-06-26Wrap AsyncWebClient to use less the ApplicationContextProvider1.7.0lapentafd2-11/+11
Issue-ID: CCSDK-4022 Change-Id: I2ecc3431ef646fe408de0de35698e8f369a55ee4 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2024-06-20A1-PMS http Telemetrylapentafd2-0/+136
Issue-ID: CCSDK-4010 Change-Id: Ib81f246f3e79f49c9361e802b2a73a99f7eb6db9 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2024-06-20Implementing other V3 Controllersraviteja.karumuri5-12/+439
Issue-ID: CCSDK-4008 Change-Id: I00408d0189f26142f50c8ee3ae90fc98647e7a0d Signed-off-by: Raviteja Karumuri <raviteja.karumuri@est.tech>
2024-05-29Unit Test cases for the V3Controller Endpointsraviteja.karumuri3-54/+301
Issue-ID: CCSDK-4007 Change-Id: Ibc55cc660406b2129a56c0c0e565ab857cb4629b Signed-off-by: Raviteja Karumuri <raviteja.karumuri@est.tech>
2024-05-29Implementing remaining end points for V3 controllerraviteja.karumuri3-44/+82
Issue-ID: CCSDK-4006 Change-Id: Ie186c5fc6b3d5eb90297d3a36ff6160ee4667e44 Signed-off-by: Raviteja Karumuri <raviteja.karumuri@est.tech>
2024-05-29Implementing Create Policy for V3raviteja.karumuri5-13/+610
Issue-ID: CCSDK-4003 Change-Id: I0da2525c8ef273f23519e9bb4332f64e92e23cb8 Signed-off-by: Raviteja Karumuri <raviteja.karumuri@est.tech>
2024-02-16Improve error message for A1 client custom adapter handlingaravind.est1-0/+14
Error message improvement when using custom handler. Issue-ID: CCSDK-3986 Signed-off-by: aravind.est <aravindhan.a@est.tech> Change-Id: I11db77d7f861432614a7685498eeca02bba1a8fb
2023-10-16Adding Schema reference in the API definition instead of declaring Object Typeraviteja.karumuri1-20/+23
Issue-ID: CCSDK-3937 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: Ic301c785a39a0f6d0e5057e67dc592eda01a3d0b
2023-09-27OpenApi-First approachraviteja.karumuri2-151/+174
Issue-ID: CCSDK-3927 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: Ie88b84cce42081f1becdf186813b2e557479297b Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech>
2023-08-28Update message returned for Status checkJohnKeeney1-2/+2
Issue-ID: CCSDK-3932 Change-Id: I9db85ecf697cf5b908ea69f5476820a49a384697 Signed-off-by: JohnKeeney <john.keeney@est.tech>
2023-06-21Support of the status_notification_uri in A1Policy creationnitincg2-7/+7
Issue-ID: CCSDK-3911 Change-Id: I3ada7a16db879a06f3b446025cf1fd794d67ac22 Signed-off-by: nitincg <nitin2.jain@capgemini.com>
2023-04-19A1 PMS support for fine grained access control -A1 LondonPatrikBuhr1-1/+1
Documentation updates. Issue-ID: CCSDK-3889 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: Iaa73d0128a4c466ed2b3d1803af66368d3c37fa6
2023-04-06A1 PMS support for fine grained access control -A1 LondonPatrikBuhr2-1/+189
Issue-ID: CCSDK-3885 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I2ee8f40389d1d53cbfd9433232e0f35f2644361b
2023-04-04Regenerated documentation, code formattingPatrikBuhr8-18/+20
Updated the spoless maven plugin version and re-run the code formatting. Re-generate the API documentation. No changes. Issue-ID: CCSDK-3883 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I95e88ebbd144b37bc1f7ca3b722bfc748e5ae801
2023-04-03Changes needed to make custom adapters that accesses CCSDKPatrikBuhr7-61/+52
To access the CCSDK a custom adapter needs the controller configuration. Issue-ID: CCSDK-3883 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I6fb3eb3bb953f3fc209229282b66c9e1aa10cdee
2023-03-31Fix some issues identified by sonarJohnKeeney2-3/+4
Change-Id: Ia1f1ebb3c0dec111d4544d750f983ebb7976d761 Issue-ID: CCSDK-3882 Signed-off-by: JohnKeeney <john.keeney@est.tech>
2023-03-01Update to JDK 17 & Springboot 3JohnKeeney3-4/+4
Issue-ID: CCSDK-3858 Change-Id: I3b0f9b391590684b222494bd648328626a3f9efb Signed-off-by: JohnKeeney <john.keeney@est.tech>
2023-02-27Removal of usage of DMaaPPatrikBuhr21-653/+43
Issue-ID: CCSDK-3852 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I88a370ea81f56763f54fde472c30d894c0df04e3
2023-02-02surefire-report summary generation including JUnit DisplayNamehalil.cakal20-0/+162
Issue-ID: CCSDK-3844 Change-Id: I696b0ff3001eb6170787ebdbd249507cc761c12a Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-01-19Changes needed for springboot version 2.7.7PatrikBuhr2-4/+3
Change-Id: Ie13ba28d3d9bf62a7851145ab84d3a1509d84261 Issue-ID: CCSDK-3841 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2023-01-11A1-PMS, graceful shutdownPatrikBuhr3-3/+37
Support for granceful shutdown via signal "SIGTERM" and via calling REST POST /actuator/shutdown Issue-ID: CCSDK-3830 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: Ibc71cd8a2c9f44ec844ab49c8f225ae128549776
2022-12-28ONAP PMS - new RICs must be locked before synchPatrikBuhr3-45/+24
Bugfix, new RICs must also be locked before synch. Otherwise other activities may interfere. Improved the synch. Previously, all policies were removed from the NearRT-RIC and eventually recreated. After this fix, only unknwon policies are removed. Change-Id: Ic6224aeb93ef91579cfb8894329538baf1829283 Issue-ID: CCSDK-3827 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2022-12-06A1-PMS, make service id optional in PUT PolicyPatrikBuhr1-4/+44
Improved API documentation. Fixed a bug that lead to that a policy could be connected to several services if the service_id was changed. Change-Id: I211f5db32747fc912b7ba85bfbc15ce50ee725dd Issue-ID: CCSDK-3819 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2022-11-11Support for using Amazon S3 - Cloud Object StoragePatrikBuhr3-50/+74
Introduce using Amazon S3 - Cloud Object Storage - AWS for storing of data. Change-Id: I68365c24c63544b5ad8e958a98f48d95f83e3084 Issue-ID: CCSDK-3810 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2022-11-01sonarcloud fixeshalil.cakal1-35/+36
Sonarqube fixes Issue-ID: CCSDK-3766 Change-Id: Ib03463a13194c18b00ed0d99754d7884af0d805f Signed-off-by: halil.cakal <halil.cakal@est.tech>
2022-10-19Merge "Metrics and statistics for A1 PMS"Dan Timoney2-1/+156
2022-10-17Metrics and statistics for A1 PMShalil.cakal2-1/+156
Enable app metrics to be collected by Prometheus Patch set 2: Remove hardcoded defines ccsdk.sli dependency Issue-ID: CCSDK-3766 Change-Id: I58f05390007b74e58427b9be2711912c551d6e1e Signed-off-by: halil.cakal <halil.cakal@est.tech>
2022-09-29Minor logging improvementPatrikBuhr1-3/+3
Debug logging of REST response body in case of error. Removed some irrelevant logs. Issue-ID: CCSDK-3766 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I3c7b62acd1736f9447e3494c655d85372a4c521f
2022-08-12NONRTRIC PMS, updated certsPatrikBuhr3-4/+6
Updated certificate (which was expired). Issue-ID: CCSDK-3683 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I373bf34bc0a1bb0b5b5ff00f0f98da080ba794ff
2022-07-06NONRTRIC PMS, updated SDNC rest interfacePatrikBuhr3-9/+0
Update path and output-json for SDNC rest interface - A1 Kohn Issue-ID: CCSDK-3193 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I9f29df244671558f6ae788f862aa620e4e4a9466
2022-06-10NONRTRIC PMS, Sporadic instabilityPatrikBuhr4-24/+39
Some further simplifications and added test. Issue-ID: CCSDK-3683 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I1ec98017d63047a0036db5ea12f770db00b1152b
2022-06-09NONRTRIC PMS, Sporadic instabilityPatrikBuhr1-0/+16
Attempt to stablize the synch. Issue-ID: CCSDK-3683 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: Ieda858e76082fd5224ac43f153e8967f871322d8
2022-06-07NONRTRIC PMS, Sporadic instabilityPatrikBuhr2-56/+16
Attempt to stablize the synch. Issue-ID: CCSDK-3683 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: Ie0f266e2eef23e91dcf6f5925a577bb930b6d9e8
2022-05-25Merge "NONRTRIC PMS added support for custom A1 adapters"Dan Timoney1-1/+1
2022-05-24NONRTRIC PMS removalof usage of immutablePatrikBuhr14-139/+77
Issue-ID: CCSDK-3629 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: Ib256d15a035133e25cd455fae44cfe33d8b82797
2022-05-24NONRTRIC PMS added support for custom A1 adaptersPatrikBuhr1-1/+1
Updates of the json schema for configuration. Made it stricter and added the customAdapterClass prpoperty. Issue-ID: CCSDK-3655 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I11993d74cec3b39642ff836a1b7a207f2f7570ed
2022-05-16Merge "Documentation updates"Dan Timoney1-1/+1
2022-05-12Documentation updatesJohnKeeney1-1/+1
Updated RTD documentation, and fixed some typos in java files conatining annotations used to generate OpenAPI (json, yaml, html) specs & docs. Issue-ID: CCSDK-3616 Change-Id: Iefa905f4c0f13cb013872d4858232695fc107927 Signed-off-by: JohnKeeney <john.keeney@est.tech>
2022-05-12NONRTRIC PMS added support for custom A1 adaptersPatrikBuhr12-5/+57
Added support for added external A1-P adapter. This makes it possible to design and include adapter to APIs for accessing of A1 policies (in a NearRT-RIC) without any changes in this SW. Issue-ID: CCSDK-3655 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: Idc7bf97963a2455bde983b06a5f861df77d901ae
2022-03-31NONRTRIC PMS using authorization tokenPatrikBuhr11-19/+64
Added support for PMS sending an authorization token in each REST call(in the HTTP header). The token is read from a file. Issue-ID: CCSDK-3560 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I92229f67d2c1486530f3c6ebb22f60bd3b359676