aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/forwarding-plugins
AgeCommit message (Collapse)AuthorFilesLines
2022-05-03Set snapshot and/or references of policy/distribution for new releaseliamfallon1-1/+1
policy/distribution updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4073 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I8c95ff6bf590b4ad610e6c992d1443ca629b438f Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-28Update 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: I0eddbc948be35873d6d15300d4c832868994e3f5
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-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_Manchikanti13-183/+188
Issue-ID: POLICY-3938 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I63188fa9bc5d634d3aeb7e2d7051c4d67b5a202c
2022-02-14Fix distribution to accommodate object values in policy metadatarameshiyer271-3/+5
Issue-ID: POLICY-3832 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I1cb539156acee3a63c9ffa432ec2371941bf9acd
2022-01-06Add ControlLoop distribution to runtimeSirisha_Manchikanti9-0/+1534
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-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-11-04Rename user for API and PAP references.adheli.tavares6-16/+13
Use an account other than healthcheck in API and PAP for provisioning of policies. Issue-ID: POLICY-2744 Change-Id: I2d626276daba25d405be24cf81233ae848a8674e Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
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-26Fix sonar issueRam Krishna Verma1-1/+1
Issue-ID: POLICY-3077 Change-Id: I53447f551804f4455b65d19d84685ece5cba1c5a Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-19Use generic create policy apiRam Krishna Verma2-5/+5
Change lifecycycle api forwarder to use generic create policy api for creating policies. Hence, no need to parse the tosca template and find fields to build the specific url. Issue-ID: POLICY-3545 Change-Id: I848df3cf2e0cbb9136120769293cc466d660036a Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-07-30Use new RestClientParameters class in distributionJim Hahn10-119/+40
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-05-06Fix sonars in policy-distributionJim Hahn2-12/+9
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 Hahn1-2/+3
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-18Support self-signed certificates in distributionJim Hahn2-4/+5
Also modified the code to work with any HTTP response code in the range 200-299. Issue-ID: POLICY-3143 Change-Id: Id7bcb0c98714c6d98ad7f5d7ceb3b033906aeab1 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-06Changed identifiers to concept identifiersRam Krishna Verma1-4/+5
The class ToscaPolicyIdentifierOptVersion is replaced by ToscaConceptIdentifierOptVersion in policy/models. Made the corresponding changes in policy/distribution. Issue-ID: POLICY-2900 Change-Id: I10fb99ecd4f52a811cde49fbc9e35ae2eb28596a 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-29Allocate a new server port for each testJim Hahn1-1/+1
Junit tests were failing randomly on the build server, perhaps due to the fact that multiple tests attempt to bind to the server port, 6969. Modified most of the tests to allocate their own server port. Issue-ID: POLICY-2713 Change-Id: If40eef7989c9a46e2d458d915ed5bd0281ff0b0d Signed-off-by: Jim Hahn <jrh3@att.com>
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 - distwaynedunican1-22/+11
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.sreekumar9-10/+0
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-05-29Use default serialization providerJim Hahn1-5/+1
The default provider has been changed to gson, so the provider property no longer has to be set. Issue-ID: POLICY-1527 Change-Id: If37d8789a439be216bebab81317df5763c432190 Signed-off-by: Jim Hahn <jrh3@att.com>
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-27Fix comments from last reviewPamela Dragosh2-2/+2
Issue-ID: POLICY-2305 Change-Id: If0778cb7bdade11575cab12c4742274939cd22c7 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-26Remove unused imports and clean logsPamela Dragosh4-14/+58
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 Verma19-1194/+8
Issue-ID: POLICY-2404 Change-Id: Ia3084c55ea65a3119354079d9afd3ee35689b7d4 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-02-06Updating module names to resolve conflictsRam Krishna Verma1-1/+2
Issue-ID: POLICY-2355 Change-Id: I84fe65adb91284f1537ed0422aced705e765b05c Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-01-22policy/distribution jdk11 upgradesHOCKLA5-44/+41
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-09-06Fix few unit tests in distributionramverma1-251/+233
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-08-16Add LifecycleApiForwarder in policy/distributionramverma14-64/+1024
* 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 ParameterGroupImplramverma22-490/+417
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-19Modify policy/distribution to use RestServer from commonJim Hahn1-0/+3
This also entailed removing the local copy of RestServerParameters. Also added an AafFilter, which was missing from the original code. Change-Id: Ibbdce8c395e0149ab540a3704b3554a9d96b9705 Issue-ID: POLICY-1652 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-17Changing policy/distribution to use policy/modelsramverma10-252/+210
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-08Fix distribution due to sonar changes in commonJim Hahn2-57/+42
Fixed breakages due to changes made in policy/common to satisfy sonar. Change-Id: Ib1e57668f727db1b87a9aa3bc9a8266884f5e994 Issue-ID: POLICY-1791 Signed-off-by: Jim Hahn <jrh3@att.com>
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-06-19Change getCanonicalName to getName in distributionJim Hahn3-3/+6
Per javadocs, getName() should generally be used instead of Class.getCanonicalName(). This change only applies to classes; it does not apply to File objects. Change-Id: I7a575900f6d26065563e4907cd2176f690797021 Issue-ID: POLICY-1646 Signed-off-by: Jim Hahn <jrh3@att.com>