aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/job
AgeCommit message (Collapse)AuthorFilesLines
2020-11-27Update VID SO API call generation - include PNF instanceName parameter in SO ↵Mateusz Gołuchowski2-1/+2
API call (macro) Creation of functionality to prepare service with PNF request which call SO. Issue-ID: VID-695 Signed-off-by: Mateusz Goluchowski <mateusz.goluchowski@nokia.com> Change-Id: I5285ac2ab5e95665244ca18c6549249d9330b1ed
2020-08-31Pause Upon VF Module FailurePATTANAYAK, SAUMYA SWARUP (sp931a)1-5/+14
Issue-ID: VID-862 Currently in VID, once a failure is received from SO on the instantiation of a VF Module, it is assumed that other VF Modules may continue with the execution without stopping. However, in most of the cases, it is a good idea to stop further requests to SO if one of the VF Module instantiation returns an error. This user story, makes sure this functionality is achieved. Change-Id: I07c51b81111f805b61c8b3714a65171d7cbaa254 Signed-off-by: PATTANAYAK, SAUMYA SWARUP (sp931a) <sp931a@att.com>
2020-05-21Set JobStatus as COMPLETED_AND_PAUSED when needed so we can present it on ↵Einat Vinouze3-65/+82
instantiationStatus Issue-ID: VID-821 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I19328ce643ea984a97dc04183626dea133be517d Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-05-19Introduce FeatureManager to ResourceCommandEinat Vinouze5-33/+61
Issue-ID: VID-821 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Id6c663d4612d69a48b4a9425db082fb6c33e08b1 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-05-17Move pauseInstantiation from VfModule to BaseResourceEinat Vinouze1-1/+1
Issue-ID: VID-821 Change-Id: Iacb80bba25596b26cb33fd91d9b2c4a4f9a6d08b Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-05-05Add pause after completion for vfModuleEinat Vinouze3-1/+63
Issue-ID: VID-821 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Ie3088cd2795c94121c45874d15c319151a10cc95 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-04-16add network: create test to verify payload to MSOAlexey Sandler1-0/+28
Issue-ID: VID-802 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Ib150b9d67f7ba50eb619b5483b99eb4ae906b9d8 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-04-06Add another VNF to the new view/edit screen - Integration testEinat Vinouze1-0/+23
Issue-ID: VID-803 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I9e2a58863855353b75edab44129c96b319511dde Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-04-02when deleting a vf module from the modern ui verify that correct delete is ↵Amichai Hemli1-0/+73
sent to mSO Issue-ID: VID-798 Change-Id: I1c8422ccbd15f12b6e516abb6e77229daa65ffe1 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-03-08isVfModuleBaseModule() will not throw on model mismatchIttay Stern2-50/+60
In addition, the model-info comparision is by customization id or customization name instead of the version id. Issue-ID: VID-603 Change-Id: I8efee06f470e5d5681c264de01ed1315ee1f8cc6 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-16Limit vfmodule tenant and region dictation to "create"Ittay Stern1-2/+17
Other flows (e.g. Delete) are expected to have literal designation. Verified in API test "delete1VnfWithVfModulesAndCreate1VnfFromService". Issue-ID: VID-758 Change-Id: Ib543ff98ecf96e1df0e5741fbdbba2e64e602528 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-10AsyncInstantiationIntegrationTest: cleanup and enable TENANT_AND_REGION_FROM_VNFIttay Stern1-14/+6
Issue-ID: VID-758 Change-Id: Ie040e7fb3da031cd48b04eb2543a6209b7215f07 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-06vfmodule tenant and region are dictated by parent VNF valuesIttay Stern1-0/+90
Issue-ID: VID-758 Change-Id: Ie48240442e5b2f858e530858d2e25827e799e4c2 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-19originalName stored and sent to frontend in a templateEylon Malin1-7/+7
Issue-ID: VID-724 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ie18e16fed62f9a92a4b4d5c72596c36303de1f48 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2020-01-13clear isFailed and statusMessage when get it from frontend requestEylon Malin1-0/+45
Issue-ID: VID-724 Change-Id: I1bc33513250b220a063742233592388c7a108958 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-25Replace vfmodule: expect optional retainAssignments paramIttay Stern1-2/+2
Issue-ID: VID-603 Change-Id: Ifda72845f2c5b473bba7ac64deab8d4b0f11ef10 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-21Replace vfmodule: expect optional retainVolumeGroups paramSara Weiss1-1/+1
Issue-ID: VID-603 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com> Change-Id: I392d1e70a7f423128221b2f7a7fc0f8449d8e268
2019-11-04vfModule upgrade: don't fallback on mismatching newest modelIttay Stern1-0/+85
Issue-ID: VID-603 Change-Id: I96a0d4ed3a6717a4f1ee7c285dc71e2d7d695302 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-31Backend's vfModule upgrade: test refinement + code fixIttay Stern1-78/+60
Now using modelCustomizationName to map each module from existing service-model to target's service-model. Issue-ID: VID-603 Change-Id: Ie6a2584b6f9d0aa835e8f2ddff4a3ab9d80ef434 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-03sort base resource according it's position fieldEinat Vinouze2-21/+76
Issue-ID: VID-646 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I35705cd4a239e30bc6d86da7cde05495648d2a04 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2019-09-24Add a position field to BaseResourceEinat Vinouze1-6/+11
Issue-ID: VID-646 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Id1f84dadd31840cf9fa3cdbc7afd7da727a22c7f
2019-09-09Adding feature: Replace vfmoduleEinat Vinouze1-36/+125
Issue-ID: VID-603 Change-Id: I59068a0979d6fb733e4243c8f78921f396dc9d17 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-30Implant vid-app-common org.onap.vid.job (main and test)Einat Vinouze16-712/+1437
Issue-ID: VID-378 Change-Id: I41b0bdc2c4e3635f3f3319b1cd63cefc61912dfc Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-18Don't override SystemProperties without restoring itIttay Stern1-6/+5
This resolves NullPointerException in Dublin's Jenkins' SyncRestClientForHttpServerTest. Issue-ID: VID-503 (cherry picked from commit ef34f16650be1f251447a7b9a1d9f1369ca459de) Change-Id: I65fbed0a6f6214d9495d0cb6456b3a8e4f094a3d Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-03-19Task.java to Task.kt, and test itIttay Stern1-20/+11
Also move setRandomStrings() to TestUtils.setStringsInStringProperties() Issue-ID: VID-403 Change-Id: I0216d16983699f1b91c23d167472e36bcae10ce1 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-02-26Update license headersIttay Stern12-2/+242
- Source code files been updated with License Apache 2 header - Year format in copyright header of all source code files been updated Issue-ID: VID-427 Change-Id: I27dfd8a927a62c90a713cbeccf6ce656c4f920f0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-01-09Merge from ECOMP's repositoryIttay Stern16-536/+2047
Main Features -------------- - Async-Instantiation jobs mechanism major update; still WIP (package `org.onap.vid.job`) - New features in View/Edit: Activate fabric configuration; show related networks; soft delete - Support AAI service-tree traversal (`AAIServiceTree`) - In-memory cache for SDC models and certain A&AI queries (`CacheProviderWithLoadingCache`) - Upgrade TOSCA Parser and add parsing options; fix malformed TOSCA models - Resolve Cloud-Owner values for MSO - Pass X-ONAP headers to MSO Infrastructure -------------- - Remove codehaus' jackson mapper; use soley fasterxml 2.9.7 - Surefire invokes both TestNG and JUnit tests - Support Kotlin source files - AaiController2 which handles errors in a "Spring manner" - Inline generated-sources and remove jsonschema2pojo Quality -------- - Cumulative bug fixes (A&AI API, UI timeouts, and many more) - Many Sonar issues cleaned-up - Some unused classes removed - Minor changes in vid-automation project, allowing some API verification to run Hard Merges ------------ - HTTP Clients (MSO, A&AI, WebConfig, OutgoingRequestHeadersTest) - Moved `package org.onap.vid.controllers` to `controller`, without plural -- just to keep semantic sync with ECOMP. Reference commit in ECOMP: 3d1141625 Issue-ID: VID-378 Change-Id: I9c8d1e74caa41815891d441fc0760bb5f29c5788 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2018-11-27Upgrade mockito to v2; drop incompatible powermockStern, Ittay (is9613)1-1/+1
Note that anyString() is not matching null values, therefore replaced with any() where relevant. Change-Id: If64944e1edc62013953e41b2645a2b78c578bbe8 Issue-ID: VID-359 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2018-10-22new tests for job dirWojciech Sliwka4-0/+531
Add new tests for job directory to increase code coverage in vid Issue-ID: VID-310 Change-Id: Idbdeb1e9037c2b8c7359cf34b3893e1fc2e858d2 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2018-07-10Merge 1806 code of vid-commonSonsino, Ofir (os0695)2-0/+169
Change-Id: I75d52abed4a24dfe3827d79edc4a2938726aa87a Issue-ID: VID-208 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>