aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test
AgeCommit message (Collapse)AuthorFilesLines
2020-01-23Revert "Promise Request-id header: Check MDC value if no header"Ittay Stern1-26/+1
This reverts commit 1420dc49 Issue-ID: VID-647 Change-Id: Ib33ae33ba0d1482eddf4d85fcc15f9bc6569e00c Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-23Promise Request-id header: Check MDC value if no headerIttay Stern1-1/+26
Issue-ID: VID-647 Change-Id: I9ed97742db1f37de68bfcf1b9cd58afc996da7bf Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-22make GR_API the default testApi in automation testsEylon Malin2-2/+2
Issue-ID: VID-757 Change-Id: I5af2029c53b47e2c303b424396ab0940414f9106 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2020-01-19originalName stored and sent to frontend in a templateEylon Malin5-24/+27
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-15Async MSO error format: handle more casesIttay Stern2-1/+25
Try better not to fallback to "Http Code:400, null" Notably, handle the case where "serviceException" is inside a "requestError" container. Issue-ID: VID-749 Change-Id: I3c7d609aed893bbbeb71ebe4b465289c71e5c32b Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-15Honor user-cookie to select a temporal feature setIttay Stern2-0/+102
Issue-ID: VID-747 Change-Id: I5acd4685bedfed8570a6fd698101f541d03c8d82 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-13clear isFailed and statusMessage when get it from frontend requestEylon Malin3-4/+112
Issue-ID: VID-724 Change-Id: I1bc33513250b220a063742233592388c7a108958 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2020-01-12Provide literal usePreload=false when usePreload is <null>Ittay Stern6-13/+70
Issue-ID: VID-746 Change-Id: Iab121726177397d1dbde37a1f7b93b30275a9ded Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-09Fix the format of supplementary file and user params for aLaCarte requestsEylon Malin8-80/+177
supplementary file shall be in format [{"name": "fieldName", "value" : "xyz"}] Also this is the format of each param in user params for aLaCarte requests and old macros Issue-ID: VID-743 Change-Id: I579298ce3f0b789a7a69e6af5a85bfbd50ae9fc0 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
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