aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-02-28Release policy/distribution9.0.1-ONAP2.6.2jenkins-releng14-14/+14
2022-02-28update references in policy/distribution pomliamfallon2-4/+4
updated references in the policy/distribution pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-3958 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I1af5403d936e4a2aceb9fceb1546112d245c6974
2021-10-25Point to Istanbul snapshot dependency9.0.0-ONAPRam Krishna Verma1-3/+3
Issue-ID: POLICY-3788 Change-Id: Ib0cf7cb19bbdb029d6de526efde6b116a33500a1 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-10-14Change policy-distribution default branch on istanbula.sreekumar1-1/+1
Change-Id: Ib176023dc3aa43dd469a143ff106b5928879cf2b Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-14Bump policy/distribution to 2.6.2-SNAPSHOTliamfallon15-15/+15
Issue-ID: POLICY-3696 Change-Id: I3cdd361c13a616b121ebcd1782e51847861288ed Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Release policy/distribution 2.6.1 imagesliamfallon1-0/+8
Issue-ID: POLICY-3696 Change-Id: I3d0f1f3134cdb0acdbe0ed0e42886f2904ff6559 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Release policy/distribution 2.6.1liamfallon1-0/+5
Issue-ID: POLICY-3696 Change-Id: I9b785431ec14671f9c01050c1992a6a83afcd0b8 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-13Update parent/common/models/docker referencesliamfallon2-4/+4
Issue-ID: POLICY-3696 Change-Id: Ia40b9d10c49bef7e5e53abaf50211636f56d9044 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-07Distribution S3P Testing for Istanbuladheli.tavares23-143/+558
Issue-ID: POLICY-3654 Change-Id: Ib410008418a6d94948270fea1c37e20eb0c59003 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-09-14Bump distribution to 2.6.1-SNAPSHOTRam Krishna Verma15-15/+15
Issue-ID: POLICY-3587 Change-Id: I5b53cb351ebc874bc0ec26318955ea5c52c5a365 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-09-14Release distribution 2.6.0 docker imageRam Krishna Verma1-0/+8
Issue-ID: POLICY-3587 Change-Id: I45698321b91b981cce7729d0c97338b96506bd28 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-09-14Release distribution 2.6.0 maven artifactsRam Krishna Verma1-0/+5
Issue-ID: POLICY-3587 Change-Id: I384010f2861d0b06ab7e957035c0cfa55540fece Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-09-13Use released common and modelsliamfallon1-2/+2
Issue-ID: POLICY-3587 Change-Id: I22df3fbd99af621dc112a64c31b2d13216b20035 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Update INFO.yamlliamfallon1-11/+14
Update the INFO.yaml file with latest information. Issue-ID: POLICY-3552 Change-Id: I346ff7a0ddee373ea6ac1df26d612150caebaa3a Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Point at released policy-parentliamfallon1-1/+1
Issue-ID: POLICY-3587 Change-Id: I756518b188715b16a37367013ed1d17f77b675b0 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-08-30Fix default config in distributionRam Krishna Verma1-2/+2
Issue-ID: POLICY-3526 Change-Id: Iae0d43829eb284a4aed5547d0944b66ccff77396 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-26Merge "Fix sonar issue"Ram Krishna Verma1-1/+1
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-26Use policy/docker image 2.3.0Jim Hahn1-2/+2
Issue-ID: POLICY-3587 Change-Id: I5d2b4bd64e09121bddbeb1f43d53df998c0fd618 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-23Enable prometheus by default in policy-distributiona.sreekumar1-1/+2
Change-Id: I5bfd9ff7597f10e5eb08c01183bf02a17676afb5 Issue-ID: POLICY-3538 Signed-off-by: a.sreekumar <ajith.sreekumar@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-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-08-09use url resource for docker-tag -- distributionTaka Cho1-18/+4
use groovy url resource from docker repo to identify the tag for docker Issue-ID: POLICY-3378 Change-Id: Ia2dcb8c3564fcfc7199ce1cda3dd26b7b684cc94 Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-08-03Merge "Use new RestClientParameters class in distribution"Ajith Sreekumar15-131/+65
2021-07-30Use new RestClientParameters class in distributionJim Hahn15-131/+65
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-22Merge "Revert "Use new RestClientParameters class in distribution""Jim Hahn11-53/+85
2021-07-22Revert "Use new RestClientParameters class in distribution"Jim Hahn11-53/+85
This reverts commit b59b14d47b590ff94b7c98348c1617990d03c86f. Reason for revert: needs complete rework Issue-ID: POLICY-3456 Change-Id: I7b1f5bb1a9c8cb681808d52b4d6c18377f6a0250 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-07-21Merge "Use docker registry properties in distribution"Ajith Sreekumar1-2/+1
2021-07-20Use new RestClientParameters class in distributionJim Hahn11-85/+53
Replaced LifecycleApiForwarderParameters with RestClientParameters. Also modified the code to get the HttpClient objects once. This requires changes to property files in CSITs and OOM: - rename "hostName" to "hostname" - rename "isHttps" to "useHttps" and move it inside the api & pap structures Issue-ID: POLICY-3456 Change-Id: I654c32c9b6628263a68d821e11c5a316e8b6e2cc Signed-off-by: Jim Hahn <jrh3@att.com>
2021-07-19Use docker registry properties in distributionJim Hahn1-2/+1
Issue-ID: POLICY-3374 Change-Id: I78ce18ef57fd5655597b169f21f8bae8228773b5 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-07-07Use lombok in policy/distributionRam Krishna Verma29-908/+105
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-07-05Use lombok in policy/distributionRam Krishna Verma5-200/+31
Issue-ID: POLICY-3393 Change-Id: I4221d8c6ecff3b529e7cd65f467bcf9bd3ac758d 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-25Fix broken junits in policy-distributionJim Hahn5-29/+61
Changes in policy-common broke some junits in policy-distribution. Some issues were due to the use of lombok ToString annotations, while others appear to be due to parameter groups being previously registered - don't really know the issue there, though probably the parameter group name is now being set, while it wasn't before. In any event, fixed the junits. Issue-ID: POLICY-3298 Change-Id: Iaca9b2ec2c42582e9083ad5825c84cdc8ebc9d6c Signed-off-by: Jim Hahn <jrh3@att.com>
2021-05-13Remove csit folder from policy/distributionRam Krishna Verma6-145/+0
The csit test files for all repos have been consolidated in policy/docker to maintain them at single place and allow us to trigger verify jobs in gerrit reviews. Issue-ID: POLICY-3257 Change-Id: I864ba9502753a62dab79aa3f3c55c8689ab62cbd Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-05-10Merge "Refactor policy/distribution csit tests"Pamela Dragosh1-28/+25
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-07Refactor policy/distribution csit testsRam Krishna Verma1-28/+25
* Removed the deprecated methods. * Removed duplicated code. Issue-ID: POLICY-3257 Change-Id: I1252a625096bb2cfcea4cdd58197c3bf84358aba Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-05-06Fix sonars in policy-distributionJim Hahn15-53/+52
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 Hahn22-618/+270
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-04-16Refactor DistributionCommandLineArguments classadheli.tavares4-314/+122
CMD Class to use the CMD Handler from Common. Issue-ID: POLICY-3129 Change-Id: I2219cdb7db5669de71c3b2b90c496321b61d14eb Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-04-07Merge "Use sh instead of ash in distribution"Pamela Dragosh1-2/+2
2021-04-07Use sh instead of ash in distributionJim Hahn1-2/+2
Issue-ID: POLICY-3160 Change-Id: If642e98c8639b0065eea38ec41fc4923a07091b7 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-30Distribution S3P testadheli.tavares17-94/+215
Updating scripts and files related to S3P tests. Issue-ID: POLICY-3113 Change-Id: I6c6d50a2f0e6b47deac5e505fb841eebbbbea437 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-03-19Delete keystores from distributionJim Hahn4-11/+10
The Keystore is no longer needed in the tarball, as it is supplied externally by the CSITs and Helm charts. Deleted that file. Also modified the junits to use utils-test to generates keystores at runtime, thus deleted the junit keystore file, too. Issue-ID: POLICY-3143 Change-Id: I9daf6da10f2027880c260bd6f529bf6c6e7c2e91 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-16Update policy-keystore with newer certificatesjhh2-0/+0
Issue-ID: POLICY-3139 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I7e228797bc5f51715c86141a279a990699fa6fe4
2021-03-12Address plugin-not-found issuesJim Hahn1-30/+1
Removed references to archetype-packaging and lifecycle-mapping, where unnecessary due to pom inheritance. Issue-ID: POLICY-3126 Change-Id: Id89fcec8dffd841445fe37959f2d17777ad98a19 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-11Bump distribution to 2.6.0-SNAPSHOTpd124815-19/+19
Issue-ID: POLICY-3105 Change-Id: I37f09fb3edb9329fa8a0138b81dbc5fafc5864fa Signed-off-by: pd1248 <pdragosh@research.att.com>
2021-03-10Merge "Add code coverage for reception package"Ram Krishna Verma13-0/+694