summaryrefslogtreecommitdiffstats
path: root/a1-policy-management
AgeCommit message (Collapse)AuthorFilesLines
2020-11-17Sort out Maven dependencies in PMSelinuxhenrik2-54/+73
Change-Id: I56a1f7187d53d57d54b5341f3b2dedb0464e3e27 Issue-ID: CCSDK-2502 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2020-11-17Add ConfigurationControllerelinuxhenrik9-55/+272
Change-Id: I281398dc663c5778ea6a5c34262a5684db4df0d0 Issue-ID: CCSDK-2966 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2020-11-11Merge "Added documentation in the application-yaml"KAPIL SINGAL2-2/+13
2020-11-10Added documentation in the application-yamlPatrikBuhr2-2/+13
Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech> Change-Id: Ia28deef87353f00bd29b021679f5669a68495b66
2020-11-10Merge "Bugfix, GET policy V2"KAPIL SINGAL7-57/+79
2020-11-10Merge "Break out configuration file read"KAPIL SINGAL4-74/+237
2020-11-10Bugfix, GET policy V2PatrikBuhr7-57/+79
Did not return transient flag. Improved somew unittests Skipped unwanted service callback when RIC is removed Change-Id: I3ca3be5d4592c2a1b31d3b1a23fe601d1d3f85a2 Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-11-09Break out configuration file readelinuxhenrik4-74/+237
Break out the reading of the configuration file to a separate class to prepare for the addition of a REST API to replace the configuration file. Change-Id: If61669563d8bc9b0b235a49a30fae3b3efbc5148 Issue-ID: CCSDK-2966 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2020-11-06Added support for using HTTP proxyPatrikBuhr13-42/+81
A HTTP proxy may be used to access NearRT-RICs For other HTTP acces; Consul; DMAAP, local, and R-APP callbacks no proxy is used. Change-Id: Ibc3ed8bada76cafb23323bf03b28a9876bed60eb Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-11-04Bugfix path elements containing dotPatrikBuhr3-20/+23
Springboot trunkates last URL path element if it contains a dot '.'. This is a workaround. Change-Id: I1ae4139468a2669bfd6e33ae9eff88b2fc2a2004 Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-11-03Minor API changesPatrikBuhr17-97/+297
The callback registerred at service registration is formalized, documented and tested. Change-Id: Idb135ddcec1862da486c4abd287fd5c7a757d8eb Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-11-02Update tags to comply with ONAP naming standardsDan Timoney2-2/+60
Updated tag version to comply with ONAP naming standards Issue-ID: CCSDK-2963 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I654396e52baf4fc940bb43bb2e6fff357e3f2143
2020-10-28Merge "Improved validation of parameters for putPolicy in the NBI"KAPIL SINGAL2-2/+5
2020-10-28Remove code for sdnc onap controllerecaiyanlinux11-559/+89
sdnc onap controller is dismissed rename SdncOscA1Client to CcsdkA1AdapterClient rename SdncJsonHelper to A1AdapterJsonHelper update comments accordingly Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech> Issue-ID: CCSDK-2502 Change-Id: If525dab599f9fd28203e85dcd57c010c67e20a8b
2020-10-28Improved validation of parameters for putPolicy in the NBIPatrikBuhr2-2/+5
Change-Id: I6aab3b8415986c48a111304df153b4c44586fcbf Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-10-26Added support for policy status notificationsPatrikBuhr26-295/+325
Revised the version 2 of the component NBI Change-Id: I06571bfaa47ea3098ef71ce271e710a45b2d96e3 Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-10-21Added support for ORAN A1-P Version 2.0PatrikBuhr11-167/+685
Change-Id: I82a00dced95b76c97bf93c61a65a8c9d8157a00f Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-10-19Merge "Made DmaapMessageConsumer asynchronuous"KAPIL SINGAL6-223/+184
2020-10-19Made DmaapMessageConsumer asynchronuousPatrikBuhr6-223/+184
Change-Id: Ib3d4951f3f9b2061353b5e50f427559a3781b10e Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-10-16Add A1 Adapter API documentationelinuxhenrik5-2228/+3
Change-Id: Id19e858c67681b781871169ef79da5edf48c5cb2 Issue-ID: CCSDK-2833 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2020-10-12Merge "Cleanup of PMS pom"KAPIL SINGAL1-9/+0
2020-10-12Cleanup of PMS pomelinuxhenrik1-9/+0
Change-Id: Ibdfd362a15685488450c432ac7c24cdd1a6ec21b Issue-ID: CCSDK-2502 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2020-10-12Improvent of usage of AsynchRestClientPatrikBuhr6-46/+48
Change-Id: I34ce159abacde85cfe7631402491e457d30c7097 Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-10-11Fix a compilation errorecaiyanlinux1-1/+1
Jenkins job is failing due to a compilation error RicSynchronizationTask is refactored in another commit for improvement of AsynchRestClient This place needs update too Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech> Issue-ID: CCSDK-2699 Change-Id: Icc806d48ed1dec6b05c99016a1e2207f52cbbdbd
2020-10-09Merge "Improvent of AsynchRestClient"KAPIL SINGAL17-168/+266
2020-10-09Improvent of AsynchRestClientPatrikBuhr17-168/+266
Previously, the cert and the trust databases was read each time a AsynchRestClient was created. Now, they are only read once. This has performance impact. Change-Id: I7a480a64542187d79ffc2ee7427e0140f45afadc Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-10-08Removing all policies from RIC when removed from configurationPatrikBuhr2-3/+14
Change-Id: I9f47f7369eef021b8d2a7e3fb73c4fc432fe7f56 Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-10-05Generated api/api_generated.jsonPatrikBuhr3-1347/+1406
Change-Id: I22142f7752dd3876a689742af17caaf74c13f349 Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-09-17Merge "Remove Sonar issues"KAPIL SINGAL2-3/+3
2020-09-17Remove Sonar issueselinuxhenrik2-3/+3
Change-Id: I4e9b737e110f83a32512c3f5f98bf1a784e6c5ee Issue-ID: CCSDK-2604 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2020-09-15Roll to initial Honolulu releaseDan Timoney1-2/+2
Roll to initial Honolulu release version Issue-ID: CCSDK-2742 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I1a97a62f0ec2ac7da7fa3cd093cd102f77ff9f3e
2020-09-10Update to use released parent pomsDan Timoney1-1/+1
Update ccsdk/oran to use released version of parent poms in preparation for release build. This is needed because ccsdk-oran Jenkins job is set up to use maven version plugin to roll version, instead of simply removing all occurrences of '-SNAPSHOT' in pom.xmls before doing staging build. Jenkins job should be changed not to use version plugin so that in the future we don't have to change parent pom version before release build. Issue-ID: CCSDK-2742 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ib51168dab3d1585b12043a3ac4979422428333a7
2020-09-09Change to logging.file.name in policy-management-serviceRehanRaza2-2/+2
application.log not found in container. logging.file is deprecated in latest version of spring-boot-parent. Use logging.file.name instead. Change-Id: Icdb0f72f7b4d0647346b331eb4a972165aac4788 Issue-ID: CCSDK-2741 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2020-09-04Merge "Non Root user to access the log file"KAPIL SINGAL1-1/+1
2020-09-03Fixing and Refactoring POM'sSingal, Kapil (ks220y)62-1662/+1609
Adding missing xml tag and parent pom referencing Issue-ID: CCSDK-2730 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I2fa6eb3aea80480452122a62b417a2e944732645
2020-09-03Non Root user to access the log fileLathish1-1/+1
Issue-ID: CCSDK-2622 Change-Id: Ie1963510c0ba61620ada23345a35ae430ca0bbf1 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2020-09-01Fixing instable testPatrikBuhr2-14/+35
The testcase in question should wait util the available so that the data synchronization does not iterfere. Change-Id: I152bb5db25cb7d55a0c677595027ef72577f84c0 Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-08-31Fixed so that ApplicationTest(s) is run by mvn testPatrikBuhr3-20/+7
For some reason 'mvn test' skips tests in files named ApplicationTestV1 and ApplicationTestV2 They are renamed, and moved to controllers. Change-Id: I9563f1dcc5ffce98be1b744159fd4a75d3992b19 Issue-ID: CCSDK-2502 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-08-27Merge "DMAAP Improvements"KAPIL SINGAL6-133/+167
2020-08-27Merge "Some improvements if NBI V2.0"KAPIL SINGAL23-236/+237
2020-08-27DMAAP ImprovementsPatrikBuhr6-133/+167
When a syntactically incorrect DMAAP is receiced, a response is generated to simplify trouble shooting. Change-Id: I949df0c13e056fa5713a4af6dfc870e1b7078c0a Issue-ID: CCSDK-2498 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2020-08-26Set SureFire plugin version to make tests workelinuxhenrik1-0/+2
When the SureFire plugin version is not set to 2.22.2 the tests are not started. Change-Id: Iaface367461187ba2a9068b2c8d8bcbca031d404 Issue-ID: CCSDK-2502 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2020-08-25Some improvements if NBI V2.0PatrikBuhr23-236/+237
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-24Fix Sonar issueselinuxhenrik2-8/+7
Change-Id: I868d22847853ba7646164c2234b608ec319085ab Issue-ID: CCSDK-2502 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2020-08-24Update parent pom version and clean upelinuxhenrik1-7/+5
Change-Id: Idcc109e431bcf1bdd1f38fbe7939fcc93000ef45 Issue-ID: CCSDK-2502 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
2020-08-20REST Style alignment for A1 Policy ManagementPatrikBuhr66-274/+4248
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-08-04Add seed code for A1 policy management serviceRehanRaza86-1/+11994
Change-Id: I4925a613a85b182aab6d78dafd55ec333acba49d Issue-ID: CCSDK-2617 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2020-07-31Merge "Add the A1 Adapter API"Dan Timoney1-1/+1
2020-07-31Add the A1 Adapter APILathish1-1/+1
Restructed the repo's Issue-ID: CCSDK-2581 Change-Id: Idb4062cf32d3e55b9c93829e51f67c83842a125e Signed-off-by: Lathish <lathishbabu.ganesan@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>