summaryrefslogtreecommitdiffstats
path: root/a1-policy-management
AgeCommit message (Collapse)AuthorFilesLines
2022-01-12PMS, Removed use of CBSPatrikBuhr10-485/+18
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 APIPatrikBuhr15-3061/+55
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 ManagementPatrikBuhr4-34/+43
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
2022-01-03Upgrade to log4j2 2.17.1Dan Timoney1-1/+1
Update to use version 2.17.1 to resolve log4shell vulnerability Issue-ID: CCSDK-3556 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I68deb34263c51a0c507a42e0a2a7c12ee6165d8e
2021-12-29A1 Policy ManagementPatrikBuhr5-18/+33
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 ManagementPatrikBuhr3-10/+347
API documentation updates. Issue-ID: CCSDK-3495 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: Ib4f5cfd437a1bad99528d19dcec61f6dc521593b
2021-11-29A1 Policy ManagementPatrikBuhr8-43/+19
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-11-26oran uses outdated snapshot parenthighstreetherbert1-1/+1
Move to release version Issue-ID: CCSDK-3535 Signed-off-by: highstreetherbert <herbert.eiselt@highstreet-technologies.com> Change-Id: I9bd06cf30f4b62ac14a2cd7a079d79da2470a053 Signed-off-by: highstreetherbert <herbert.eiselt@highstreet-technologies.com>
2021-11-15Use Silicon SR2 parentDan Timoney1-1/+1
Use Silicon SR2 parent pom Issue-ID: CCSDK-3513 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Id0caa5d8a91eba27518a54305c0ff3908e100c14
2021-11-11A1 Policy ManagementPatrikBuhr7-75/+63
Minor simplifications. Issue-ID: CCSDK-3495 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: Id90cf9dfeb2b56561baf19391ddc858fc762888c
2021-10-28Use version 2.3.0 of parent pomsDan Timoney1-2/+2
Use released version 2.3.0 of parent pom to avoid compile errors due to removing aged-out snapshot version Issue-ID: CCSDK-3511 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I17c461e44874a16b67ce18e6b178528e4f7c9ee1
2021-10-15Improving searching for policy types - A1 JakartaPatrikBuhr19-190/+448
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-10-11Create a json schema for validation of the configuration of the A1 PMS - A1 ↵PatrikBuhr5-13/+20
Jakarta Enabling the feature by default and fixing so that the schema can be loaded from the jar. Issue-ID: CCSDK-3468 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I49a41b9124b74d5019200cc9b6eb48c5d46b043d
2021-10-07Create a json schema for validation of the configuration of the A1 PMS - A1 ↵PatrikBuhr1-1/+1
Jakarta Bugfix, wrong behviour using old application.yaml files. Issue-ID: CCSDK-3468 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I66013a62b550366f48665b0ecf30939dc8f4e0b5
2021-09-23Roll versions for JakartaDan Timoney1-2/+2
Roll versions to set up for Jakarta release Issue-ID: CCSDK-3470 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I1be3ccf25603616a7df651e2d9ba593f2779bc70
2021-09-22Create a json schema for validation of the configuration of the A1 PMS - A1 ↵PatrikBuhr12-17/+249
Jakarta To create a json schema to be used for validation of the PMS configuration. The schema shall be used by PMS. It can also be used by the end user. The documentation should be updated on how can be done. Issue-ID: CCSDK-3468 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I9932fa42ff40681098764c8dc84ac201bb3fabaf
2021-09-16Release version 1.2.1 maven artifactsDan Timoney1-1/+1
Release version 1.2.1 of ccsdk/oran maven artifacts and roll version Issue-ID: CCSDK-3444 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I0b68436318696939d679cbb3edc3bad032b50a24
2021-09-14Policy Management Service, support for SEC4 and SEC5 - A1 Jakarta1.2.1PatrikBuhr4-3/+14
Added support for using protocols SEC4 and SEC5 between the PMS and a HTTP proxy in order to make that communication encrypted. Change-Id: Ia0e992d2bc41db67203ec75a94c84aeecf77bdce Issue-ID: CCSDK-3459 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2021-09-01Merge "Release initial Istanbul ccsdk/oran maven artifacts"KAPIL SINGAL1-3/+3
2021-09-01Bugfix, timing issue in a unittest (3rd)PatrikBuhr1-55/+54
Issue-ID: CCSDK-3421 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: Ic474388cbe59c848e1f4693ba1bf258e77852d98
2021-08-31Release initial Istanbul ccsdk/oran maven artifactsDan Timoney1-3/+3
Release initial Istanbul version of ccsdk/oran maven artifacts and roll version Issue-ID: CCSDK-3444 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I78165d6240472c048f121fcbe07413b7a7418c66
2021-08-26Bugfix, timing issue in a unittest1.2.0PatrikBuhr1-8/+8
Issue-ID: CCSDK-3421 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I66bec17ab17d189740c50d6cc8af473b5a0fbbd4
2021-08-19Bugfix, timing issue in a unittestPatrikBuhr1-1/+7
Issue-ID: CCSDK-3421 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I6fc0f78806dd46b6824433304fa89d97c66e9aa5
2021-08-18Update springboot version of the Policy Management Service (version 2.5)PatrikBuhr13-43/+42
This required some changes due to not backwards compatible changes. - The API to springboot WebClient is changed, which is wrapped in class AsyncRestClient. - The validation of trusted certs is made more strict. The Owner field of the peer cert must contain the name ofthe using host. The uniitest tests this, so the cert in config is updated (Owner is "localhost"). Change-Id: Ia954b0ee5942884cd4b9fd82769bc8089dc35c53 Issue-ID: CCSDK-3421 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2021-07-30Extend validity of expired cert in CCSDK ORAN A1 Policy ManagementRehanRaza2-0/+0
This is causing some unit tests failing. See the corresponding Jira ticket for details. The validity is now extended by 10 years. Change-Id: I0d86234a5c575be606f3b8ba3ab638f3cfa99d58 Issue-ID: CCSDK-3405 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2021-06-07Bugfix disabling default swagger documentationPatrikBuhr1-1/+1
In the swagger release, generation of default swagger documentation is desabled (pet store). Issue-ID: CCSDK-3256 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I0fa8d8682ce5a77ea9c90990c5ba54fa9ffdd5c6
2021-06-07Fix Sonar issueselinuxhenrik2-8/+8
Issue-ID: CCSDK-3255 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech> Change-Id: Iaf070882fac078d3441748b6dfc7218b1ac1ab31
2021-05-19PMS Bugfix - A1 IstanbulPatrikBuhr7-9/+49
Bugfix, rejecting putting and getting configuratioon via REST if the consul is used (then the configuration file has no effect).. Issue-ID: CCSDK-3256 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: Ia3b4a387f450b137b576a9d82ba2f7093a5839ef
2021-05-05PMS Persistent storage of service definitions - A1 IstanbulPatrikBuhr2-11/+45
Bugfix,only sending AVAILABLE notifications for RICs that has been successfully synched. Issue-ID: CCSDK-3256 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: Ic915c3d83a51ac23cb4652bda9ab696fc27bae3d
2021-04-30PMS Persistent storage of service definitions - A1 IstanbulPatrikBuhr14-62/+231
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 IstanbulPatrikBuhr15-108/+151
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-08Merge "PMS Persistent storage of policies and type definitions - A1 Istanbul"Dan Timoney42-387/+607
2021-04-07PMS Persistent storage of policies and type definitions - A1 IstanbulPatrikBuhr42-387/+607
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-03-26Ingnoring RIC faulty configuration entriesPatrikBuhr3-3/+19
Ignoring RIC figuration entries where the baseUrl is empty. Change-Id: I50e63c964375d009a927290ab1ba0895a7f8888c Issue-ID: CCSDK-3227 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2021-03-11Roll master version for IstanbulDan Timoney1-2/+2
Roll versions of ccskd parent poms to 2.2.0-SNAPSHOT and of ccsdk/oran to 1.2.0-SNAPSHOT for Istanbul release Issue-ID: CCSDK-3190 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ib719aa66623af275507edfc646217625d1acc00c
2021-03-09Small update to A1 PMS Readme for Honolulu - Proxy supportJohnKeeney1-0/+2
Issue-ID: CCSDK-3201 Change-Id: Ibdcaccdb9fee8150cf5f05c00a3f63fa89033120 Signed-off-by: JohnKeeney <john.keeney@est.tech>
2021-02-23Release 1.1.1 dockers and roll versionsDan Timoney1-3/+3
Release version 1.1.1 of alpolicymanagement service docker and roll versions to 1.1.2-SNAPSHOT Issue-ID: CCSDK-3179 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: If81245882f900401ce315a2a837a74e916e75e4d
2021-02-02Improved API documentationPatrikBuhr35-2027/+1833
Using swagger3 and improving the API documatation. Change-Id: I31f7783e0a6e6fd7698c68e5df6f2d306bce6816 Issue-ID: CCSDK-3127 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2021-01-29Upgrade springfox version to fix security issuesRehanRaza2-3/+3
Change-Id: I71b340cb63f3ea6f8814638517ad4482ed30c662 Issue-ID: CCSDK-3108 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2021-01-28Update parent pom versions for ODL AluminumDan Timoney1-1/+2
Update parent pom versions to match OpenDaylight Aluminum SR1 version (2.1.1-SNAPSHOT) Issue-ID: CCSDK-3107 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I5c6cb9c8ce46ba682a456b074d719b5c17fa0646
2021-01-27Upgrade springboot version from ccsdk parentRehanRaza1-1/+1
The springboot version was updated to the latest 2.3.8.RELEASE in org.onap.ccsdk.parent Hence, the pom file should have the new version as a parent. Change-Id: Ibb76e6f334a923dec6212aea0634701c07fcd149 Issue-ID: CCSDK-3108 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2021-01-21PMS API Documentation updatesPatrikBuhr6-152/+151
Change-Id: I2a02145c48fd4b022b2e17b157760bd7ddb8128f Issue-ID: CCSDK-3077 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2021-01-15Added a prefix to the PMS NBIPatrikBuhr4-708/+711
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 HandlerLathish12-187/+254
Issue-ID: CCSDK-3054 Change-Id: I0281e616b58bb405b4f79d046af5c30b82753ea0 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2020-12-14Removing host from genernated docPatrikBuhr4-26/+32
Change-Id: If25daa12d270a43928f583d3a5cbc2258bb426d9 Issue-ID: CCSDK-2966 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-12-08Add generation of API yaml fileelinuxhenrik5-1/+3089
Change-Id: I3f3091c76b926425f9a2187e43dd03a1cdb4bda6 Issue-ID: CCSDK-2736 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2020-12-02Bugfix, adding default values for http proxy if missingPatrikBuhr1-2/+2
If the httpproxy parameters is missing in the application.yaml, the application will run and no proxies will be used. Previously it did not start. Change-Id: I5f532a0f106255cc3e30defc8191f674d8bf3731 Issue-ID: CCSDK-2966 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-11-30Merge "Release version 1.1.0 of ccsdk/oran"Dan Timoney1-2/+2
2020-11-25Release version 1.1.0 of ccsdk/oranDan Timoney1-2/+2
Release initial Honolulu version of ccsdk/oran and roll version to next snapshot Issue-ID: CCSDK-3002 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ic01df9fa3332aa0010743cba7cd4d49e898f25f0
2020-11-24Added GET configPatrikBuhr5-25/+68
Corrected config so that PUT config receives an object intestead of a string Change-Id: Id784cc2840a2e2e981b0c4e874b8a848964e00ea Issue-ID: CCSDK-2966 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>