summaryrefslogtreecommitdiffstats
path: root/a1-policy-management
AgeCommit message (Collapse)AuthorFilesLines
2022-05-25Use released pa2.3.4 parent pom1.3.2Dan Timoney1-1/+1
Update to use released version 2.3.4 of springboot 2.6 parent pom Issue-ID: CCSDK-3629 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ic180f15940c1c72fc7f5123ce275c604d5c17dd5
2022-05-17Documentation updatesJohnKeeney8-35/+35
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> (cherry picked from commit 069b469a3990f30b3a0012f3d9fde535ebf3149f)
2022-05-11Update A1-PMS to latest Springboot parent - JakartaJohnKeeney1-2/+2
To address Security Issue CVE-2022-22965 https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement Issue-ID: CCSDK-3629 Change-Id: I4dec7dcab77e3f83d13265f7776dcdcd85f0d479 Signed-off-by: JohnKeeney <john.keeney@est.tech>
2022-04-29Release version 1.3.1 maven artifactsDan Timoney1-1/+1
Release version 1.3.1 (Jakarta RC) maven artifacts and roll to next snapshot Issue-ID: CCSDK-3621 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I142937e6296e8b4481fd699de28b6be55d90c56f
2022-04-29Update Jakarta version to 1.3.1-SNAPSHOT1.3.1Dan Timoney1-1/+1
Current version for Jakarta should be 1.3.1-SNAPSHOT Issue-ID: CCSDK-3621 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I404eabb4b7e7ac9ee3493dfde0a21772bb9b8cd9
2022-04-27Merge "NONRTRIC PMS using authorization token"Dan Timoney20-94/+207
2022-04-01Roll versions to next minor releaseDan Timoney1-1/+1
Roll versions to next minor release number, for ONAP Kohn release Issue-ID: CCSDK-3623 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Iced4d7d6fe3220a089800f79979b4bc21b91b83e
2022-03-31NONRTRIC PMS using authorization tokenPatrikBuhr20-94/+207
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
2022-03-28Release version 1.3.0 of ccsdk/oranDan Timoney1-1/+1
Release version 1.3.0 of ccsdk/oran maven artifacts and roll to next snapshot Issue-ID: CCSDK-1672 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I97510311b16e8fcfe9886960f52e821a4f5b9e13
2022-03-28Use released parent pom 2.3.3Dan Timoney1-1/+1
Use released 2.3.3 version of parent pom Issue-ID: CCSDK-3604 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I94a8cf014d34c27e8901e411e072d9d98bdd2950
2022-03-28Merge "NONRTRIC Minor changes"Dan Timoney10-131/+121
2022-03-25NONRTRIC Minor changesPatrikBuhr10-131/+121
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-03-14Use phosphorus version of parentsDan Timoney1-1/+1
Update to use phosphorus version of parent poms Issue-ID: CCSDK-3568 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ia7e0847f5dbc0dd1f75ddecc2326c902de7bc560
2022-02-10NONRTRIC Improved tracesPatrikBuhr3-11/+30
Improved traces Issue-ID: CCSDK-3560 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I1ef76b859e24f4ea503c8e28e503528c98de4342
2022-02-09Updated Lock to avoid starvationPatrikBuhr11-62/+139
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-02-01NONRTRIC - 3PP dependency version updatePatrikBuhr3-10/+9
Updated json version +Also fixed a trace message Issue-ID: CCSDK-3581 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I68cfebdd1fdfbc72683d85e9e9bcd201eb7d1e85
2022-01-24Merge "Fixed a unittest so it does not open an http port"Dan Timoney1-0/+7
2022-01-21Fixed a unittest so it does not open an http portPatrikBuhr1-0/+7
Issue-ID: CCSDK-3560 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I697f6fa780109f4a8fae399b4da882e06036ec15
2022-01-14Update a test that is failing on windowsJohnKeeney1-2/+4
Issue-ID: CCSDK-3560 Change-Id: I8e5cc80af234b97ba319fe1bf2551e2b999eb858 Signed-off-by: JohnKeeney <john.keeney@est.tech>
2022-01-12PMS, Removed use of CBSPatrikBuhr1-2/+1
Documentation updates Issue-ID: CCSDK-3560 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: I0e9e5fe4eefb8a95936596f5484c5b7cebc66717
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>