aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/reception-plugins
AgeCommit message (Collapse)AuthorFilesLines
2022-04-12Update snapshot and/or references of policy/distribution to latest snapshotsliamfallon1-1/+1
policy/distribution updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ibb4d26c98e11547fc62d2613d5df9afb4ac77ce9
2022-04-06Error handling when a decoder fails to parse policyadheli.tavares4-59/+100
- catch exception only if it was a parse error (still raises exception when no decoder found) - reducing of complexity on acm decoding for sonar - added some debug logging and exception messages for better tracking of issues Issue-ID: POLICY-4006 Change-Id: Ie09aaf541fc06244b84477ecbfe70fc837438a86 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-03-11Update snapshot and/or references of policy/distribution to latest snapshotsliamfallon1-1/+1
policy/distribution updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I0b6c27012f6ef893b664bb7297c9a5744f6b6d02
2022-03-02Rename ControlLoop to AutomationCompsitionSirisha_Manchikanti9-52/+54
Issue-ID: POLICY-3938 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I63188fa9bc5d634d3aeb7e2d7051c4d67b5a202c
2022-01-06Add ControlLoop distribution to runtimeSirisha_Manchikanti9-69/+433
This commit unpacks the csar received either from SDC or for local verification from file-system, prepares the toscaservicetemplate with needed node-types and data-types, forwards the template to controlloop runtime components for commisioning of controlloop. Issue-ID: POLICY-3808 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Ib3600542aca7b32ae19242c2f924bdaf2ab870a8
2021-12-08Moving @NotNull annotation to field levellapentafd3-17/+58
KeyStorePassword and KeyStorePath values can be expressed as simply null instead of "null" Issue-ID: POLICY-3604 Change-Id: I839bce33df4829fcc8d604f8ed1e52e6f50ef988 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-11-29Update snapshot of policy/distribution to 2.7.1-SNAPSHOTliamfallon1-1/+1
*** This commit is generated by a PF release script *** policy/distribution is update from 2.7.0-SNAPSHOT to 2.7.1-SNAPSHOT Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I1c58f1903bac793db23227013525640d93bb958b
2021-10-14Bump policy/distribution to Jakarta 2.7.0-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: I877f56a698224d82226a55ca6c68d4dc65534d06 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Bump policy/distribution to 2.6.2-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: I3cdd361c13a616b121ebcd1782e51847861288ed Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-14Bump distribution to 2.6.1-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-3587 Change-Id: I5b53cb351ebc874bc0ec26318955ea5c52c5a365 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-19Add yaml support for policy & policy typesRam Krishna Verma3-1/+36
Adding support for yaml format of policy & policy types in distribution. So that users can either define them in json or yaml format. And then distribute to policy framework. Issue-ID: POLICY-3509 Change-Id: Ifba7486bbc1e6876f0e3e39b0ae5ebe043567029 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-07-07Use lombok in policy/distributionRam Krishna Verma18-609/+61
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-06-18Fix new checkstyle issues in distributionJim Hahn2-2/+3
The new version of checkstyle identified new issues. Fixed those. Issue-ID: POLICY-3286 Change-Id: I15adece9fa2e136108febc0d74af6c0d55f975c5 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-05-07Fix sonars in policy-distributionJim Hahn1-1/+1
Fixed: - more cases of "var" Issue-ID: POLICY-3285 Change-Id: I41345dfde611497e848b1d207b34eeda1c2c3feb Signed-off-by: Jim Hahn <jrh3@att.com>
2021-05-06Fix sonars in policy-distributionJim Hahn3-19/+19
Fixed: - use "var" instead of actual type Issue-ID: POLICY-3285 Change-Id: I0dba2f96870722b4071ac0085287bc91a27dde88 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-29Remove GroupValidationResultJim Hahn3-22/+23
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>
2021-01-18Fix bug - cast as longPamela Dragosh1-1/+1
Sonar wants to promote one value to a long, to avoid risk of overflow before assignment. Issue-ID: POLICY-2908 Change-Id: I2a92cfd8e437dac3f77ee0366993ae28b2c4c05e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-01-15Remove unused import and add commentsPamela Dragosh1-8/+26
Removes unused import and also adds a check for file size. Since these entries are opened in memory, use NOSONAR to clear sonar security hotspot. Issue-ID: POLICY-2908 Change-Id: Ic3511a3f59cd2d78301316df209de5da1e25acdb Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-01-14Avoid path injectionPamela Dragosh1-3/+29
Adding a check to ensure that a zip file cannot be corrupted with a path injection to open a stream somewhere else in the file system. Issue-ID: POLICY-2908 Change-Id: Iaa75fc8c14831ad73fa7ab59c618909ff5af454c Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
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-21Remove hpa decoder from policy/distributionRam Krishna Verma30-1625/+3
Issue-ID: POLICY-2477 Change-Id: Iff4158e2322724265007d5a90459c3ebf62d3fc2 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-07-02Replace try/catch blocks with assertj - distwaynedunican5-118/+57
Replaced try/catch blocks in policy/distribution test cases with assertj assertions Issue-ID: POLICY-2451 Change-Id: Ib7ecd13e39abd471bf1424d8a3db22c72ad1e3b8 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-06-19Changes for Checkstyle 8.32 in policy-distributiona.sreekumar22-41/+13
Change-Id: I8f9324279f24cc3b9d26f265c3dacd5b61ce856b Issue-ID: POLICY-2188 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-06-15Updating module names to resolve conflictsRam Krishna Verma1-1/+1
Issue-ID: POLICY-2365 Change-Id: I4f894f73b5f6296d823de3feff342c9ac1824e3e Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-06-10Upgrade sdc-tosca & sdc-distribution-client librariesRam Krishna Verma1-2/+3
Issue-ID: POLICY-2116 Change-Id: Ieaa6956ec2b0c3cb81463b359abf70f36708561d Signed-off-by: Ram Krishna Verma <ram_krishna.verma@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-27AtomicInteger cleanupPamela Dragosh1-4/+1
Per Jim's last comments. Issue-ID: POLICY-2305 Change-Id: I1bc73dcd264e9a122f6ec0eece08202cbcb3a8e9 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-27Use AtomicInteger and other sonarPamela Dragosh1-6/+6
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 Dragosh9-21/+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-03-03Remove policy/engine & apex dependency from distributionRam Krishna Verma29-880/+125
Issue-ID: POLICY-2404 Change-Id: Ia3084c55ea65a3119354079d9afd3ee35689b7d4 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-01-22policy/distribution jdk11 upgradesHOCKLA3-7/+8
Issue-ID: POLICY-1585 Change-Id: I4aa879656c039d9de9c288f0309105c21f4bf285 Signed-off-by: HOCKLA <ah999m@att.com>
2019-10-30changes in decoder as per new infra APIsLiang Ding2-165/+192
Change-Id: Ie2ebfa16bc6b08dc54d60ef276f52e9ea2c91b1f Issue-ID: POLICY-1869 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-10-15changes in policy decoder per hpa OOF definitionLiang Ding3-29/+14
Change-Id: I25f956c863f93c998c681535f5ef7ec43ca88cde Issue-ID: POLICY-2029 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-10-11Remove "Restricted" info from csarsjhh2-0/+0
These are the lines removed: + Proprietary information (Restricted) + For use only by authorized individuals and not for general distribution. Change-Id: I5a51d6f6bb40e464f9f9952cb139b668a4530298 Issue-ID: POLICY-2107 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-10-04Create decoder/parameters infra for HPA policyramverma7-56/+497
Creating a new policy decoder & its related parameter classes for decoding the HPA policy as ToscaServiceTemplate which is accepted by the new Lifecycle API of Policy Framework. Added couple of changes per review comments. Issue-ID: POLICY-2122 Change-Id: I2d19b04cd24dd9c5b9fbf959757272077e6413d4 Signed-off-by: ramverma <ram.krishna.verma@est.tech> Signed-off-by: Jim Hahn <jrh3@att.com>
2019-09-19Remove proprietary license added in csar by SDCramverma2-0/+0
Issue-ID: POLICY-2107 Change-Id: Ib237140f44460cecf7b379c77c7edbd7387638a0 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
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-09-06Fix few unit tests in distributionramverma1-0/+0
Fixing few unit tests broken due to side effects of change in policy/models. Issue-ID: POLICY-1871 Change-Id: Ia702e54e21ddbdde114570078ad6fcf85765a660 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-09-04Bring back the old HPA decoder & modelramverma2-152/+152
Bringing back the old HPA policy decoder and its related classes and tests. The distribution framework will support both the new PAP/API and the old policy engine in El Alto release. Issue-ID: POLICY-1871 Change-Id: Iab911b793207a09b02e906ed6913c54bc252f64c Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-08-16Upgrade sdc client & tosca parserramverma1-2/+2
Issue-ID: POLICY-1881 Change-Id: Ib8638bd3f5b8a5527cafa817cde2605b9545aebd Signed-off-by: ramverma <ram.krishna.verma@est.tech>