aboutsummaryrefslogtreecommitdiffstats
path: root/a1-policy-management/api
AgeCommit message (Collapse)AuthorFilesLines
11 daysSet serviceId in v2 policy_info to optional and blank by defaultlapentafd3-2755/+3182
Issue-ID: CCSDK-4044 Change-Id: Ia75353e4bb7fdaf726da720457dd0781aead2c22 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2023-10-16Adding Schema reference in the API definition instead of declaring Object Typeraviteja.karumuri1-11/+11
Issue-ID: CCSDK-3937 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: Ic301c785a39a0f6d0e5057e67dc592eda01a3d0b
2023-09-27OpenApi-First approachraviteja.karumuri1-379/+453
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-04-19A1 PMS support for fine grained access control -A1 LondonPatrikBuhr3-388/+391
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 LondonPatrikBuhr3-7/+541
Issue-ID: CCSDK-3885 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I2ee8f40389d1d53cbfd9433232e0f35f2644361b
2023-04-04Regenerated documentation, code formattingPatrikBuhr3-3/+3
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-03-01Update to JDK 17 & Springboot 3JohnKeeney3-538/+15735
Issue-ID: CCSDK-3858 Change-Id: I3b0f9b391590684b222494bd648328626a3f9efb Signed-off-by: JohnKeeney <john.keeney@est.tech>
2023-02-20Added secondary A1PMS API documentationJohnKeeney3-15685/+518
Updated SnakeYAML version to address CVE-2022-38750 CVE-2022-38752 CVE-2022-25857 Change-Id: Ib9ae706bd9fbde2a9f586643ee0eda259ee1f4a9 Signed-off-by: JohnKeeney <john.keeney@est.tech> Issue-ID: CCSDK-3842 Signed-off-by: JohnKeeney <john.keeney@est.tech>
2023-02-03Fix HTML2 docs, place index.html inside api folder,halil.cakal1-0/+15247
rebase master, Issue-ID: CCSDK-3842 Change-Id: Id68da033fef45af68eaf6954ad71bf6ca31b2e79 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2023-01-11A1-PMS, graceful shutdownPatrikBuhr2-4/+34
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-06A1-PMS, make service id optional in PUT PolicyPatrikBuhr2-13/+20
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-01Roll version & Update 3PPsJohnKeeney1-138/+495
version roll -> 2.5.0-SNAPSHOT jackson-bom -> 2.13.4.2 (via spring-boot-starter:jar:2.6.11) to address CVE-2020-36518 & CVE-2022-42003 & CVE-2022-42004 snakeyaml -> 1.32 (via spring-boot-starter:jar:2.6.11) to address CVE-2022-25857 & CVE-2022-38752 & CVE-2022-38749 & CVE-2022-38751 & CVE-2022-38750 guava -> 31.0.1-jre to partly address CVE-2020-0926 Issue-ID: CCSDK-3618 Change-Id: Ibe428dfb19adfb13f325398c69430334f2dd516c Signed-off-by: JohnKeeney <john.keeney@est.tech>
2022-05-25Attempt to get stdout&stderr for CSIT testsJohnKeeney2-13/+16
Also small tweak for RTD documentation Issue-ID: CCSDK-3675 Change-Id: Idd8acca0e07dc45c6f76a78a321b1075f3ee31ef Signed-off-by: JohnKeeney <john.keeney@est.tech>
2022-05-12Documentation updatesJohnKeeney2-21/+21
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-03-25NONRTRIC Minor changesPatrikBuhr2-91/+91
Some version updated and changes related to swagger documentation generation. Issue-ID: CCSDK-3560 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I59311f5fd09face79e9dce185c65374522dcb40e
2022-02-09Updated Lock to avoid starvationPatrikBuhr2-2/+2
The lock class is made more greedy so all locks are granted in the requested order. Previously, an exclusive lock could be discriminated. Issue-ID: CCSDK-3560 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: If2dd171409c58eacbccce9569b2f6694e09992a2
2022-01-12PMS, Removed use of CBSPatrikBuhr2-8/+4
Removing usage of the deprecated component CBS, which was used for application configuration data. Change-Id: I11fbc1ff6e6caa1af448bc2918f4364777094e25 Issue-ID: CCSDK-3560 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2022-01-10A1 Policy Management, Removal of deprecated APIPatrikBuhr2-1183/+32
The V1 of the policy management API is removed from the code. Issue-ID: CCSDK-3559 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I0b5cde71770fca3826ad18025094d1c8423f4cf3
2022-01-05A1 Policy ManagementPatrikBuhr2-32/+34
Prepare to step springboot fwk to version 2.6.2 Adding a log statement Issue-ID: CCSDK-3495 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I33fcba31de2ffc259d3366056f979141816f0fb2
2021-12-29A1 Policy ManagementPatrikBuhr2-2/+3
Sorting of compatible policy type IDs Issue-ID: CCSDK-3495 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I9b092b82a24e951f0ac1f446b37cc0db2d644e3a
2021-11-30A1 Policy ManagementPatrikBuhr2-9/+345
API documentation updates. Issue-ID: CCSDK-3495 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: Ib4f5cfd437a1bad99528d19dcec61f6dc521593b
2021-11-29A1 Policy ManagementPatrikBuhr1-7/+0
Removed regexp parameter due to sonar warning. Skipping reading of config file unless it has been changed. Issue-ID: CCSDK-3495 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I27bece78c99e0354cd476bb2e060788d40f2cbaf
2021-10-15Improving searching for policy types - A1 JakartaPatrikBuhr2-28/+110
The querying for supported policy types is enhanced so that an application can get a list of all policy types that are compatible with a given version. This means added query parameters for GET types. Simplified exception handling. Issue-ID: CCSDK-3495 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: Iedc2267e4fe2b5e2c17d688e315893c354379930
2021-04-30PMS Persistent storage of service definitions - A1 IstanbulPatrikBuhr2-2/+2
Storing or registerred services to survice a restart. Change-Id: If1b41d0a3c995b51bb93000caca5ecff9da6fbc1 Issue-ID: CCSDK-3256 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2021-04-20PMS Persistent storage of policies and type definitions - A1 IstanbulPatrikBuhr2-4/+4
Bugfix,improved traces, avoiding synch for RICs after restart. Change-Id: I35ae834cd73cde6b108b941aa0f2c43eeda9379e Issue-ID: CCSDK-3256 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2021-04-07PMS Persistent storage of policies and type definitions - A1 IstanbulPatrikBuhr2-4/+4
Policy types and type definitions are stored persistently to survive a restart of PMS. Change-Id: Ideae4dae5b6f9de2b82127e65ce5184d615c8fd4 Issue-ID: CCSDK-3256 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2021-02-02Improved API documentationPatrikBuhr2-1570/+1199
Using swagger3 and improving the API documatation. Change-Id: I31f7783e0a6e6fd7698c68e5df6f2d306bce6816 Issue-ID: CCSDK-3127 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2021-01-21PMS API Documentation updatesPatrikBuhr2-137/+114
Change-Id: I2a02145c48fd4b022b2e17b157760bd7ddb8128f Issue-ID: CCSDK-3077 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2021-01-15Added a prefix to the PMS NBIPatrikBuhr2-704/+707
Replaced the copied pms api files under offered api with symlinks. Change-Id: I9421fdb959078e5de1a20987f3c2a2fa626bb25d Issue-ID: CCSDK-3077 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2021-01-07Global Exception HandlerLathish1-16/+19
Issue-ID: CCSDK-3054 Change-Id: I0281e616b58bb405b4f79d046af5c30b82753ea0 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2020-12-14Removing host from genernated docPatrikBuhr2-10/+9
Change-Id: If25daa12d270a43928f583d3a5cbc2258bb426d9 Issue-ID: CCSDK-2966 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-12-08Add generation of API yaml fileelinuxhenrik3-0/+3066
Change-Id: I3f3091c76b926425f9a2187e43dd03a1cdb4bda6 Issue-ID: CCSDK-2736 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2020-10-16Add A1 Adapter API documentationelinuxhenrik2-2225/+0
Change-Id: Id19e858c67681b781871169ef79da5edf48c5cb2 Issue-ID: CCSDK-2833 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2020-10-12Improvent of usage of AsynchRestClientPatrikBuhr1-19/+19
Change-Id: I34ce159abacde85cfe7631402491e457d30c7097 Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-10-05Generated api/api_generated.jsonPatrikBuhr2-1341/+1383
Change-Id: I22142f7752dd3876a689742af17caaf74c13f349 Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-08-25Some improvements if NBI V2.0PatrikBuhr2-75/+75
Improved generated swagger API. Furter alignments to https://opensource.zalando.com/restful-api-guidelines/#118 Improved unitttest for faulty JSON in configuration. Changed names: "NonRT-RIC" to "Non-RT RIC" and "NearRT-RIC" to "Near-RT RIC" Change-Id: I4ca0d45605a770b5c33e34019671e088e3fe979d Issue-ID: CCSDK-2498 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-08-20REST Style alignment for A1 Policy ManagementPatrikBuhr1-0/+1341
Created a structure for support of different NBI APIs. A version 2 is started, which introduces changes initiated by reviews and aligns to https://opensource.zalando.com/restful-api-guidelines/#118 More alignment will be done in later commits. Issue-ID: CCSDK-2498 Change-Id: I810ecce79b5e2462cc77a1c2e7c638fbc6d54774 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-07-30Add the Policy Management Service APIelinuxhenrik1-0/+842
Change-Id: I1c816846ebc2d459d0619550c6e127735652d076 Issue-ID: CCSDK-2597 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>