aboutsummaryrefslogtreecommitdiffstats
path: root/forwarding
AgeCommit message (Collapse)AuthorFilesLines
2021-07-30Use new RestClientParameters class in distributionJim Hahn1-1/+4
This is a re-do of a previously reverted review. It's mostly the same as before, but there are some minor differences. Replaced LifecycleApiForwarderParameters with RestClientParameters. Also modified the code to get the HttpClient objects once. Also removed some unused json test files. This requires changes to property files in CSITs and OOM: - add "clientName" to the api & pap structures - rename "hostName" to "hostname" - rename "isHttps" to "useHttps" and move it inside the api & pap structures Issue-ID: POLICY-3456 Change-Id: I32b04bc3b6880ec7798814dad268143bc3b06faf Signed-off-by: Jim Hahn <jrh3@att.com>
2021-07-07Use lombok in policy/distributionRam Krishna Verma3-30/+13
Use lombok for getter, setter, constructor & builder functions. Remove unused classes. Remove duplicate classes for testing exceptions. Issue-ID: POLICY-3393 Change-Id: I8a565bc6a5699b8716982f84e03b6a11d08ce65b Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-04-29Remove GroupValidationResultJim Hahn1-57/+13
Removed GroupValidationResult, replacing it with BeanValidationResult. Modified the ParameterGroup subclasses to use BeanValidator, adding annotations where needed to trigger the validations that had been automatically performed by GroupValidationResult. Issue-ID: POLICY-2059 Change-Id: Ib5c0dc0ac3762e68307e63f5ce29efb49208e55d Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-11Bump distribution to 2.6.0-SNAPSHOTpd12481-1/+1
Issue-ID: POLICY-3105 Change-Id: I37f09fb3edb9329fa8a0138b81dbc5fafc5864fa Signed-off-by: pd1248 <pdragosh@research.att.com>
2021-03-10Bump policy-distribution to 2.5.2-SNAPSHOTa.sreekumar1-1/+1
Change-Id: Ibb79e61fc7d3923f123539873a5a08e599c175ab Issue-ID: POLICY-3127 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-02-23Bump distribution to 2.5.1-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-3088 Change-Id: Iefa88438d23defeb73875ec4de9be29541b24b89 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-27Bump distribution master to 2.5.0-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-2875 Change-Id: I5d447736a0d74bdce6f6907808d9a7c35a4bf8e0 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-20Bump distribution to 2.4.4 SNAPSHOTJim Hahn1-1/+1
Issue-ID: POLICY-2869 Change-Id: Iccbc23191763dcb9a2781973e29a85e0e34386cf Signed-off-by: Jim Hahn <jrh3@att.com>
2020-10-07Bump distribution to 2.4.3-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-2839 Change-Id: I0de77e37818fb5da771003fbaefc74e97d0ef404 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-09-09Bump distribution version to 2.4.2-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-2789 Change-Id: Ic7783fec3955474266fe0e5c4e178b1db21661d8 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-07-10Bump policy/distribution to 2.4.1-SNAPSHOTJim Hahn1-1/+1
Issue-ID: POLICY-2695 Change-Id: I1ceafeaa50e8563605e5cbaa50e4b7b7769492f9 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-06-19Changes for Checkstyle 8.32 in policy-distributiona.sreekumar1-8/+7
Change-Id: I8f9324279f24cc3b9d26f265c3dacd5b61ce856b Issue-ID: POLICY-2188 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-05-20Bump distribution master to 2.4.0Pamela Dragosh1-1/+1
Issue-ID: POLICY-2514 Change-Id: I22bdaad652917f0d1a30c297fdfd48b7cabd76dd Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-05-19Bump distribution 2.3.3Pamela Dragosh1-1/+1
Issue-ID: POLICY-2514 Change-Id: I6093e20eb2918a5a5ebf070b5a96c58380d8b30e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-15Bump distribution to 2.3.2-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-2378 Change-Id: I09f030b2256d0cefe69d88cdedd3f5dc05472296 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-03-24Bump policy/distribution to 2.3.1-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-2378 Change-Id: Ib343ff092b761c6642d9d0dcd4538ffd41423602 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2019-09-16Bump versions in distribution masterJim Hahn1-1/+1
Also added default branch to .gitreview to facilitate branching in the future. Change-Id: I37d40b122924c35ddfc2e18aed3b126f0dab819c Issue-ID: POLICY-2045 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-08-16Add LifecycleApiForwarder in policy/distributionramverma1-0/+5
* Adding implementation of LifecycleApiForwarder in policy/distribution for forwarding policy to new components (PAP & API). * Adding related test cases and json files for testing. * Created a rest simulator to use for testing the API calls. * Fixed review comments Issue-ID: POLICY-1890 Change-Id: I6682e0366206d3f4ac77f60b676f40a0fd1aad02 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-08-02Change parameters to extend ParameterGroupImplramverma1-0/+5
1. Changing all the forwarder parameter groups to extend the ParameterGroupImpl instead of implementing the ParameterGroup interface. 2. Introducing lombok in distribution. 3. Fixing all the affected test cases. 4. Creating parameter group to hold parameters needed for forwarding policies to the new lifecycle API's. Issue-ID: POLICY-1890 Change-Id: I0c8b72f355a610fa5d46daaacc9ef7f06b7cec09 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-07-17Changing policy/distribution to use policy/modelsramverma2-2/+8
1) Changed policy distribution framework to use entities from policy/models 2) Changed all the test cases. 3) Commented few test cases which will be fixed along with code fixes. 4) Will be removing the old policy entities once all the pieces are ready. Change-Id: I1fd7b975b2e072c0b24e429903c9ca4796173929 Issue-ID: POLICY-1888 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-07-02Bump distribution to 2.2.1-SNAPSHOTPamela Dragosh1-1/+1
Released 2.2.1 Issue-ID: POLICY-1737 Change-Id: I41bf18cc17f3e287d59da86ed3cc21dc8dcafd9a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-31Bump distribution to 2.2.0Pamela Dragosh1-1/+1
Due to dublin branch. Issue-ID: POLICY-1747 Change-Id: I889d3c5276a070404eeba86d99ca82852d2645e5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-16Step snapshot version of policy-distributionliamfallon1-1/+1
Issue-ID: POLICY-1630 Change-Id: Ie107fa87bdce76eec39a8ee5ae55b700236a3017 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-02-05Change policy/distribution logging to slf4jramverma2-8/+4
1) Changed logging from FlexLogger to SLF4J with logback 2) Fixed test cases of distribution REST endpoints having infinite while loop Change-Id: I1551873b3d348f9a7d2b4f8dfc3ae5dd6462bdb8 Issue-ID: POLICY-1346 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2018-11-09Fix sonar/checkstyle issuesPamela Dragosh2-7/+7
The main pom.xml was incorrect, so these issues have creeped into the source code. Issue-ID: POLICY-1256 Change-Id: Ic0b52f3a28f869252120991b0c1946ef8402bcc5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-10-31Set new master version for Dublinliamfallon1-3/+2
Issue-ID: POLICY-1232 Change-Id: Ib72ebd05fb88de05c356f05ee7ca2a4e4d00881c Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-10-25Fix refering to snapshot in policy/distribution2.0.1ramverma1-1/+1
Issue-ID: POLICY-1213 Change-Id: I7262a00ec35549e63127f8a3730ca8aa75da09aa Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-08-30Create code infrastructure for policy forwardingmmis2-1/+29
Added sending of polices from the policy forwarder to the xacml PDP and added handling of parameters for configuring the policy forwarders Issue-ID: POLICY-926 Change-Id: I26effe70769f7edc765470a1a9ad40ed9faad82d Signed-off-by: mmis <michael.morris@ericsson.com>
2018-08-29Parameter Service Interface Changesliamfallon1-1/+9
Changes to distribution due to changes to parameter services, mainly addition of setName() to parameter service interface and correct handling of empty parameters Change-Id: I9523da6461874241d220f0feac61419ef6ebbb9d Issue-ID: POLICY-1035 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-08-24Fix sonar and checkstyle issues in distributionramverma3-11/+14
* Fixing all check style issues. * Fixing all sonar issues. * Adding maven check style plugin to fail at warning level. Change-Id: I791b8feef39a3a0c3e1e250efea7b6e78208bf07 Issue-ID: POLICY-1035 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-08-16Adding termination code changes for distributionramverma2-1/+12
* Code changes for terminating the handlers started by distribution activator. * More test cases to increase coverage. * Fixes for checkstyle issues. * Fixes for sonar issues. Change-Id: I3299317c83fa643ac1d0ba1105ac1a932c0a83f6 Issue-ID: POLICY-1035 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-08-15Adding code for bootstrapping policy distributionramverma2-1/+103
* Code changes for initializing handlers & related plugins from configuration parameter JSON file. * Using common parameter service for refering parameters at multiple places. * Moved related parameters classes from "main" to "reception" to avoid maven cyclic dependency errors. * Added test cases for new code chnages. The test coverage is around 95%. * Changed logging from slf4j to common-logging. Change-Id: Ifb77cfaa6e6472d43295a7c41a49ddd657c0e2c2 Issue-ID: POLICY-1035 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-08-02Create interfaces for Policy Distributionmmis4-0/+138
Created interfaces and some skeletal implementations. Implememtations to be further developed in subsequent stories Change-Id: If55be78e34c8783451cb9aa755a563bc0850e569 Issue-ID: POLICY-1029 Signed-off-by: mmis <michael.morris@ericsson.com>
2018-07-31Add start and parameter handlingliamfallon4-116/+0
Add startup code, command line parsing, service start, and parameter handling for the policy distribution service. Issue-ID: POLICY-922 Change-Id: Ie664aba6541304cf9b635541e9688c681b24952d Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-07-20Initial module structure for Policy Distributionliamfallon4-0/+149
This submission defines the initial module strucutre for the distribution component in the ONAP Policy Framework. The structure is documented here: https://wiki.onap.org/display/DW/Policy+Platform+-+SDC+Service+Distribution+Software+Architecture Change-Id: I0adbffbcd598250cb9a0b8ce07806e564bf83a85 Issue-ID: POLICY-922 Signed-off-by: liamfallon <liam.fallon@ericsson.com>