summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test
AgeCommit message (Collapse)AuthorFilesLines
2021-06-02Improve handling exception path for HelmValidatorPiotr Marcinkiewicz1-1/+1
- Change log level for exception in HelmValidatorHttpClient - Correct exception message and logging in HelmValidator Issue-ID: SDC-3185 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: If6391e9e95d420108e4dd4d9ecf5541df607329f
2021-05-14Integrate helm validator with SDC-BEJoanna Jeremicz9-5/+471
- Read helm validator configuration - Add call to helm validator during Helm validation - Add JUnit tests - Fix display message when CNF upload is unsuccessful - Show warning messages from validation after CNF upload Issue-ID: SDC-3185 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: If197d557e6ddef4a07bef986d7cf133aedcb2cc5 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>
2021-03-26Improve test coveragexuegao1-0/+53
Add unit tests to improve test coverage. Issue-ID: SDC-3428 Change-Id: Ifd9e6eb25fa3ec9f4f93d283277574120edff835 Signed-off-by: xuegao <xue.gao@intl.att.com>
2021-02-23Upgrade Vulnerable Direct Dependencies [snakeyaml]JulienBe29-416/+328
Change-Id: I84417ab3d4f18634be519b837a34d1f1e774ceff Signed-off-by: amohamad <a.mohamad@queensu.ca> Issue-ID: SDC-3051 Updated MVN dependencies in the respective pom.xml files Updated the signature of some methods to match new version 1.26 Modified test cases to match the new wording of exceptions Still working on troublshooting other failing test cases Change-Id: Ifc796574e6d8d4e4fc707db04944d83427b5dbe6 Signed-off-by: amohamad <a.mohamad@queensu.ca> Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
2021-01-18Map VSP PM_DICTIONARY Type to VF PM_DICTIONARY TypeAdam Wudzinski17-273/+580
File defined in ZIP VSP package as PM_DICTIONARY will be now mapped to PM_DICTIONARY type in VF. Also PmDictionaryValidator is run on files with PM_DICTIONARY type in ZIP Manifest file, instead of file naming convention. Issue-ID: SDC-3390 Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Change-Id: I2e21353b9e80b6bb68c4c6d408ad1ffa33314e7b
2020-12-02[SDC] PM_Dictionary file validation for ZIP onboardingAdam Wudzinski4-0/+629
Use PM_Dictionary validator from VNF-SDK to validate PM_Dictionary files when onboarding ZIP package Issue-ID: SDC-3390 Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Change-Id: I03fd622393d675977527b9845b6cf8b87b2ec0a3
2020-03-17Base template guidelines changesBaumel, Dvir (db384r)1-2/+2
Issue-ID: SDC-2822 Change-Id: Ieb1832f878e2268bcfbfb2d574f8c7371f14b191 Signed-off-by: Baumel, Dvir (db384r) <dvir.baumel@intl.att.com>
2019-11-05Align logging to Onap-ELS 2019.11Ben David, Elad (eb7504)2-5/+2
Change-Id: I1750493d5c9f2eab8c1395f0fbc9ae66cf74b0a6 Issue-ID: SDC-2639 Signed-off-by: Ben David, Elad (eb7504) <eb7504@intl.att.com>
2019-07-11Added oparent to sdc mainTomasz Golabek2-2/+2
Removed errors regarding to a missing license and others. Started locally and executed basic api tests Change-Id: Iea37613defc97f7b40613d60c10990841cb2a209 Issue-ID: SDC-2419 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-06-19fix sonar null pointerk.kazak3-1/+57
NoveServerNamingConventionGuideLineValidator: potential null pointer fixed Test for this use-case added Change-Id: I3180bc6c159d1b690f0be0370abbd1fefe70045f Issue-ID: SO-1811 Signed-off-by: k.kazak <k.kazak@samsung.com>
2018-11-01Sorted out unit-test libraries in onboardingvempo22-106/+291
Fixed scope, removed junit+tesng combinations, deleted commented-out tests, did minor cleanups. Change-Id: I71d0adf5c1c95435987dbb8b4077cc43bdf09df8 Issue-ID: SDC-1886 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-08-06Add HEAT validation for generated artifactseleonorali10-1/+2812
Add heat validation for generated artifacts, like vendor-license-model.xml, vf-license-model.xml, HEAT.meta Change-Id: Ie256b19679b5aebea1290f6b3f67692dfad5e980 Issue-ID: SDC-1600 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-07-29re base codeMichael Lando1-8/+9
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
2018-06-20VLAN Tagging - Display naming convention warningojasdubey9-14/+14
Vlan tagging HEAT validation doesn't show appropriate warning when naming convention is not followed Change-Id: I98d998ac425a66f0f0b362aecd5da6c867c5b7eb Issue-ID: SDC-1431 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-05-28Onboarding build optimization incl Qual ControlGautam Shah1-0/+189
Sonar fixes, incremental build enhancements and Quality control mechanism integration. Change-Id: I118d7fc0cc50c1eddb94137310c00afaaa3aaffb Issue-ID: SDC-1189 Signed-off-by: GAUTAMS <gautams@amdocs.com>
2018-03-04VirtualMachineInterface guildeine validatorkaty.rotman28-0/+1800
Issue-ID: SDC-994 Change-Id: Ia232a384c51facb61eaada66c2924957e68b8f0a Signed-off-by: katy.rotman <katy.rotman@amdocs.com>
2018-02-21Heat Resource Validator code +testskaty.rotman6-380/+20
Change-Id: Ic1e10c15fbbc01580311057e71edf05506bd9e8f Issue-ID: SDC-994 Signed-off-by: katy.rotman <katy.rotman@amdocs.com>
2018-02-19Heat Validation - VirtualMachineInterfacewejs25-0/+1889
Issue-ID: SDC-994 Change-Id: I0fd23862eebf65437ab0e1a1ad1d44c9a2944990 Signed-off-by: katy.rotman <katy.rotman@amdocs.com>
2017-12-26Fixed sonar issues - HeatResourceValidatormojahidi1-1/+1
Done refactoring as per given comment Change-Id: Id1cd659af6ddd9e24d281a1bb0d1ae9431bcaf98 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-21Add collaboration featuretalig6-8/+6
Issue-ID: SDC-767 Change-Id: I14fb4c1f54086ed03a56a7ff7fab9ecd40381795 Signed-off-by: talig <talig@amdocs.com>
2017-12-13Adding Error code in HEAT Validatorsmojahidi12-67/+773
added error code in NestedResourceValidator and ResourceGroupResourceValidator fixed sonar issues Change-Id: I1705b7103a3b3c42338f97cb4a7a255a6c85e88f Issue-ID: SDC-572 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com> Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-11-23NovaServerResourceValidatormojahidi1-11/+11
This task is about updating error messages with error codes for NovaServerResourceValidator Change-Id: I90638b7c736b75b8cdadd440dbaafed146eec140 Issue-ID: SDC-572 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-11-22NovaServerGroupResourceValidatormojahidi4-10/+109
This task is about updating error messages with error codes for NovaServerGroupResourceValidator Change-Id: I72efa7954e846a094268dbda4399bea9c841305d Issue-ID: SDC-572 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-11-22NeutronSecurityGroupResourceValidatormojahidi1-9/+10
This task is about updating error messages with error codes for NeutronSecurityGroupResourceValidator Change-Id: I6279c76dae5aeff46bee0ffc9d097ba5b7ff267e Issue-ID: SDC-572 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-11-22NeutronPortResourceValidatormojahidi7-5/+238
This task is about updating error messages with error codes for NeutronPortResourceValidator Change-Id: I6070dfc4543727a29c3625078a947d0059c92fb7 Issue-ID: SDC-572 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-11-22Heat Validatormojahidi11-35/+332
This task is about updating error messages with error codes for HeatValidator Change-Id: I80d918e4ae0541c194634e744545d705907d8e15 Issue-ID: SDC-572 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-11-22HeatResource Validatormojahidi1-0/+28
This task is about updating error messages with error codes for HeatResourceValidator Change-Id: I6c07a1bba62b4ca8ab92c09c7e9768f43a719cee Issue-ID: SDC-572 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-11-22ForbiddenResourceGuideLine Validatormojahidi9-4/+192
This task is about updating error messages with error codes for ForbiddenResourceGuideLine Change-Id: Id692b43e05443dc1313b51533e685dd3c7ad6ca6 Issue-ID: SDC-572 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-11-22Adding error codes to HEAT ValidatorAbhai Singh8-11/+159
Added error code to ContrailValidator Issue-Id :SDC-572 Change-Id: Ib0cb270d9c6222677373b2660c77cdd1aaa15367 Signed-off-by: Abhai Singh <Abhai.Singh@amdocs.com>
2017-11-21Added error codes in ManifestValidatormojahidi6-23/+60
This task is about updating error messages with error codes for ManifestValidator Change-Id: I17ec448a380604e6b554f33760a734fe93831616 Issue-ID:SDC-572 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-11-21Added error codes in YamlValidatormojahidi1-16/+22
This task is about updating error messages with error codes for YamlValidator Change-Id: I99d30dbc149d1e13ffc0a37aa722ab77209c56d5 Issue-ID:SDC-572 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-11-21ContrailNetworkPolicy ResourceValidatormojahidi7-4/+99
This task is about updating error messages with error codes for ContrailNetworkPolicyResourceValidator Change-Id: Ia011acd6c82b5fee5fdfd0bca27ef527d4b3b039 Issue-ID:SDC-572 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-11-20Adding error codes to HEAT ValidatorAbhai Singh11-26/+176
Added error code to SharedResourceGuideLineValidator Issue-Id :SDC-572 Change-Id: I20c014a1aeb488788bc1faeb05a89ff920258275 Signed-off-by: Abhai Singh <Abhai.Singh@amdocs.com>
2017-11-20NovaServer NamingConventionGuideLineValidatormojahidi88-44/+649
This task is about updating error messages with error codes for NovaServerNamingConventionGuideLineValidator Change-Id: I7217ef464bc4f674fdb9480d76cb059f20da7411 Issue-ID:SDC-572 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-11-20NeutronPort validatormojahidi16-14/+121
This task is about updating error messages with error codes for NeutronPortNamingConventionValidator Change-Id: I045415f026f947661632262676123ff848e582b0 Issue-ID:SDC-572 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-11-20ContrailServiceTemplate validatormojahidi5-10/+83
This task is about updating error messages with error codes for ContrailServiceTemplateNamingConventionValidator validator Change-Id: I7d06d0cae2cd3c1ecc10d971db3e7c89bca585a9 Issue-ID:SDC-572 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-11-20Naming Convetion validatorsmojahidi3-6/+75
This task is about updating error messages with error codes for ContrailServiceInstanceNamingConventionValidator validator Change-Id: Ibb113f809ad0d68f4a4104dd35ba14d32e262f0d Issue-ID:SDC-572 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-11-19Adding common changes for all HEAT Validatorsmojahidi1-0/+8
This commit is about adding common changes which will later be used for all validators. Change-Id: I47cee23364c2f535482c721c25cb0038e9febc02 Issue-ID:SDC-572 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-08-10[SDC] OnBoard with enabled tests and featuresaz2497197-43/+4919
Change-Id: I4c1bbf6e1c854cf97a3561c736f83da44b58b7c0 Signed-off-by: az2497 <avi.ziv@amdocs.com> [SDC] OnBoard with enabled tests and features. Change-Id: Icd52f039aee4dd393a1404d530bb9fdd0b20e604 Signed-off-by: az2497 <avi.ziv@amdocs.com>
2017-06-09[SDC-29] Amdocs OnBoard 1707 initial commit.AviZi509-1046/+3899
Change-Id: Ie4d12a3f574008b792899b368a0902a8b46b5370 Signed-off-by: AviZi <avi.ziv@amdocs.com>
2017-02-19push addional codeMichael Lando452-0/+22183
Change-Id: Ia427bb3460cda3a896f8faced2de69eaf3807b74 Signed-off-by: Michael Lando <ml636r@att.com>