aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src
AgeCommit message (Collapse)AuthorFilesLines
2020-01-12Provide literal usePreload=false when usePreload is <null>Ittay Stern7-16/+74
Issue-ID: VID-746 Change-Id: Iab121726177397d1dbde37a1f7b93b30275a9ded Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-12rename from hasTemplates to isInstantiationTemplateExists in browse SDCEylon Malin3-6/+6
Issue-ID: VID-741 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I44b45319c3f05d7480c4842198ee05c4664ad028
2020-01-09Fix the format of supplementary file and user params for aLaCarte requestsEylon Malin13-124/+265
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 Sandler2-26/+52
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 Vinouze3-4/+15
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 Sandler3-1/+106
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-02improve getAllTemplatesServiceModelIds queryEylon Malin1-6/+5
Issue-ID: VID-739 Change-Id: I0b5520e0d22942a84ca5d6fc54821455ef67f644 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2020-01-01Add DB query for all model-service-ids which have a templateAlexey Sandler3-2/+27
Issue-ID: VID-739 Change-Id: Ib401f1fd312afb9652793854d49c8c7e5e115149 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-01-01Show Templates popup when deploying from "SDC Catalog"Yoav Schneiderman3-363/+374
Issue-ID: VID-739 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Change-Id: I99fe7eff025341da9b8f8555c8fda4528c2c1426 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
2019-12-25Merge "Let enabling FLAG_2004_INSTANTIATION_TEMPLATES_POPUP"Ittay Stern1-0/+1
2019-12-25Let enabling FLAG_2004_INSTANTIATION_TEMPLATES_POPUPIttay Stern1-0/+1
Issue-ID: VID-724 Change-Id: I93c5b61aa282f6108d7256286f2a70d1772ff419 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-25rewrite message when timed out while waiting for MSOAmichai Hemli1-578/+584
Issue-ID: VID-736 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ica18071db59c3b4453573a89b8451b343716f6ec
2019-12-24Write async instantiations request-summary to DBIttay Stern2-8/+34
Issue-ID: VID-724 Change-Id: I8b4bb55f6d7d59da321ef7b52802ea8bd957c1c6 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-24move templates API to a intended controllerYoav Schneiderman2-12/+14
Issue-ID: VID-730 Change-Id: Id2aa44803a190333b5a96fda77ca15d254b4c222 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2019-12-23Add request-summary field to ServiceInfoIttay Stern5-12/+201
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 Sandler3-7/+32
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-19Merge "Tweak add resources summarizing function in service instance"Amichai Hemli2-24/+23
2019-12-19Merge "move templates API to a intended controller"Ittay Stern2-11/+60
2019-12-19Tweak add resources summarizing function in service instanceIttay Stern2-24/+23
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-19move templates API to a intended controllerEinat Vinouze2-11/+60
Issue-ID: VID-730 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Ie9b23a0360f902334fd6b877accec322b795c413
2019-12-19Merge "Add resources summarizing function in service instance."Ittay Stern3-0/+118
2019-12-19Add resources summarizing function in service instance.Alexey Sandler3-0/+118
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 "while ng1 view/edit - get aai service if they are not exist yet"Eylon Malin2-1/+9
2019-12-19while ng1 view/edit - get aai service if they are not exist yetEylon Malin2-1/+9
Issue-ID: VID-732 Change-Id: I6fd9866fb84eb07be7ea3c0bfc7cdfc0b3ea6084 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-12-19Merge "on templates - filter only Action==INSTANTIATE"Eylon Malin4-18/+41
2019-12-18on templates - filter only Action==INSTANTIATEEinat Vinouze4-18/+41
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-17Merge "Templates: show correct values of sdnc-preload, volume-group name"Eylon Malin3-4/+226
2019-12-17Merge "Do not show retain VGs checkbox in VFM Upgrade modal + tests ↵Eylon Malin2-415/+326
modifications"
2019-12-17Templates: show correct values of sdnc-preload, volume-group nameIttay Stern3-4/+226
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-16Do not show retain VGs checkbox in VFM Upgrade modal + tests modificationsAmir Skalka2-415/+326
Business&test(cypress&UT), refactor of some files, fix of typos, upgrade jest version etc. Issue-ID: VID-603 Change-Id: I2153c8a7f300bfa34f6817704b08f0c2a046a4e7 Signed-off-by: Amir Skalka <amir.skalka@intl.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-12Merge changes from topics "VID-45", "VID-44"Ittay Stern2-7/+2
* changes: Merge this if statement with the enclosing one. Merge this if statement with the enclosing one.
2019-12-12Merge "Adding filter (Implement in FE) + cypress + tests"Eylon Malin1-0/+2
2019-12-12Adding filter (Implement in FE) + cypress + testsYoav Schneiderman1-0/+2
Issue-ID: VID-724 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Change-Id: I7969a0d21d2abeaa458fb3cd3cf56c085e398be2 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.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-10Merge "Adding unlimited max value to VNF, NETWORK"Eylon Malin1-0/+1
2019-12-10Adding unlimited max value to VNF, NETWORKYoav Schneiderman1-0/+1
Issue-ID: VID-726 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Change-Id: I0c3d503c8e4f6cb14081de8f6a619a67eee080b7 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
2019-12-10Address licence discrepancy by removing some unneeded filesIttay Stern2-174/+0
Issue-ID: VID-378 Change-Id: Ib897dbc414d8d4688ed5e9ed52b197051a9de9eb Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-09Join ExistingElementsCounterMaps with ServiceInstantiationIttay Stern9-24/+298
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-09Merge "Extract getExistingCounterMap from AAITreeConverter to ModelUtil"Amichai Hemli7-97/+127
2019-12-09Extract getExistingCounterMap from AAITreeConverter to ModelUtilIttay Stern7-97/+127
Issue-ID: VID-724 Change-Id: I16305bc2f7c0f208d03da8e0255fad0ea16fb28d Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-09Merge "Change ServiceInstance's top-level rollbackOnFailure serialization to ↵Amichai Hemli2-6/+53
String"
2019-12-09Change ServiceInstance's top-level rollbackOnFailure serialization to StringIttay Stern2-6/+53
This will satisfy a new test: Template Topology API test: Deploy Cypress -> getTemplateTopology returns the same template Also updating templates__instance_template.json with actual "templateTopology" endpoint fields. Issue-ID: VID-724 Change-Id: I1160656c9a58ab2678ca6f2529688463fbd60a91 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-09add create another one menu item to instantiationStatus pageEylon Malin1-0/+1
Issue-ID: VID-724 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I205bc276ec7ba59eae37207f0976867bd496043f Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-12-08Show previous instantiations button in new service modalSara Weiss2-409/+414
Issue-ID: VID-724 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Change-Id: I18633adbabbc22c68f9bcd712427033deaffd33c
2019-12-04Sink all Async-Jobs logging to same debug.logIttay Stern11-25/+35
Error events are _replicated_ to error.log Main incentive is to have all JobWorker, ResourceCommand and MsoResultHandlerService logging the job life-cycle on same page. Issue-ID: VID-253 Change-Id: I862b408d71767ca3d5e6da3071bbae751261587e Signed-off-by: Ittay Stern <ittay.stern@att.com>