summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test
AgeCommit message (Collapse)AuthorFilesLines
2020-01-08VidController sets isInstantiationTemplateExists on Browse SDCAlexey Sandler1-24/+38
Issue-ID: VID-739 Change-Id: I8dea890c8518e3c314e5371eaa982ce7550b27a5 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-01-07templates button - rename from hasTemplates to isInstantiationTemplateExists ↵Einat Vinouze1-2/+2
on the FE side Issue-ID: VID-741 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I09e0579d96cf5265519eaa69646afef7b511593a Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-01-07Add isInstantiationTemplateExists to service model listAlexey Sandler1-0/+68
During deploy from SDC added isInstantiationTemplateExists, that informs if template exists in service by model-service-id. Issue-ID: VID-739 Change-Id: I3de909c3976fe32cba25bcb39b9f35e566467760 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-01-01Add DB query for all model-service-ids which have a templateAlexey Sandler2-0/+12
Issue-ID: VID-739 Change-Id: Ib401f1fd312afb9652793854d49c8c7e5e115149 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-12-24Write async instantiations request-summary to DBIttay Stern1-4/+12
Issue-ID: VID-724 Change-Id: I8b4bb55f6d7d59da321ef7b52802ea8bd957c1c6 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-23Add request-summary field to ServiceInfoIttay Stern2-0/+127
Issue-ID: VID-724 Change-Id: Ifdf39a0c21e7a96065f88aa2aa4a5560e0559564 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-23Extending the getSummarizedMap test with different kind of templates.Alexey Sandler3-9/+129
Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I8b678d9c86cb4e484a34a0eb76d8cc83c0909232 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-12-22Add Volume Groups count ability during summarizing.Alexey Sandler2-1/+3
Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I0478469817f13609618c1597c654decac463474b
2019-12-21Add test to verify the count amount of networks during summarizing.Alexey Sandler2-1/+18
Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Ic65c52deb66a8a1281a190443907b04b2385787a Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-12-19Tweak add resources summarizing function in service instanceIttay Stern1-3/+4
Issue-ID: VID-724 Change-Id: I7e705aef5e94698c60bd4ea17991b5beb6f0dc54 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-19Merge "Add resources summarizing function in service instance."Ittay Stern2-0/+88
2019-12-19Add resources summarizing function in service instance.Alexey Sandler2-0/+88
Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I9f4d6201cadd31e84ef90f25a619d95bf74eb9ae Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-12-19Merge "on templates - filter only Action==INSTANTIATE"Eylon Malin2-13/+35
2019-12-18on templates - filter only Action==INSTANTIATEEinat Vinouze2-13/+35
Issue-ID: VID-730 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I16b73639f18b49b546868326cc6ed82d14818c1f Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2019-12-18Restore the reference instance of Upgrade's testIttay Stern3-10/+22
Restored file upgrade_vfmodule_e2e__service_instance, and adjust upgrade_vfmodule_e2e__fe_input_cypress accordingly. Also hardening MsoRequestBuilderTest to check for every true/false/null Boolean option. Issue-ID: VID-603 Change-Id: Ib82afcecaa57cb06896f7175d48aa8d6a314fdfa Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-17Fix e2e test of upgrade VFMAmir Skalka2-3/+1
Issue-ID: VID-603 Signed-off-by: Amir Skalka <amir.skalka@intl.att.com> Change-Id: I678a0f30da8236952def96c582863c8200857d45
2019-12-17Templates: show correct values of sdnc-preload, volume-group nameIttay Stern1-0/+215
Rename fields in VfModule: - volumeGroupName instead of volumeGroupInstanceName - sdncPreLoad instead of usePreload Also allow "set" on pupups by providing an empty "existingNames" Issue-ID: VID-724 Change-Id: I18ea0c3fdb4fe716c01902effbb577844000f958 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-16Fix intermittent test failureIttay Stern1-4/+4
Test whenReadVnfNodeWithVfModule_thenNodeIsAsExpected errors at https://jenkins.onap.org/view/vid/job/vid-maven-stage-master/209 Change-Id: Id67ce0385436a72d79f9d6b2784d97131d6e02c3 Issue-ID: VID-253 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-11SyncRestClient for Http/s ServerTest to use 127.0.0.1 addressEylon Malin2-20/+41
Issue-ID: VID-726 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ifa5f2025a01f51d82f3019728b55382490f914fc
2019-12-10Address licence discrepancy by removing some unneeded filesIttay Stern1-0/+0
Issue-ID: VID-378 Change-Id: Ib897dbc414d8d4688ed5e9ed52b197051a9de9eb Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-09Join ExistingElementsCounterMaps with ServiceInstantiationIttay Stern2-12/+102
This new pretty creature is called "ServiceInstantiationTemplate" :-) Issue-ID: VID-724 Change-Id: I1437d76e79512920079b574844b19368c07f501f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-09Extract getExistingCounterMap from AAITreeConverter to ModelUtilIttay Stern5-53/+97
Issue-ID: VID-724 Change-Id: I16305bc2f7c0f208d03da8e0255fad0ea16fb28d Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-02Merge "add more test scenarios for filter serviceInfo by service model id"Ittay Stern1-14/+29
2019-12-02add more test scenarios for filter serviceInfo by service model idEylon Malin1-14/+29
Issue-ID: VID-724 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I24daba11da26a39ee366d1353459c530f0ebfafc
2019-12-02API to get template-topology by job idIttay Stern1-4/+18
..../vid/asyncInstantiation/templateTopology/{jobId} Issue-ID: VID-724 Change-Id: I5704951a595293d10ed6ae09c0113e1cac5b5788 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-01Add filter for serviceInfo by service model idSara Weiss3-51/+132
Issue-ID: VID-724 Change-Id: Icdb35b4fa95acb0d40f2921f3d3de0a037858e08 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com>
2019-11-28Merge "BE unit tests for supplementaryFileParams in vf module upgrade"Ittay Stern2-8/+27
2019-11-28BE unit tests for supplementaryFileParams in vf module upgradeEylon Malin2-8/+27
Issue-ID: VID-603 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ic2da23ab699d5b0d218b3bb1f0c0f7f936b0902e
2019-11-28update supplementaryFileContent at onSubmit of VfModule upgradeEylon Malin1-1/+4
Issue-ID: VID-603 Change-Id: I7fac657454de7a6d3674708c956eb099c11ad2ea Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-27OperationalEnvironment improvementsMichal Kabaj3-83/+94
-added new unit test to AaiControllerTest -OperationalEnvironment and List are now immutable -builder improvements -removed redundant test Issue-ID: VID-706 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com> Change-Id: I2cf0d0b124458b9306637614b3d26c85c780ca4d Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-11-27add sdnc checkbox to vfm upgrade modalAlexey Sandler2-0/+2
Issue-ID: VID-603 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Ic297486bc343419415bf3736ebb56944e72bf8b8 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-11-26improve debug logging formatAmichai Hemli1-0/+15
Issue-ID: VID-646 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ifa9105455dabdfad3179c36b516fe9833e0e6e60 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com>
2019-11-26Replace vfmodule: add retainVolumeGroup to new upgrade modalSara Weiss2-0/+2
Issue-ID: VID-603 Change-Id: I1994d4464172613294198e21a77f31b752211888 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-25Merge "identify macro services without instantiation type in BE by feature flag"Ittay Stern1-28/+96
2019-11-25identify macro services without instantiation type in BE by feature flagEylon Malin1-28/+96
Issue-ID: VID-705 Change-Id: Ia618f91133cdecbd35eac4346496a6ff38a3753e Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-25upgrade vfModule retainAssignments true by default.Yoav Schneiderman2-2/+2
Issue-ID: VID-603 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Change-Id: I9f8761b756968dcc91ab1cae998d47fa74ecccd0
2019-11-25VfModule upgrade: popup with retain-assignments checkboxYoav Schneiderman2-2/+4
Also: - undo upgrade -> remove field - cancel on popup works Issue-ID: VID-603 Change-Id: I47106ce4d042c777b56699d8c5c5e1e99f856a5e Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
2019-11-25Replace vfmodule: expect optional retainAssignments paramIttay Stern3-10/+18
Issue-ID: VID-603 Change-Id: Ifda72845f2c5b473bba7ac64deab8d4b0f11ef10 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-24Migrating VfModuleOrVolumeGroupRequestDetails it to Kotlin; avoid the inner ↵Ittay Stern1-2/+3
static classes Issue-ID: VID-603 Change-Id: I8ae786d2e0e67300cd6118d41b48ba8483b922f0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-24VfModule and VolumeGroup RequestParameters: introduce objects hierarchyIttay Stern1-10/+15
-- RequestParametersVfModuleOrVolumeGroup +-- RequestParametersVfModuleOrVolumeGroupInstantiation +-- RequestParametersVfModuleUpgrade Change-Id: I97ef46c7cf66936685e030a73b42d4deac7403b5 Issue-ID: VID-603 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-21Merge "Replace vfmodule: expect optional retainVolumeGroups param"Ittay Stern3-10/+24
2019-11-21Replace vfmodule: expect optional retainVolumeGroups paramSara Weiss3-10/+24
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-21VidNotionBuilder can use configuration file to identify macro servicesEylon Malin2-0/+23
Issue-ID: VID-701 Change-Id: I23c89ed500d6d1663b07fa909b16eda30e63e36c Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-19a-la-carte services new instantiation ui selenium testEylon Malin1-0/+0
Issue-ID: VID-701 Change-Id: I72f5245493d0ad3e3cc4447617c4b6a011bfd41c Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-11a-la-carte services new instantiation uiEylon Malin2-20/+52
Issue-ID: VID-701 Change-Id: I1a58fd2221f0936d32a8289fa666c6ffcfc7e2fa Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-10fix identification of port mirroring serviceEylon Malin1-0/+0
Issue-ID: VID-701 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I56e4c9502724f271810b44ea946cd56f4013c543
2019-11-10Merge "VidNotion identify vlan tagging service"Amichai Hemli1-0/+10
2019-11-10Merge "VidNotion identify port mirroring service"Amichai Hemli2-12/+20
2019-11-10VidNotion identify vlan tagging serviceEylon Malin1-0/+10
Issue-ID: VID-701 Change-Id: Iffba5bca82e0511715e5ecb6b91cc9f4e077eaee Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-10VidNotion identify port mirroring serviceEylon Malin2-12/+20
Issue-ID: VID-701 Change-Id: I805acab9380c779d2609107c1c65ef25bb0dad47 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>