summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-04-12update 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-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Iad3b16598014463b331c891c599f1a4c380bb757
2022-04-06Error handling when a decoder fails to parse policyadheli.tavares6-71/+122
- 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 snapshotsliamfallon15-18/+18
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-11Release docker images for policy/distribution: 2.7.1liamfallon1-0/+8
This commit releases docker images for repo policy/distribution. *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I1115347e36b812342831d051a35b9caa1b14dec6
2022-03-11Release policy/distribution: 2.7.1liamfallon1-0/+5
This commit releases repo policy/distribution. *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I7c8a3a32350f241271bdf94b8643d82e0fcddf5d
2022-03-10update 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-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I8b6677eda5a64493d7b353826ec4fbe7c2908249 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-02Rename ControlLoop to AutomationCompsitionSirisha_Manchikanti29-295/+302
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-12Add distribution app metrics to prometheusRam Krishna Verma2-36/+54
Adding the distribution application level metrics to prometheus. Adapted the changes so that existing test cases for DistributionStatisticsManager are not affected and still provides the full coverage. Issue-ID: POLICY-3759 Change-Id: I972f107e4ac46c2769dfaeb9bcefa0731bb879ca Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2022-01-06Add ControlLoop distribution to runtimeSirisha_Manchikanti22-81/+2130
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-12-02Update snapshot and/or references of policy/distribution to latest snapshotsliamfallon1-3/+3
*** This commit is generated by a PF release script *** policy/distribution updated to its latest own and reference snapshots Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ibd543fc5349497980f27c6dc574bce31825a7f2e
2021-11-29Update snapshot of policy/distribution to 2.7.1-SNAPSHOTliamfallon15-15/+15
*** 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-26Release docker images for policy/distribution: 2.7.0liamfallon1-0/+8
*** This commit is generated by a PF release script *** This commit releases the docker images for repo policy/distribution. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I6b4bc5bed0ce02b9ee5d8f19ece54d630e2f638a
2021-11-26Release policy/distribution: 2.7.0liamfallon1-0/+5
*** Release Phase 8: This commit is generated by a PF release script *** This is the eigth phase in releasing images, it releases policy/distribution. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ief7893fecf3e7fa20a2cddc4fa5130af87dfb2d5
2021-11-25Update parent and common referencesliamfallon2-4/+4
*** Release Phase 7: This commit is generated by a PF release script *** This is the seventh release phase, it updates parent, common and models references in policy/distribution. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ie4d0f27f6021622def7b72719508cc557c4c7624 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-11-04Rename user for API and PAP references.adheli.tavares14-32/+29
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-25Point to snapshot dependencyRam Krishna Verma1-3/+3
Issue-ID: POLICY-3788 Change-Id: I803ecb77214903e353402c56b82a36cfa32a331f Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-10-21Updating Distribution S3P configuration.adheli.tavares16-452/+375
- fixing the scripts and jmx files after stability long run failures. Issue-ID: POLICY-3654 Change-Id: I0ff0bf625f226f1b71664c1817cef65fbd5cf5a6 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-10-14Bump policy/distribution to Jakarta 2.7.0-SNAPSHOTliamfallon15-16/+16
Issue-ID: POLICY-3696 Change-Id: I877f56a698224d82226a55ca6c68d4dc65534d06 Signed-off-by: liamfallon <liam.fallon@est.tech>
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>