summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-validation-lib
AgeCommit message (Collapse)AuthorFilesLines
2018-03-14Empty error message during Proceed To Validationolegb1-1/+6
Issue-ID: SDC-1120 Change-Id: I6653d6404e8d43ec81016f3497051ac327375c88 Signed-off-by: olegb <olegb@amdocs.com>
2018-03-04VirtualMachineInterface guildeine validatorkaty.rotman30-0/+2052
Issue-ID: SDC-994 Change-Id: Ia232a384c51facb61eaada66c2924957e68b8f0a Signed-off-by: katy.rotman <katy.rotman@amdocs.com>
2018-02-21Heat Resource Validator code +testskaty.rotman8-449/+99
Change-Id: Ic1e10c15fbbc01580311057e71edf05506bd9e8f Issue-ID: SDC-994 Signed-off-by: katy.rotman <katy.rotman@amdocs.com>
2018-02-19Heat Validation - VirtualMachineInterfacewejs28-7/+2095
Issue-ID: SDC-994 Change-Id: I0fd23862eebf65437ab0e1a1ad1d44c9a2944990 Signed-off-by: katy.rotman <katy.rotman@amdocs.com>
2018-02-15Add Tosca model healertalio1-6/+28
create a Tosca model healer for future changes in Tosca structure Change-Id: I3843e4727b6bbb383576ae6a4fb055c5b6fa001f Issue-ID: SDC-973 Signed-off-by: talio <tali.orenbach@amdocs.com>
2018-02-11Artifact was not associatedeleonorali15-11/+1360
ASDC is not associating get_file Change-Id: I56cda457c061e5228012d43b5743ebfa24b4bb0d Issue-ID: SDC-1016 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-02-01Removed passing unnecessary logging infovempo21-285/+110
Change-Id: Ie5cbfad67798b3e0827155078bd0797c7b824efe Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-02-01Removed log constantsvempo4-16/+4
Removed constants associated with audit/metrics logging. Deleted unused code. Some other safe cleanup and refactoring. Change-Id: Idfda72e1fb27ca695a74f2a09cb46381c9caed1a Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-30Removed MdcUtilvempo2-50/+14
Validation messages are propagated to the client and should not be logged as errors. No application modules can depend on logging-core. Change-Id: I36eb2f9de195e77d5008cc69dbc7b65643fe2322 Issue-ID: SDC-875 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-29Removed reference to MDC for loggingvempo3-0/+3
Change-Id: I6d7e5b40ba6f2bc596be9b3e80ea5c274f1ae447 Issue-ID: SDC-875 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-28Remove MdcDataErrorMessage #2vempo4-31/+0
Change-Id: I8a89538aa31000cf5b04a38a175156ccaba5ed51 Issue-ID: SDC-875 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-04Remove enter/exit debug #5vempo12-270/+0
Change-Id: I756f8fc8ae24fe7840e9189274ea749c5555dc78 Issue-ID: SDC-875 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-04Remove enter/exit debug #4vempo6-136/+0
Change-Id: I99cef676015533d9cfe66f5a5371da49856500dc Issue-ID: SDC-875 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-12-31Fix Sonar issues ResourceBaseValidatorAbhai Singh1-4/+4
Fixed few reported sonar issues. One sonar issue is ignored as it would involve change in method signature of public method Change-Id: Ib0c97ebce5b05dcc0e7dd3d46f25557cc51c31d8 Issue-ID: SDC-343 Signed-off-by: Abhai Singh <Abhai.Singh@amdocs.com>
2017-12-31Fix Sonar violations - ValidationTestUtilAbhai Singh1-4/+4
Fixed few reported sonar issues. One sonar issue related to exception handling is ignored as it would be fixed later Change-Id: I316868b2f6634e8858696e87604e73de7c8d5e40 Issue-ID: SDC-343 Signed-off-by: Abhai Singh <Abhai.Singh@amdocs.com>
2017-12-31Fix Sonar violations - ValidationUtilAbhai Singh1-10/+8
Fixed few reported sonar issues. Fixed as per review comment Change-Id: Id3cbdcefe120eb9d807f7b66e1b0f329881ef658 Issue-ID: SDC-343 Signed-off-by: Abhai Singh <Abhai.Singh@amdocs.com>
2017-12-31Fix Sonar violations - ValidatorAbhai Singh1-11/+7
Fixed few reported sonar issues. One sonar issue is ignored as am not sure if this qualifies to be a functionalInterface Change-Id: I7b9f4faa4e8359c644f7473d7937c82357f576fd Issue-ID: SDC-343 Signed-off-by: Abhai Singh <Abhai.Singh@amdocs.com>
2017-12-26Fixed sonar issues - NovaServerGuideLineValidatormojahidi1-91/+94
Fixed all sonar issues Change-Id: I5152c860c925ce0532d1b5053a3738d82e1bfafe Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-26Fixed sonar issues - HeatResourceValidatormojahidi2-152/+60
Done refactoring as per given comment Change-Id: Id1cd659af6ddd9e24d281a1bb0d1ae9431bcaf98 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-26 Fixed sonar issues - ContrailServiceTemplatemojahidi1-16/+30
Fixed all sonar issues Change-Id: I2ecf439dac9e180fd1640c53abb0e15991434704 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-26 Fixed sonar issues - NeutronPortNamingConventionmojahidi1-48/+70
Fixed all sonar issues Change-Id: Ibc328c6e7d7d6e71837107d34dc24731735db9d6 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-26Fixed sonar issues - ContrailServiceInstancemojahidi1-16/+29
Fixed all sonar issues Change-Id: Ia1f1f73dd5c0d7f6151b9cab91a3bcb11bd787ed Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-24Fixed sonar issues - NovaServerGroupResourceValidmojahidi1-6/+20
Fixed all sonar issues Change-Id: I4eb6f2923e9b2605e048d4b8ad720bf8bd05c6c9 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-24Fixed sonar issues - NovaServerResourceValidatormojahidi1-16/+35
Fixed all sonar issues Change-Id: I4ee3a6fdc33a3874ce36d32296ab508ee7089468 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-24Fixed sonar issues - NeutronPortResourceValidatormojahidi1-13/+26
Fixed all sonar issues Change-Id: I15953126b263c5746551f024f5ff34ae5848eba8 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-24Fixed sonar issues - SharedResourceGuideLineValmojahidi1-23/+35
Removed unused method parameters Used isEmpty() to check whether the collection is empty or not Change-Id: Id812b2fd4d9b16b399eb9edc0f41e5e0c5d54211 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-24 Fixed sonar issues - YamlValidatormojahidi1-17/+10
Removed unused logger Removed useless parentheses Change-Id: Ia804c7c461690172f67d610df0bfa46c17525ae8 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-24Fixed sonar issues - HeatValidatormojahidi1-219/+233
Refactored code to not nest more than 3 if/for/while/switch/try statements and fixed other sonar violations Change-Id: I0bcef3c45a894c9e1da9a16ad82b6f5140c789ce Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-24Fixed sonar issues - YamlValidatorUtilmojahidi1-13/+10
Added private constructor to hide the implicit public one Change-Id: Iaedd9c5fe8f55025af6b26a41837da2c6e75a5fc Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-24Fixed sonar issues - ForbiddenResourceGuideLineValmojahidi1-14/+28
Added license, removed Removed unnecessary cast to Logger Change-Id: Icf1cac7841e26224573820addd85f3497ee5ae3d Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-24Fixed sonar issues - ContrailValidatormojahidi1-36/+28
Removed unnecessary cast to Logger Removed unused method parameters Change-Id: I766e6333f8309b83d0725c1c6d25109fb81d47f7 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-21Fixed sonar issues - ManifestValidatormojahidi1-76/+72
Removed unnecessary cast to Logger Moved private methods into ManifestScanner Change-Id: I40e581ec03a5400b8728057d766317615299b3e8 Issue-ID: SDC-343 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-12-21Add collaboration featuretalig23-205/+212
Issue-ID: SDC-767 Change-Id: I14fb4c1f54086ed03a56a7ff7fab9ecd40381795 Signed-off-by: talig <talig@amdocs.com>
2017-12-13Adding Error code in HEAT Validatorsmojahidi15-284/+1089
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-23NovaServerResourceValidatormojahidi2-31/+34
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-22NovaServerGroupResourceValidatormojahidi5-45/+148
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-22NeutronSecurityGroupResourceValidatormojahidi2-29/+35
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-22NeutronPortResourceValidatormojahidi8-37/+274
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 Validatormojahidi13-235/+549
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 Validatormojahidi2-0/+31
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 Validatormojahidi10-15/+206
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-22ResourceBaseValidatormojahidi9-3/+169
This task is about updating error messages with error codes for ResourceBaseValidator Change-Id: Ia6fc269e14c9b1593d908212b6517fd94190d079 Issue-ID: SDC-572 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-11-22Adding error codes to HEAT ValidatorAbhai Singh9-21/+180
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 ManifestValidatormojahidi7-75/+146
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 YamlValidatormojahidi2-18/+29
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 ResourceValidatormojahidi8-30/+128
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 Singh13-74/+234
Added error code to SharedResourceGuideLineValidator Issue-Id :SDC-572 Change-Id: I20c014a1aeb488788bc1faeb05a89ff920258275 Signed-off-by: Abhai Singh <Abhai.Singh@amdocs.com>
2017-11-20NovaServer NamingConventionGuideLineValidatormojahidi89-173/+806
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 validatormojahidi17-64/+178
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 validatormojahidi7-42/+124
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>