summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-03-10Point to policy-models 2.4.1a.sreekumar1-1/+2
Change-Id: Ifa503246a966810c6254178765910cd6f038b429 Issue-ID: POLICY-3127 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-03-04Code coverage for Policy distributionadheli.tavares2-1/+95
Added code coverage for some missing instructions on main package Issue-ID: POLICY-3090 Change-Id: I1ba870a4b3c7f63f6c00dfc3f4b908eee7ca701b Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-02-24Update info.yaml in distributionRam Krishna Verma1-2/+2
Issue-ID: POLICY-3028 Change-Id: I357f910ce74bd135522eb7ec2c76d97fe3195f74 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-23Bump distribution to 2.5.1-SNAPSHOTRam Krishna Verma15-15/+15
Issue-ID: POLICY-3088 Change-Id: Iefa88438d23defeb73875ec4de9be29541b24b89 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-23Release distribution 2.5.0 docker imageRam Krishna Verma1-0/+8
Issue-ID: POLICY-3088 Change-Id: Ib5ae6daf8f5b5fb192c76302d2fb009676bd7b22 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-23Release distribution 2.5.0 versionRam Krishna Verma1-0/+5
Issue-ID: POLICY-3088 Change-Id: I73e698c7fd356e209d22a23e23fc5f9632e22064 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-23Point to released version of jreRam Krishna Verma1-1/+1
Issue-ID: POLICY-3088 Change-Id: Id4b8058061d81b676210014146c77531339c9d62 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-23Point to released version of dependenciesRam Krishna Verma1-3/+3
Issue-ID: POLICY-3088 Change-Id: I244d8b061e58b624f197a2741ada25447047b18d Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-09fix for workspace accommodationTaka Cho1-1/+1
the config/csar should be under /w/workspace/policy-distribution-master-project-\ csit-distribution/distribution/csit/config/csar after checking on jenkins sandbox Issue-ID: POLICY-2895 Change-Id: I03abf0f0f1793cfb84f3eec7d610cadb8da41393 Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-02-05move distribution csit to policy repoTaka Cho6-0/+148
move distribution csit plans/tests to policy/distribution repo move config to policy/distribution repo also Issue-ID: POLICY-2895 Change-Id: Ie4cd51bb29c74ea78ea0e9d545423839ced85b9b Signed-off-by: Taka Cho <takamune.cho@att.com>
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>
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>
2021-01-05use jre base 2.2.0 - distributionTaka Cho1-1/+1
use jre base 2.2.0 Issue-ID: POLICY-2917 Change-Id: Iac8e53e8144b54b02bebb133f5bd4c1e616ffe4c Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-12-04Sonar issues with visibilityPamela Dragosh3-3/+6
S5993 Change the visibility of this constructor to "protected". Issue-ID: POLICY-2908 Change-Id: Id7b7d908eb687345f4d91b05869b3925c8694b05 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-11-30move all bash to ash shell scripts - distTaka Cho2-7/+7
bash scripts convert to ash Issue-ID: POLICY-2847 Change-Id: Iee0aacfdf01425cb2b6e6347672ebdd82ec205e1 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-10-27Point to snapshot versionsRam Krishna Verma1-3/+3
Issue-ID: POLICY-2875 Change-Id: Ibe0d79c4167b1ab8b66dee63064db057a6ae2501 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-27Bump distribution master to 2.5.0-SNAPSHOTRam Krishna Verma15-16/+16
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 Hahn15-15/+15
Issue-ID: POLICY-2869 Change-Id: Iccbc23191763dcb9a2781973e29a85e0e34386cf Signed-off-by: Jim Hahn <jrh3@att.com>
2020-10-20Release distribution 2.4.3 docker7.0.0-ONAPJim Hahn1-0/+8
Issue-ID: POLICY-2869 Change-Id: I0a1f62b2ee424c0c91c71e0e294f8db9f6f806d2 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-10-20Release distribution 2.4.3 artifactsJim Hahn1-0/+5
Issue-ID: POLICY-2869 Change-Id: Ia646e8aac11d1a26bdfa338eb5992c5f2375a799 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-10-20Point distribution to models 2.3.5Pamela Dragosh1-1/+1
Issue-ID: POLICY-2869 Change-Id: I21bffaf0530d6887241b138f1ae58421f9dbb1e0 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-07Bump distribution to 2.4.3-SNAPSHOTRam Krishna Verma15-15/+15
Issue-ID: POLICY-2839 Change-Id: I0de77e37818fb5da771003fbaefc74e97d0ef404 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-07Release distribution 2.4.2 docker artifactsRam Krishna Verma1-0/+8
Issue-ID: POLICY-2839 Change-Id: I7b2e5a9f3d6cf3c6222088452a3624d2421772fc Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-07Release distribution 2.4.2 maven artifactsRam Krishna Verma1-0/+5
Issue-ID: POLICY-2839 Change-Id: Ibc7147aeab372ceb8d0f5f40b2095e56df56ec44 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-07Point to model 2.3.2Ram Krishna Verma1-1/+1
Issue-ID: POLICY-2839 Change-Id: I3c6186180fda382bfb63b267a7bc9f5875b27018 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-09-30New sonars in policy/distributionJim Hahn1-200/+81
Addressed the following sonars: - extract common test methods Issue-ID: POLICY-2713 Change-Id: I2c8e957785b7e0d1b66e3bd49d5a8a854149fffd Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-24update default keystoresjhh2-0/+0
Issue-ID: POLICY-2827 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: If5da9a12dad83b3b596ff5e1ac2c1f8fc0987b9c
2020-09-14Use alpine base image 2.1.1Jim Hahn1-1/+1
Issue-ID: POLICY-2819 Change-Id: Ib4f77377978efccac4a78a170b50e1ed0edc3e56 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-09Bump distribution version to 2.4.2-SNAPSHOTRam Krishna Verma15-15/+15
Issue-ID: POLICY-2789 Change-Id: Ic7783fec3955474266fe0e5c4e178b1db21661d8 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-09-09Release distribution docker 2.4.1Ram Krishna Verma1-0/+8
Issue-ID: POLICY-2789 Change-Id: Iaca8d14c1ef385fd0bb6c085a057700568c858f7 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-09-09Release distribution maven 2.4.1Ram Krishna Verma1-0/+5
Issue-ID: POLICY-2789 Change-Id: Ic654369fb7c7d002626dcba38ce29bedf2767025 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-09-09Pointing to released common & modelsRam Krishna Verma1-2/+2
Issue-ID: POLICY-2789 Change-Id: Ife64846b8a487871a4fb802e76569dcb8dea0a59 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-09-04point to 2.1.0 policy-alpine base - distributionTaka Cho1-1/+22
In G-rel, using 2.1.0 base. Issue-ID: POLICY-2789 Change-Id: Iea812a77ed65dafa31a83db41fdda0d54dd964ca Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-08-21Changes to make policy-distribution container crash with non zero exitCodea.sreekumar2-31/+27
Change-Id: Ic637253513b349ccb3f17b7c3fce1414bd5ec022 Issue-ID: POLICY-2756 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-08-03environment variables to support cert. store pathsjhh1-6/+8
Issue-ID: POLICY-2615 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I5334ef2a928b3c658fcfd05fe2b15f724c1b4ba7 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-07-30Update INFO.yaml in policy-distributionTaka Cho1-12/+16
Verified with Jessica W that the "type" should still be "Addition", even when updating the PTL. Updated to Mature, per TSC. Issue-ID: POLICY-2738 Change-Id: I84b414b57280cfb1edca6a7dd690e647a41eddb8 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-07-29Allocate a new server port for each testJim Hahn9-72/+98
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-29Merge "Sonar fixes for policy/distribution"Ram Krishna Verma2-16/+13
2020-07-29Sonar fixes for policy/distributionuj426b2-16/+13
Change-Id: Ia48406096706daaa6a98985c488b4055276863d3 Issue-ID: POLICY-2713 Signed-off-by: uj426b <uj426b@att.com>
2020-07-24Add Ajith to policy-distribution infoJim Hahn1-17/+11
Issue-ID: POLICY-2738 Change-Id: I826b45cca65391484d738ad6e6c56a0e69d11dfb Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-21Remove hpa decoder from policy/distributionRam Krishna Verma32-1649/+19
Issue-ID: POLICY-2477 Change-Id: Iff4158e2322724265007d5a90459c3ebf62d3fc2 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-07-17Refer to snapshot versionsRam Krishna Verma1-2/+2
Issue-ID: POLICY-2695 Change-Id: I549efba73e0052e83408c9876ff5ea0658c2e6a1 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-07-10Bump policy/distribution to 2.4.1-SNAPSHOTJim Hahn15-15/+15
Issue-ID: POLICY-2695 Change-Id: I1ceafeaa50e8563605e5cbaa50e4b7b7769492f9 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-10Release distribution docker 2.4.0 artifactsJim Hahn1-0/+8
Issue-ID: POLICY-2695 Change-Id: Iea81fc05445fc91777bfa052bc3499c7d16f71d8 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-09Release policy/distribution 2.4.0Jim Hahn1-0/+5
Issue-ID: POLICY-2695 Change-Id: Ibab5d66ca84f2d3e322d60143a396777dd9d3cee Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-09Refer to released versions in policy-distributionJim Hahn1-3/+3
Issue-ID: POLICY-2695 Change-Id: Ie4a0050c46e103507e1f99d6787609b7b96d8551 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-03Fix openpojo breakage in policy-distributionJim Hahn1-3/+4
Removing openmojo from the common/utils pom caused the policy-distribution build to break. Added openpojo to the appropriate pom in policy-distribution. Issue-ID: POLICY-2387 Change-Id: I942480828e31340aa1ca90a71bb2c197eaaf8f4c Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-02Replace try/catch blocks with assertj - distwaynedunican13-370/+209
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>