aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/drawingBoard
AgeCommit message (Collapse)AuthorFilesLines
2020-04-01Show the VF module version on the view/edit screenAlexey Sandler3-19/+66
Issue-ID: VID-800 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: If4eebaeb8f0ce89121e166e0aca10895a17c6155 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-03-09Upgrade vfModule popup: show modelVersionId and invariantiD from instance or ↵Alexey Sandler2-13/+49
model. Issue-ID: Issue-ID: VID-771 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I2132df5557d346537a9283c5f7147f47f1da36af Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-03-03remove duplicate "model version" field from ncfAlexey Sandler2-3/+1
Issue-ID: Issue-ID: VID-771 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I0a2df987ec53e25ae5e4c06fb5c27ab4dfbff5a5 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-03-01Component-info: show version and customization id from instanceAlexey Sandler3-59/+92
Issue-ID: Issue-ID: VID-771 Change-Id: If172a0aa6555087edabff3c112c565a768169b5c Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-02-23upgrade vfmodule when upgraded already service, vnf and brother vfmodule e2eIttay Stern1-1/+2
- 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-13the upgrade button is allowed when VFM in instance not exists in model.Alexey Sandler2-4/+51
Issue-ID: VID-758 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I8f5aceaf27480d6cc3ab6ec630bcaf285b683303
2020-02-13create unit test for shouldShowUpgrade functionAlexey Sandler2-6/+35
Issue-ID: VID-758 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I11790efb51007275b8b1331dbfd31ada7eabd3e2 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-02-04upgrade VFM is not enabled when other VFM in the same VNF is already ↵Ittay Stern3-21/+69
upgraded (fix) Also fixes a bug in modelUniqueNameOrId when `instance` contains inner vfModule object. Issue-ID: VID-771 Change-Id: Ie7326780c968fe334dfe3888c518eeb5a8e1919f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-03NodeInfo::getModel expects the instance-modelIttay Stern30-7593/+159
Now callers (objectToInstanceTree, objectToModelTree, etc.) pass the hierarchy itself, instead of providing only the service hierarchy and keys. Issue-ID: VID-724 Change-Id: I80cde29887d86b2cc986d96b220ff769562f38b8 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-03upgrade VFM is not enable when other VFM in the same VNF is already upgraded.Yoav Schneiderman2-3/+64
Issue-ID: VID-771 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Change-Id: Ia5eca719c50d47c77919a82c2306605da4d2a1c0 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
2020-02-02originalName fallbacks to customizationId or invariantIdIttay Stern11-27/+42
Issue-ID: VID-724 Change-Id: I3db8d09cabfb700dc1acd469d6fb8acb4764cd73 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-30don't show delete in menu action while edit a macro serviceEylon Malin16-253/+104
Issue-ID: VID-760 Change-Id: Ieed2b7430cc1584681b1143d8b7244801dd8a1c4 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2020-01-21originalName may be model's "entry name", customizationId or invariantIdIttay Stern15-33/+110
The classic originalName is the "entry name". So two more options were added through SharedTreeService::modelByIdentifier() function. Issue-ID: VID-724 Change-Id: I9f192d2b24c9c1659a95baabd21252bed392e9da Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-20Move onap UI loader and icons to VIDYoav Schneiderman3-12/+12
Issue-ID: VID-748 Change-Id: If79180e55651ad29bd2771a35855209419d1a0f5 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
2020-01-09Upgrade to Angular 8Yoav Schneiderman15-28/+42
Issue-ID: VID-742 Change-Id: Ic4b3aae71d4c946e23d854847a49aa7e020c465d Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
2020-01-06Hide Templates entry point when no instancesYoav Schneiderman1-2/+0
Issue-ID: VID-741 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Change-Id: I9f2c1879b30ed15b227cdd6189d14ef988bc3b1e Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
2019-12-31Add more VNFs after loading a template + Remove + DuplicateYoav Schneiderman2-2/+7
Issue-ID: VID-738 Change-Id: I1a9ed50ba672e8317aeb9074e561cc8d70aad24d Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-30Fixing the issue which prevents from clicking the [+] button on templatesIttay Stern5-97/+71
i) Use modelUniqueName instead of obsolete originalName ii) Add RECREATE as "editable" case iii) Lift vfModules limitation in model to 3 Issue-ID: VID-724 Change-Id: I9e55142ee379f4eead3c8634f5b816d2d1db1f8e Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-29VFModule with missing data should show alert iconYoav Schneiderman1-7/+6
Issue-ID: VID-737 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Change-Id: I02b4cc9defb87ab618e395c8c608f48a93461e6f
2019-12-22Refactor Generic GeneratorsYoav Schneiderman3-7/+13
Issue-ID: VID-731 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Change-Id: Ib851ff4056d64e12eaf415c5d689c832196ec8b0 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
2019-12-18Merge "vfModule.model.info getModel use vfModule constructor"Amichai Hemli2-163/+29
2019-12-18vfModule.model.info getModel use vfModule constructorEylon Malin2-163/+29
Fix bug of show wrong value in Component Info for VfModule with maxCountInstances Issue-ID: VID-726 Change-Id: I909218c9c7bb4121bcbfdb9f4f436571f1e83ebe Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-12-17Fixing node count icon VfModule + unit tests.Yoav Schneiderman2-10/+125
Issue-ID: VID-726 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Change-Id: I07538d9e77ff3e983da35f90f73eb62c9fdfce4b
2019-12-16Do not show retain VGs checkbox in VFM Upgrade modal + tests modificationsAmir Skalka11-26/+26
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-16Allow edit service button to be shown on service context menu in recreate mode.Alexey Sandler2-1/+25
Issue-ID: VID-724 Change-Id: Ife26ef3278a37555a80fe4f3e8afa56666ca81ba Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-12-15when there is no max instances for VfModule/Network show Unlimited (default) ↵Eylon Malin7-19/+39
in component info Issue-ID: VID-726 Change-Id: Ic296de9ba2c8d25a7b5f3bd789ffb5fdef0329d0 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-12-12when there is no max instances for VNF show Unlimited (default) in model infoEylon Malin1-1/+3
Issue-ID: VID-726 Change-Id: I9a53f76f97d96c565ec79f3a3e7d908c49f51af1 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-12-12Merge "when there is no max instances for VNF show Unlimited (default) in ↵Amichai Hemli2-13/+11
component info"
2019-12-12Add edit button on service context menu.Alexey Sandler1-1/+1
Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I6f050e77b41e57016a01c622b0bb09e5e36155e2
2019-12-12when there is no max instances for VNF show Unlimited (default) in component ↵Eylon Malin2-13/+11
info Issue-ID: VID-726 Change-Id: Ib939e18f63ae02b1b1944436e8d5c80fdc1e53ed Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-12-11change default max instances of VfModule to unlimitedEylon Malin2-21/+46
Issue-ID: VID-726 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Id7ee4f62593ad0f70dc9ba95b286fa7a44455f6b
2019-12-10Adding unlimited max value to VNF, NETWORKYoav Schneiderman12-203/+288
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-05support build recreate url in instantiationStatus serviceEylon Malin1-1/+2
Issue-ID: VID-724 Change-Id: I95891a7b2e9e16bd123408d3451df38a89796714 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-12-04Extract subscriber-name only when it is not definedAlexey Sandler1-3/+11
This solves the Recreate issue when subscriber-name is already provided by the template, but Redux is not populated with `service.subscribers`. Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Id3bfd705015270352aef674d2119fc77838a3ddb Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-12-03Drawing Board RECREATE will use a new route that retrieves a templateAlexey Sandler1-1/+2
Use endpoint "templateTopology" instead of "bulkForRetry" Issue-ID: VID-724 Change-Id: Ic92971e29d1f78768aeb82158ce424ff31bfbbb0 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-12-01Cypress to drive recreation from templatesIttay Stern1-0/+8
A new route "RECREATE" allows the half-way between RETRY and CREATE: It is "retry" because historic topology is loaded. It is "create" because a new instance is created upon "Deploy". Following commits should modify business-code, so that: - The expectedPostAsyncInstantiation assertion pass; - User is navigated the Instantiation-Status page; - The template topology will be from a designated endpoint "templateTopology", instead of "bulkForRetry"; - Consider the hack in `templates__instance_template.json`, where action is "None_Create" instead of "Create" to workaround a state-oriented problem in the method `extractServiceFields()`. Issue-ID: VID-724 Change-Id: I0fc282b506a05b8161f3b3f96959493d3843c7f9 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-01remove FLAG_SETTING_DEFAULTS_IN_DRAWING_BOARDEylon Malin3-3/+1
Issue-ID: VID-721 Change-Id: Ia06b7afe0cc2aa6f906f56802dc537f6fec283d0 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-28remove FLAG_DEFAULT_VNFEylon Malin2-2/+0
Issue-ID: VID-721 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I31b646b4dd5a81c4904a77c0386e27137a76a9fd
2019-11-28remove FLAG_1810_CR_SOFT_DELETE_ALACARTE_VF_MODULEEylon Malin2-2/+0
Issue-ID: VID-721 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I80e3f8edbc187acaf13fdcc089ba15da33dc0ec5
2019-11-25VfModule upgrade: popup with retain-assignments checkboxYoav Schneiderman1-7/+9
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-24remove CREATE_INSTANCE_TEST feature flagEylon Malin2-2/+0
Issue-ID: VID-721 Change-Id: Id956a0b5b840c5e76cc1f6f7ea33a7d00f5670c3 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-20Replace vfmodule: opens an popupSara Weiss9-16/+60
Issue-ID: VID-603 Change-Id: I7d7524f75bfb8d6ef949a4f069591c4097d470b4 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-20fix is a-la-carte cross modern UIEylon Malin1-1/+2
Issue-ID: VID-701 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I6248382d71e6cec54104d42d95b0130d51404410
2019-11-10Unit test drag and drop serviceSara Weiss4-172/+187
Issue-ID: VID-253 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Change-Id: I5915f005a4e428a4268e2a88e827e3f98519087a
2019-09-18add new flag FLAG_1911_INSTANTIATION_ORDER_IN_ASYNC_ALACARTEEylon Malin4-10/+7
Issue-ID: VID-646 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I533221a6115c4a2d00ce3ed02eef4d1ad882df3a
2019-09-09Adding feature: Replace vfmoduleEinat Vinouze15-374/+289
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-08-01Add flag for modern UIRina Roi1-1/+1
Issue-ID: VID-544 Change-Id: Iad79353ff9f55416d87b5bef56e38dd01357003b Signed-off-by: Rina Roi <rina.roi@intl.att.com>
2019-07-08Merge from ecomp 718fd196 - Modern UIIttay Stern62-1779/+6893
Issue-ID: VID-378 Change-Id: I2736b98426e324ec3aa233b034229ba84d99839f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-02-28Condense unneeded data on Modern UI testsIttay Stern1-326/+25
Issue-ID: VID-378 Change-Id: I65d9f8cf5cd6708dc49f9e424bc65796ab1f2dea Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-02-18merge from ecomp a88f0072 - Modern UIIttay Stern79-1247/+19648
Issue-ID: VID-378 Change-Id: Ibcb23dd27f550cf32ce2fe0239f0f496ae014ff6 Signed-off-by: Ittay Stern <ittay.stern@att.com>