aboutsummaryrefslogtreecommitdiffstats
path: root/reception
AgeCommit message (Collapse)AuthorFilesLines
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.sreekumar9-11/+1
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-27Use AtomicInteger and other sonarPamela Dragosh1-4/+0
Removed unused logger. Added NOSONAR to main to remove security risk, as we do validate arguments. Used AtomicInteger. Issue-ID: POLICY-2305 Change-Id: I18e91836e914b7fd6e3cd9a950dca58fcd8be5b5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-26Remove unused imports and clean logsPamela Dragosh4-9/+15
Unused imports and marked an unused variable. Added m2e eclipse settings (other repos have this). Added some test logback.xml to clear out jetty debug messages. Replaced deprecated newInstance with getDeclaredConstructor. newInstance Either log or throw Exception - chose throw Added some assertions to JUnit test. Issue-ID: POLICY-2305 Change-Id: Ia4e9ce62dc7fb45aea247d470ca7245e694fc26e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
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>
2020-01-22policy/distribution jdk11 upgradesHOCKLA3-4/+11
Issue-ID: POLICY-1585 Change-Id: I4aa879656c039d9de9c288f0309105c21f4bf285 Signed-off-by: HOCKLA <ah999m@att.com>
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-06Changing parameters to use ParameterGroupImplramverma2-26/+11
1. Changing all the decoders & handlers parameters to use ParameterGroupImpl. 2. Fixed all the test cases. Issue-ID: POLICY-1890 Change-Id: I4a124c0acc650020977ac8e2cee143c72003973a Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-07-17Changing policy/distribution to use policy/modelsramverma6-48/+39
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 slf4jramverma6-29/+34
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-12-20Fix checkstyle issues in distributionliamfallon1-3/+3
Some fixes for minor checkstyle issues. Issue-ID: POLICY-1221 Change-Id: I86577f47283a6fa97be25d7550ed9c2d7ec026a9 Signed-off-by: liamfallon <liam.fallon@est.tech>
2018-11-09Fix sonar/checkstyle issuesPamela Dragosh3-5/+5
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-09-14Fix sonar bugs in distributionramverma1-0/+4
Change-Id: I20c1246efc3ce0ad6d874e6a0b5c8230c96b9425 Issue-ID: POLICY-1035 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-09-14Merge "Adding statistics endpoint to distribution"Liam Fallon1-0/+156
2018-09-13Adding statistics endpoint to distributionramverma1-0/+156
* Adding statistics endpoint in DistributionRestController * Adding DistributionStatisticsManager to hold all stats. * Adding StatisticsReport class to represent distribution stats report. * Updating stats at each step in SdcReceptionHandler. * Adding test cases for all code changes. Change-Id: I0b0f97aecc64b18314367fdff6d3ca7bee06efc7 Issue-ID: POLICY-1035 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-09-13Adding policy decoder to extract file from csarramverma7-2/+159
* Adding decoder configuration parameters infrastructure to support plugin based architecture. Adding a new policy decoder after this will be just creating a new decoder class and its corresponding parameter class. * Adding a new decoder which extracts policy file from given csar. It is written in a generic way to extract file for any pdp like apex, drools. * Adding configuration parameters for the new decoder. The policy file name and policy type is passed as parameter to the decoder. * Fixing few broken package declaration in pdpx decoder tests. * Adding test cases for all code changes. Change-Id: I95e68cebce0f9747ca63b090f9b9116ce8836939 Issue-ID: POLICY-1101 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-09-09Fixing sonar bugs in distributionramverma2-15/+14
Change-Id: I3ec5c73c54145b1ba9f637eaa95c843e25f46a10 Issue-ID: POLICY-1035 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-09-05Refactored reception handler parameter handlingmmis6-362/+151
Refactored parameter handling for configuration of reception handlers as the previous implementation does not align with the plugin architecture (.e. plugin specific parameters being handled in core code) Issue-ID: POLICY-1094 Change-Id: I31a9fc7f712ca43f0f69c42a6d99fa481b02cd4b Signed-off-by: mmis <michael.morris@ericsson.com>
2018-09-04Merge "Adding code for managing life cycle of SDC Client"Pamela Dragosh5-12/+116
2018-09-04Adding code for managing life cycle of SDC Clientramverma5-12/+116
* Adding init/start/stop methods in SDCReceptionHandler for managing lifecycle of SDC Client. * Adding a handler status enum to hold all the possible status values. * Adding test cases to cover code changes fully. Change-Id: Ib6f370485ff330538bfada6030c592629ed3fd1c Issue-ID: POLICY-956 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-08-30Create code infrastructure for policy forwardingmmis3-5/+28
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 distributionramverma12-406/+486
* 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-23Fix sonar code coverage issueliboNet1-69/+138
* Remove unused import * Fix more than 1 statements on one line * Divide validate into three parts to Fix >10 cyclomatic Complexity Change-Id: I9c89c4854de31fa02a9052055662f4b74d12fe10 Issue-ID: POLICY-956 Signed-off-by: liboNet <libo.zhu@intel.com>
2018-08-22integrate PSSDConfiguration to distributionliboNet2-2/+307
* Integrate the PSSDConfiguration to distribution config parameter. * Moved related PSSDConfigurationParameterGroup classes from "handling" to "parameters" to avoid specified sdc dependency. * Modify all the test case since the distribution config parameter has been changed, update CommonTestData to wrap it. * Add neccessnary SDC handling exceptions which to be used for SDC handler integration. * update the PSSDCOnfiguraitonParameterGroup to add UUID to the setName function to generate unique name for each instance. * use builder to create PSSDConfigurationParametersGroup instead of using many parameters Change-Id: I3c78bc2a51ebc84761bc9458096d6ffa18070b47 Issue-ID: POLICY-956 Signed-off-by: liboNet <libo.zhu@intel.com>
2018-08-16Adding termination code changes for distributionramverma11-90/+255
* 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 distributionramverma8-82/+494
* 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 Distributionmmis8-0/+536
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 handlingliamfallon7-227/+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 Distributionliamfallon7-0/+260
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>