aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib
AgeCommit message (Collapse)AuthorFilesLines
2017-11-21Added error codes in ManifestValidatormojahidi8-76/+147
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-21nova server validatortalio1-1/+2
fix validation of comma delimited list value Issue - Id : SDC-670 Change-Id: Ic8b6f4b1358679ffacba4f8b832595f649b2fde5 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-21fix NPE in extracttalio5-58/+68
fix NPE when extracting components without images / flavors Issue - Id : SDC-694 Change-Id: I3e4444132a40a2567833375ceea1951803dd16b0 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-21invalid yaml exceptiontalio2-7/+23
throw an invalid yaml exception if one of the retrieved service templates is corrupted, while submitting a VSP Issue - Id : SDC-693 Change-Id: Icf37cf1aa847385ef118a1395b1afdfe99e9d79d Signed-off-by: talio <tali.orenbach@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 NamingConventionGuideLineValidatormojahidi90-174/+807
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>
2017-11-20Naming Convetion validatorsmojahidi4-25/+96
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-19heal all scriptayalaben5-9/+14
Issue - ID: SDC-665 Change-Id: Ib035549589ccd9c113235886442b1b2c9a198b86 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2017-11-19Adding common changes for all HEAT Validatorsmojahidi4-0/+73
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-11-19import tosca bugtalio16-74/+6052
fix bug when converting parameters, when importing CSAR file Issue - Id : SDC-646 Change-Id: Ie9c38f5e51e673a7c89add9e4e42fad93f966aa4 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-16nova server validatortalio2-10/+28
fixed validation of nova server name value inside env file Issue - Id : SDC-670 Change-Id: If407a2c1f601b4b724c50c1994fd056b569588ac Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-15import toscatalio3-10/+63
added exception when recognizing an invalid substitution mappings section inside imported csar Issue-Id : SDC-661 Change-Id: Id608b066d5e440ff5462ec3ba5742d3cff50bf5a Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-15Casandra data center and consistency levelshalomb2-4/+5
fix null check Change-Id: Ie31c76165329c078bce000ec25795492bb3b23f8 Issue-Id:SDC-656 Signed-off-by: shalomb <shalomb@amdocs.com>
2017-11-15Casandra data center and consistency levelshalomb1-1/+4
fix null check Change-Id: If1b541c3cacf0040cc13c6e1d57dd9fd854623e9 Issue-Id:SDC-656 Signed-off-by: shalomb <shalomb@amdocs.com>
2017-11-15Casandra data center and consistency levelshalomb8-45/+161
remove enrichment test Change-Id: Id2a0eda0a78ae7711ec010248edaa6a1273c5a43 Issue-Id:SDC-656 Signed-off-by: shalomb <shalomb@amdocs.com>
2017-11-14Merge "forwarder test"Avi Gaffa19-2/+4656
2017-11-14Merge "Fixing update HEAT"Avi Gaffa1-21/+0
2017-11-14forwarder testtalio19-2/+4656
add unit tests for forwarder healer Issue-Id : SDC-653 Change-Id: I06954e855aac09d16422929203926aa983269b92 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-14Fixing update HEATojasdubey1-21/+0
1. Update component dependencies based on new Heat 2. Retain VSP data on Heat re-upload 3. Unit tests 4. Code reformatting and refactoring for compliance Issue ID: SDC-655 Change-Id: Ib4822d3e7ec69293d2d544044909f0a22ab224ac Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2017-11-14forwarder test fixtalio461-5089/+11353
fix translator tests with forwarder capability Issue-Id : SDC-653 Change-Id: I59db23acb0e2c3b5920bf24662374fee950d479b Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-13port validatortalio1-22/+23
fixing neutron port validator to recognize ports that are not connected to any nova server Issue-Id : SDC-654 Change-Id: I5607b0046bb2debe67119b62566b5283f4afeae6 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-13forwarder healertalio3-9/+134
add healer for forwarder capability Issue-Id : SDC-653 Change-Id: Ic653cf22b4d7c4e22d34b15cac56d91f55ecd6c4 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-13forwardertalio5-12/+116
implement toggling feature on forwarder Issue-Id : SDC-653 Change-Id: I238ae82b6f1fd9fce58ab584acd362a6bafd0dff Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-07Test Cases for the Port scaling Utilitysiddharth09052-1/+77
Test cases to cover all possible scenario which might come as port type. Change-Id: Icdfa35fea52cba86bc5128fad3ec2f857c1d6079 Issue-ID: SDC-573 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2017-11-06duplicate idstalio224-35266/+35393
throw an exception when a zip with duplicate ids in different files is getting uploaded Issue - Id : SDC-554 Change-Id: I213233d8833b89788f980db859d9597d2c1cb950 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-05Port scaling not working properlyvempo78-4248/+16655
Made changes in evaluating port naming pattern. Change-Id: If9a3fc9c3d50fa5c4da319d2ff7d5f8ce6ca8ffe Issue-ID: SDC-573 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-11-05Merge "nested node templates"Vitaly Emporopulo5-41/+76
2017-11-05dynamic portstalio23-0/+3687
ignore "depends_on" from / to nested entities, and adding tests Issue - Id : SDC-576 Change-Id: I2bdf8d97e727395420ff1516c97ff4c8af541749 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-05dynamic portstalio7-163/+34
ignore "depends_on" from / to nested entities, and adding tests Issue - Id : SDC-576 Change-Id: I4788df058ca3b6ea436e54b3a05ceed97135327b Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-02dynamic portstalio2-40/+65
ignore "depends_on" from / to nested entities Issue - Id : SDC-576 Change-Id: Id96e57a7826638b0c5b582d35417d6369fb9f607 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-11-02Fix Zusammen Configurationtalig1-4/+1
Change-Id: Ie9584f75df55f5bdc4b18216439e15cdc8f0be53 Issue-ID: SDC-578 Signed-off-by: talig <talig@amdocs.com>
2017-11-01nested node templatestalio5-41/+76
ignore relations to / from node templates that point to substitution service templates without topology template Issue - Id : SDC-574 Change-Id: I03d2b305d6ebfd3d355ec3ab9a6f7ae8cb1c5743 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-10-31duplicate idstalio6-29/+39
change behaviour when recognizing duplicate resource ids in different files Issue - Id : SDC-554 Change-Id: Id1c43fd99caa6a3cc421e894963972d3e76db551 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-10-25uploadtalio3-10/+13
enable upload for files with extension in uppercase, while not saving the extension in lowercase in the DB Issue - Id : SDC-526 Change-Id: I42baa128d533937f0b257df9f174230f21676b12 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-10-24Submittalio1-1/+3
fix failure in submit due to uploading files with extensions in uppercase Issue - Id : SDC-526 Change-Id: I444444407efe093369e4380dc78117aa396e181b Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-10-24Merge "Upload"Avi Gaffa2-0/+24
2017-10-24Fixed resources not being closed in testsvempo7-140/+250
Fixed static analysis violations in a few modules of SDC onboarding - high-severity issues like not releasing resources (e.g. FileInputStream). Did some minor code cleanup. Change-Id: I89a229ad6bc150951f1f3cc437b3a175a663e203 Issue-ID: SDC-291 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-10-24Uploadtalio2-0/+24
enable upload of files with zip or csar extensions in uppercase, and throwing an appropriate exception in case that the extension is invalid. Issue - Id : SDC-526 Change-Id: I9e556ac41173132cc67d64cd8a9d332a061cc942 Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-10-23Artifacts in CSARtalio2-2/+15
pack all artifact files under Artifacts/ directory, and not under Artifacts/Artifacts (in import CSAR scenario) Issue - Id : SDC-495 Change-Id: I65299d449ed87a6fb492a802c40e1ab12535453a Signed-off-by: talio <tali.orenbach@amdocs.com>
2017-10-23Fixed resources not being released, code cleanupvempo3-60/+50
Properly close input streams; code cleanup; fixed static analysis violations and coding convetions. Change-Id: I53dabcc9f8898a0ab25636735cb0b5f84b57c427 Issue-ID: SDC-291 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-10-23Merge "Additinal fixes for resources not being released"Avi Gaffa8-49/+187
2017-10-23Additinal fixes for resources not being releasedvempo8-49/+187
More fixes for input streams not being properly closed, with unit tests and other minor improvements (code cleanup and coding conventions). Change-Id: I6751f924a1469d49b996e4f1d6c61371af6714b1 Issue-ID: SDC-291 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-10-23Fix onboarding undo checkout impltalig5-68/+125
Fix reset in zusammen collaboration plugin, Throw explicit exception in case of zusammen db illegal state. Change-Id: Ic9463517b72c7a89a2de78b86da5679ac57371a6 Issue-ID: SDC-490 Signed-off-by: talig <talig@amdocs.com>
2017-10-22Merge "Fix occurences not deserialized properly"Vitaly Emporopulo3-9/+173
2017-10-22Fix occurences not deserialized properlyvempo3-9/+173
add json deserializer for RequirementDefinition Issue-Id : SDC-474 Change-Id: I734a671b02a319fc3e90239bb8b0202c898fe473 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-10-22Merge "Fix issues in resubmit"Vitaly Emporopulo1-1/+1