summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test
AgeCommit message (Collapse)AuthorFilesLines
2020-12-21Fix for VID-927: Generated service instance name is not visible in ↵marcinrzepeckiwroc3-3/+9
Instantiation status table. If user not provide Instance Name during set a new service instance, vid generate name base on service model name (if the name is not unique, it will append the suffix) Issue-ID: VID-927 Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com> Change-Id: I7d51c0d4b0b2c0765ba9f3a7302c591f19438dc4
2020-11-27Update VID SO API call generation - include PNF instanceName parameter in SO ↵Mateusz Gołuchowski12-39/+94
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-11-11removing retain assignments checkbox from upgade vfModule screenRachitha Ramappa4-4/+4
Change-Id: I7f28de1ebc34ae393828bf139716533248e8897a Issue-ID: VID-922 Signed-off-by: rachitha.ramappa@att.com
2020-10-29VID-913 : Addition of Instance IDs in Audit Info screenKruthi Bhat2-0/+4
Change-Id: I7a440c6797f63588c68d490715272992e626424f Issue-ID: VID-913 Signed-off-by: Kruthi Bhat <krutbhat@att.com>
2020-10-23Sorting functionality on audit info screenKruthi Bhat4-0/+8
Change-Id: If2fed947ccc0cbcb68ad656fb6010aa9cb829acd Issue-ID: VID-904 Signed-off-by: rachitha.ramappa@att.com
2020-08-31Pause Upon VF Module FailurePATTANAYAK, SAUMYA SWARUP (sp931a)3-9/+22
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-06-25Rollback on failure flag should always be true while vfm replace callfeature/mfaPATTANAYAK, SAUMYA SWARUP (sp931a)1-1/+1
Issue-ID: VID-851 Signed-off-by: Soumya Pattanayak <sp931a@att.com> Change-Id: I2cb3fd0a6b6d25133e426c76ac5851df9cc55216
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 Vinouze6-47/+83
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 Vinouze2-2/+2
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 Vinouze8-7/+234
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-05-04When cloud region is missing then omit the cloudConfiguration objectAmichai Hemli1-4/+16
Issue-ID: VID-820 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: I0780649982c0a1ae0a5bc56da438d422a710e4bf Signed-off-by: Amichai Hemli <amichai.hemli@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-07Limit the length of logged responses in outgoingRequestLogIttay Stern1-1/+36
Currently truncated after 1 MB. Issue-ID: VID-804 Change-Id: Ic99c33eede488db60c296d7272850cadee9f2925 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-04-06Add another VNF to the new view/edit screen - Integration testEinat Vinouze2-0/+223
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-05Merge "Add another Network to the new view/edit screen"Eylon Malin3-2/+113
2020-04-05Add another Network to the new view/edit screenAlexey Sandler3-2/+113
Issue-ID: VID-802 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Ie0e1dcd28f78307ec526c375c1bf4c655ec09ffe Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-04-02when deleting a vf module from the modern ui verify that correct delete is ↵Amichai Hemli2-0/+196
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-04-01Configure "portal app_password" in DB by environment variableIttay Stern1-0/+93
Issue-ID: VID-801 Change-Id: Ic29912cdbbfe2cad9de957d190224d873d9c1e8c Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-03-30add test that verify delete and upgrade of the not upgraded vfm'sAlexey Sandler1-4/+41
add cypress test that verify delete and upgrade of the not upgraded vfm's on a single click Issue-ID: VID-798 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I293779c3bd48215b6830a99be9a423ce7cb29a5d Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-03-26add cypress test that verify deletion of the not upgraded vfmAlexey Sandler1-0/+117
Issue-ID: VID-795 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I9761ccdc3eb3bb06054ddaad06bc56ace9279e2b
2020-03-19set default values in VFM Upgrade popupAlexey Sandler3-7/+7
Issue-ID: VID-794 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Ic8c896e0eea0535e0e52a394c403c2e167240b47 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-03-15Extend timeout in DB-related tests of JobsBrokerServiceIttay Stern1-3/+4
Issue-ID: VID-433 Change-Id: Ib33c7621c8315595a341486e475ad15a90330369 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-03-12Extend timeout in test JobsBrokerServiceIttay Stern1-1/+1
This resolves instability in tests, e.g.: java.lang.RuntimeException: java.util.concurrent.TimeoutException at ...JobsBrokerServiceTest.waitForFutureOptionalJob() at ...JobsBrokerServiceTest.getAlotOfJobs() Redo commit 8aff973214f44a1f4cf95e5330cb9687be1bfa76 Issue-ID: VID-433 Change-Id: Ib366d7c7ffff7ee75a78ff5be5ccd5c970c783dd Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-03-11add new format to fetch requests from MSO to the CMAmichai Hemli3-3/+8
When flag is true VID will use the format=simpleNoTaskInfo parameter in addition to the filter parameter when fetching orchestration requests for the change-management dashboard. Issue-ID: VID-787 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: I18d608db5bab6f095f399ac0f58fe5e49944a6b1 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Signed-off-by: Alexey Sandler <alexey.sandler@intl.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-03-01when signaling the frontend about templates check the correct flag ↵Amichai Hemli1-2/+2
FLAG_2004_CREATE_ANOTHER_INSTANCE_FROM_TEMPLATE Issue-ID: VID-739 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Iaed25f1932eed675310c8d0003d415352991d19e
2020-02-26Test many POJOs getters/settersIttay Stern3-92/+147
Issue-ID: VID-768 Change-Id: I891af541bec9aaddaf4d68c8c2b0ae15690bde2c Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-24Show "retain VG" for vfModule that is allowed or that is an "alien"Einat Vinouze1-0/+1
Issue-ID: Issue-ID: VID-771 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Ie52fa194a92e0b9e21df723b708b4db877712068 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-02-23Merge "upgrade vfmodule when upgraded already service, vnf and brother ↵Amichai Hemli1-0/+193
vfmodule e2e"
2020-02-23upgrade vfmodule when upgraded already service, vnf and brother vfmodule e2eIttay Stern1-0/+193
- Use modelCustomizationId and modelVersionId from instance, instead of service-model hierarchy - Adds a Cypress test-case in viewEditUpgradeVfModule.e2e.ts - Assumes topology improved response in payload of: upgrade_vfmodule_when_service_vnf_and_brother_vfmodule_alredy_upgraded_e2e__service_instance.json (see Change Ib25c6cf7269614f2f4d332b3aa84b3307a59ebda) Issue-ID: Issue-ID: VID-771 Change-Id: I9d200dd619a3c3d0503f47777efd3780eaa2b7b2 Signed-off-by: Ittay Stern <ittay.stern@att.com> Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-02-23Topology tree: test fetchCustomizationIdsFromToscaModelsWhileNeededIttay Stern1-0/+51
Issue-ID: VID-771 Change-Id: I5c1bf1f4eba8b5f53702ae2192b8ac9a962f1344 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-20Topology tree: enrich vfModules data from other versions of same modelIttay Stern3-10/+168
Depends on FLAG_EXP_TOPOLOGY_TREE_VFMODULE_NAMES_FROM_OTHER_TOSCA_VERSIONS Issue-ID: VID-771 Change-Id: Ib25c6cf7269614f2f4d332b3aa84b3307a59ebda Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-20Topology tree: extract AAITreeNodesEnricher out of AAIServiceTreeIttay Stern4-148/+202
Issue-ID: VID-771 Change-Id: I138a89b7b2f00e6e603ff26addefc494aeb019b0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-20Learn to get all model versions sorted from high to lowIttay Stern1-10/+27
Issue-ID: VID-771 Change-Id: I9c7cc3f319aa13a2dab33e8c584f7f7ed90cf847 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-20Learn to inflate models by Customization uuidsIttay Stern1-16/+51
Issue-ID: VID-771 Change-Id: I3996639745e77b8754e8bfa82c153690df683925 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-17Test AaiController's get-tenants existing flowIttay Stern5-12/+95
Issue-ID: VID-758 Change-Id: I0839260d3e43697cb15e8e0f8998e521c9d3a2f6 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-13Translate owning entity name to owning entity ID - update api test to except ↵Einat Vinouze1-3/+1
new behavior Issue-ID: VID-758 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Ib8b8da5c3267a3668cf29b950233af14b29f2d23
2020-02-13translate owning entity name to owning entity IDEinat Vinouze1-4/+86
Issue-ID: VID-758 Change-Id: Ic89829ac4590537f0279052ceb9e8432ea0de878 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-02-11Filter owning-entities from /category_parameter by permissionsIttay Stern2-1/+116
Implemented in CategoryParameterServiceWithRoles and injected to MaintenanceController, but still reachable because shouldTreatPermissions() is "false". Issue-ID: VID-758 Change-Id: I716202ca944af9b0de9c151d75d50b5df41a8171 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-11Merge "Add AsyncInstantiationController tests"Ittay Stern1-0/+178
2020-02-10Add AsyncInstantiationController testskurczews1-0/+178
Issue-ID: VID-470 Change-Id: I99ccf53a89a12454f2f7da70a959508a2183ee13 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com> Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com>
2020-02-10AsyncInstantiationIntegrationTest: cleanup and enable TENANT_AND_REGION_FROM_VNFIttay Stern2-14/+9
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 Stern3-14/+176
Issue-ID: VID-758 Change-Id: Ie48240442e5b2f858e530858d2e25827e799e4c2 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-04add owningEntityId to each result of getServicesByOwningEntityIdEylon Malin1-3/+3
Issue-ID: VID-758 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I4546b5d86e6a1b929b3430aa41f13980f07cfdaf
2020-02-04regression unit test for getServicesByProjectNamesEylon Malin2-4/+133
Issue-ID: VID-758 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ibb4f6b63448dfb53bae5c262b3d8ce4f253935e0
2020-02-03regression unit test for getServicesByOwningEntityIdEylon Malin2-0/+126
Issue-ID: VID-758 Change-Id: I4e080b6d775feb890f597b1db006e00f8108a987 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2020-02-03Respect owning-entity-id when searching instances by SubscriberIttay Stern1-4/+60
Issue-ID: VID-758 Change-Id: Ife6d8679b3ea00d4bb9efb24810b5a50652f5d76 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-29RoleValidatorByOwningEntity permits by PermissionPropertiesOwningEntityEinat Vinouze7-37/+77
PermissionPropertiesOwningEntity is sharing a parent interface with PermissionPropertiesServiceType: WithPermissionProperties. Issue-ID: VID-758 Change-Id: I90c04cb8d4331d68329f3a12329244f09c6bc184 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>