summaryrefslogtreecommitdiffstats
path: root/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-09-03Onboard Package Handlingaribeiro3-76/+102
Retain the original onboarded package when it comes in zip/csar format. Issue-ID: SDC-2510 Change-Id: Ie293db25eca8872be26ffc8475b25ccace1aab6f Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-09-01Fix artifacts references in main TOSCA descriptorandre.schmid4-346/+237
During package conversion, artifacts can have their path changed. References for those artifacts inside the main TOSCA descriptor must be updated accordingly. Change-Id: Idcffb0724c20875ff1decebfec7c47605bfe20dc Issue-ID: SDC-2540 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-08-26Add unit test for DuplicateComputeInComponentErrorBuilder and refactor ↵m.kowalski32-1/+36
ComponentDependencyModelErrorBuilder Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: Icb6cf51f7777a8a9d3b237ecd98579edc11f9ebb
2019-08-21Unit tests - openecomp-sdc-vsp-managerTomasz Golabek8-0/+341
Tests for org.openecomp.sdc.vendorsoftwareproduct Change-Id: I737b8ca71219c3e241f902a34419c685435e467c Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-13Add unit tests for NicInternalNetworkErrorBuilderm.kowalski31-2/+28
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I8a6127218edf895b8b43d973348cc47794e212c1
2019-08-06Validate PM Dictionary and VES Events YAML Filesandre.schmid7-16/+570
Validate, during the package onboarding, YAML files declared in the manifest as type onap_ves_events or onap_pm_dictionary under non_mano_artifact_sets. Check if the file is not empty, if has a yaml extension and if it has a valid yaml content. Change-Id: I260d0f5355e9e77b6499f553f8aa9f7e6d0693da Issue-ID: SDC-2475 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-07-21Add unit test for TranslationFileCreationErrorBuilderm.kowalski31-0/+49
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: Iedb570e14fdf1169da45321d97807aedad2c16d0
2019-07-21Allow relative path for SOL004 descriptors importandre.schmid2-10/+108
Allow the use of relative path on SOL004 descriptors imports. Resolves imports with "/", "../" or "./" entries during validation and package processing. Validate if the reference is inside the package. Fix problem where imported descriptor files, described as a non string scalar yaml entry, were not being checked by the validator. Change-Id: Ie5a32736b6090b4adf178e8714f7460bcd068def Issue-ID: SDC-2422 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-07-19SDC alignment SOL004 2.6.1bilal.iqbal4-7/+7
Updating TOSCA.meta metadata Created-by key to Created-By Issue-ID: SDC-2402 Change-Id: Ice17dac288d745292bdd8d296bd1ae3eedbff223 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-07-17Add unit test for PackageNotFoundErrorBuilderm.kowalski31-0/+52
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I7b553f8eb03b7a1bd8d059ea12dcbdff79100f03
2019-07-15Add unit tests for UploadInvalidErrorBuilderm.kowalski31-0/+56
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: Icf5f64c77f373d27df438bc6bc89a9e1e67eaf0c
2019-07-15Add unit tests for NicInternalNetworkErrorBuilder and ↵m.kowalski32-0/+83
OnboardingMethodErrorBuilder Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I46e64b3a7a533a20c4e0e5a98aa99c488fa71a6b
2019-07-11Added oparent to sdc mainTomasz Golabek19-9/+309
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-07-09Add unit test for PackageInvalidErrorBuilderm.kowalski31-0/+48
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I3ca7aa5ac07acd472e9ddd359e74064bf29186c0
2019-07-08Add validation of non referenced file in packageandre.schmid4-167/+611
Add the validation specified in SOL004, that all files in the package should be listed in the Manifest file. Fix Validator related Test class, adapting to the new validation. Create a manifest builder to help the tests. Fix minor typos. Update .gitignore to remove ajcore files. Change-Id: Ib9a99bf3d7905349e0ec8fef8fd960028bb83f8d Issue-ID: SDC-2412 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-07-07Add unit test for OrchestrationTemplateNotFoundErrorBuilderm.kowalski31-0/+45
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: Ia8f606848a7ebe405b4ac4a7935d7df1c001452f
2019-07-04Add unit tests for:m.kowalski33-0/+145
-MonitoringUploadErrorBuilder -NicErrorBuilder -VendorSoftwareProductInvalidErrorBuilder Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I4e34f6f511e27a5f33e96f5bc482cca7765a66e8
2019-07-03Add unit test for InformationArtifactCreationErrorBuilderm.kowalski31-0/+47
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I1c2f53de62ac9dcbc264b900769a68eab1749b49
2019-07-03Add unit test for ProcessManagerImplm.kowalski31-0/+9
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I16dc6f67707d520e0e6678255ab70c726be596c5
2019-06-30Add unit tests for:m.kowalski34-0/+217
-DeploymentFlavorErrorBuilder -DuplicateComputeInComponentErrorBuilder -FileCreationErrorBuilder -ImageErrorBuilder Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I0af9da852bb953e93f6e4383725c1c56944d8f33
2019-06-30Add unit tests for OrchestrationTemplateCandidateManagerImplm.kowalski31-0/+22
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I80b9e404a98e23e135ae12e4d24ee2c7f66fef11
2019-06-27Add unit tests for ComponentDependencyModelErrorBuilderm.kowalski31-0/+52
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I48a1b56d3d193dd5a85d4331c31b1913d0997ec3
2019-06-25Add unit tests for:m.kowalski33-0/+134
-ComponentErrorBuilder -ComputeErrorBuilder -CreatePackageForNonFinalVendorSoftwareProductErrorBuilder Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I465619c8e4b9819c4706a38633a9e1d6bf5551ab
2019-06-25Add unit test for CompositionEntityDataManagerImplm.kowalski31-2/+13
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I77efe6d3da88de11ea41484d5ce17d736d6d142b
2019-04-30Fixing expiry date for package certkooper4-57/+57
Change-Id: I6d893f3ba67aefe1250ac4746fcb7221c594bcbd Issue-ID: SDC-2256 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-04-29SecurityManager test failing the buildkooper13-136/+117
Change-Id: I8ff3be7cdc2a1ebf2b3c8b55ac4199bd849865c9 Issue-ID: SDC-2256 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-04-02Verify signaturekooper9-21/+214
Change-Id: I8fc5d50d74d3dd8031c96ee16708489dc7c789b8 Issue-ID: SDC-2163 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-25Change SOL004 baseline from v2.5.1 to v2.6.1bilal.iqbal5-71/+87
Change-Id: Ic524e25a5f0a9952dd0a2c578034c60e51c7a290 Issue-ID: SDC-2190 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-03-24Retrieve issuer certificatekooper3-0/+126
Change-Id: I22b9ed99d9b19ed300b5671826bd5cd369417f06 Issue-ID: SDC-2162 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-19Display PNF/VNF Type for PNF (backend)kooper5-12/+48
Change-Id: Ie3fabe2a91c1e9040939e2bfe97705cfee15b201 Issue-ID: SDC-2157 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-14Add source supportbilal.iqbal6-13/+26
Change-Id: I71f578764f666dd33c4aa42c7e8613b58ecb2f93 Issue-ID: SDC-2173 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-03-12Get manifest location from Meta filekooper21-329/+462
Change-Id: Ibdf3e3c0a5c045d19e207c7e48f3404ff099fb3c Issue-ID: SDC-2152 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-10CSAR Package validationbilal.iqbal23-0/+783
Change-Id: I11af8d93f5a2cd0566a5caf0dad0519d70bd57d7 Issue-ID: SDC-2147 Issue-ID: SDC-2148 Issue-ID: SDC-2149 Issue-ID: SDC-2150 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-03-07Parse Tosca.meta filekooper3-38/+0
Change-Id: I50521fb62999322c99b39024097ab5729f3c1580 Issue-ID: SDC-2151 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-04Add manifest non mano set supportkooper7-142/+1
Issue-ID: SDC-2141 Change-Id: I056e8f7c1da8f17ce8583207660882f85a4d11a4 Signed-off-by: kooper <sergey.sachkov@est.tech>
2018-12-18MainServiceTemplate multiple location supportOren Kleks1-5/+4
Change-Id: I0b2fb3389ebbe5f1bd8ae86421711a08b5614827 Issue-ID: SDC-1744 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2018-12-18MainServiceTemplate multiple location supportshaheen_vz3-0/+39
Issue-ID: SDC-1744 Signed-off-by: Shaheen Shaik<shaheen.shaik@verizon.com>: Change-Id: I77e4ede6b2177ba66a4de8da824d9c7fd86f5705
2018-11-01Sorted out unit-test libraries in onboardingvempo13-1628/+62
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-10-22Increase Coverage - ImageManagerImplsheetalm1-340/+317
Increase Coverage - ImageManagerImpl Change-Id: I3d4f0e16e99770ee3fa6f7d3dee6ab6cb7c7defc Issue-ID: SDC-1673 Signed-off-by: sheetalm <sheetal.mudholkar@amdocs.com>
2018-10-18VSP submit doesn't validate vlm versionayalaben1-4/+4
Change-Id: I8105cc83c0ba6ec3b45a04672399ca6ac9986146 Issue-ID: SDC-1843 Signed-off-by: ayalaben <ayala.benzvi@amdocs.com>
2018-10-08SOL004 compliant CSAR Manifest fileudhay_vz7-20/+20
Change-Id: I7f63fb12f413155072a5f35204f2b80ad8b7517b Issue-ID: SDC-1745 Signed-off-by: udhay<udhayachandran.m@verizon.com>
2018-08-26related-networks property support as inputAssaf, Shay (sa726r)1-0/+23
Change-Id: I2d6fb011f7440127559a8f02b1c8a72095694403 Issue-ID: SDC-1658 Signed-off-by: Assaf, Shay (sa726r) <sa726r@intl.att.com>
2018-08-16Fixed logback test config for multiple modulesvempo1-3/+1
Also removed unused logging code. Change-Id: Iee9a74638e889142f1bb4e01c75c8ed3377357a8 Issue-ID: SDC-1656 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-08-02Removed forced dependencies in commonvempo1-0/+0
Moved dependencies from "dependencies" to "dependencyManagement" so that they aren't inherited unconditionally to child modules. Organized and cleaned up dependencies, aligned versions. Change-Id: I27c7792135ec5b7b2b5b49527bc0ac0d09b024b1 Issue-ID: SDC-1065 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-07-29re base codeMichael Lando19-122/+42
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
2018-06-13Fix for nfcparameters in component questionnairesheetalm1-9/+2
issue - nfc naming code and nfc function fields' values are wiped out with a VSP update Moved the above fields from composition to questionnaire Add BDD test. Add license to java files Change-Id: I2b746fedc17c19b716df35bf0dad2c212f15df30 Issue-ID: SDC-1419 Signed-off-by: sheetalm <sheetal.mudholkar@amdocs.com>
2018-05-29Refactoring validationshrikantawachar3-22/+29
Refactoring validation from Code to FTL Change-Id: Ic33a3719a021bb4c82565653fd8d95de38b7929e Issue-ID: SDC-1334 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2018-05-27Refactor candidate heat daotalig2-38/+35
As a result OrchestrationTemplateCandidate element will be added if not exists instead of failing. Change-Id: I1a1c9afed65018ed01be65ff07dabe1c2081bea7 Issue-ID: SDC-1371 Signed-off-by: talig <talig@amdocs.com>
2018-05-15Removed logger.debug(, exception)mojahidi3-39/+36
Removed logger.debug(, exception) from code Change-Id: Ifc3d5947932027c3261c50a8f6275f5034576d60 Issue-ID: SDC-836 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-05-15Handle logger.debug(, exception)mojahidi1-23/+4
Removed logger.debug(, exception) from code Change-Id: Iec304267d0f113f7a7efa302bc36a7073995ad3d Issue-ID: SDC-836 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>