Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
Issue-ID: POLICY-3393
Change-Id: I4221d8c6ecff3b529e7cd65f467bcf9bd3ac758d
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
Fixed:
- more cases of "var"
Issue-ID: POLICY-3285
Change-Id: I41345dfde611497e848b1d207b34eeda1c2c3feb
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
* 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>
|
|
Fixed:
- use "var" instead of actual type
Issue-ID: POLICY-3285
Change-Id: I0dba2f96870722b4071ac0085287bc91a27dde88
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
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>
|
|
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>
|
|
|
|
Issue-ID: POLICY-3160
Change-Id: If642e98c8639b0065eea38ec41fc4923a07091b7
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Updating scripts and files related to S3P tests.
Issue-ID: POLICY-3113
Change-Id: I6c6d50a2f0e6b47deac5e505fb841eebbbbea437
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
|
|
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>
|
|
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>
|
|
Issue-ID: POLICY-3139
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I7e228797bc5f51715c86141a279a990699fa6fe4
|
|
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>
|
|
Issue-ID: POLICY-3105
Change-Id: I37f09fb3edb9329fa8a0138b81dbc5fafc5864fa
Signed-off-by: pd1248 <pdragosh@research.att.com>
|
|
|
|
Change-Id: Ibb79e61fc7d3923f123539873a5a08e599c175ab
Issue-ID: POLICY-3127
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Change-Id: I67ceead7f7724b4261e7cb1afc9384ce86627930
Issue-ID: POLICY-3127
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Change-Id: I5a865c03d88b8c2e4ac2f3d00535b197e386bde3
Issue-ID: POLICY-3127
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Change-Id: Ifa503246a966810c6254178765910cd6f038b429
Issue-ID: POLICY-3127
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Issue-ID: POLICY-3090
Change-Id: I79bf20363644fe39ed532399ecf59740192f7bb9
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
|
|
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>
|
|
Issue-ID: POLICY-3028
Change-Id: I357f910ce74bd135522eb7ec2c76d97fe3195f74
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3088
Change-Id: Iefa88438d23defeb73875ec4de9be29541b24b89
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3088
Change-Id: Ib5ae6daf8f5b5fb192c76302d2fb009676bd7b22
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3088
Change-Id: I73e698c7fd356e209d22a23e23fc5f9632e22064
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3088
Change-Id: Id4b8058061d81b676210014146c77531339c9d62
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3088
Change-Id: I244d8b061e58b624f197a2741ada25447047b18d
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
use jre base 2.2.0
Issue-ID: POLICY-2917
Change-Id: Iac8e53e8144b54b02bebb133f5bd4c1e616ffe4c
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
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>
|
|
bash scripts convert to ash
Issue-ID: POLICY-2847
Change-Id: Iee0aacfdf01425cb2b6e6347672ebdd82ec205e1
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
Issue-ID: POLICY-2875
Change-Id: Ibe0d79c4167b1ab8b66dee63064db057a6ae2501
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-2875
Change-Id: I5d447736a0d74bdce6f6907808d9a7c35a4bf8e0
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-2869
Change-Id: Iccbc23191763dcb9a2781973e29a85e0e34386cf
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-2869
Change-Id: I0a1f62b2ee424c0c91c71e0e294f8db9f6f806d2
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-2869
Change-Id: Ia646e8aac11d1a26bdfa338eb5992c5f2375a799
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-2869
Change-Id: I21bffaf0530d6887241b138f1ae58421f9dbb1e0
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Issue-ID: POLICY-2839
Change-Id: I0de77e37818fb5da771003fbaefc74e97d0ef404
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-2839
Change-Id: I7b2e5a9f3d6cf3c6222088452a3624d2421772fc
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|