summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src
AgeCommit message (Collapse)AuthorFilesLines
2020-02-27Bump opencsv, c3p0, snakeyaml, h2 database to latestsIttay Stern1-11/+11
Issue-ID: VID-755 Change-Id: If34239ebc6c9e4b067c22a3fae0a680a160cb00b Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-26Test many POJOs getters/settersIttay Stern6-98/+160
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 Stern2-2/+55
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 Stern8-30/+272
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 Stern6-232/+331
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 Stern3-15/+49
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 Stern2-29/+75
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 Stern2-4/+22
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-16Merge "create error button should be displayed according to the feature flag"Ittay Stern2-96/+96
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-13create error button should be displayed according to the feature flagAmichai Hemli2-96/+96
Issue-ID: VID-736 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: If9b2cea46dedfa00fd8a938c7a915af602df18e8
2020-02-13translate owning entity name to owning entity IDEinat Vinouze2-11/+120
Issue-ID: VID-758 Change-Id: Ic89829ac4590537f0279052ceb9e8432ea0de878 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-02-12Feature toggle for owning-entities filteringIttay Stern2-5/+8
Add roles for all tests' users for all tests' owning-entities; namely "aaa1", "WayneHolland" and "Melissa". Issue-ID: VID-758 Change-Id: I54cac487325b6fd1fb9ef0f7a0d18c05c5e353c0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-11Filter owning-entities from /category_parameter by permissionsIttay Stern5-9/+190
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-10remove check in order to accept upgrade even if the service in latest model ↵Alexey Sandler1-3/+0
version Issue-ID: VID-771 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I0303422f32f285447d3d7af4aee98427002a679c
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 Stern6-20/+226
Issue-ID: VID-758 Change-Id: Ie48240442e5b2f858e530858d2e25827e799e4c2 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-05Merge "create the flag FLAG_2006_VFMODULE_TAKES_TENANT_AND_REGION_FROM_VNF"Ittay Stern1-0/+1
2020-02-05create the flag FLAG_2006_VFMODULE_TAKES_TENANT_AND_REGION_FROM_VNFAlexey Sandler1-0/+1
Issue-ID: VID-758 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I149df1c6b1245542a6083c8cdec7ea3bbb50e933 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-02-05Respect permissions by owning-entity-id when searching instances by owning ↵Eylon Malin1-3/+1
entity Issue-ID: VID-758 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I98d3e551231bb5aca3150da99f3431268f3373d8
2020-02-04add owningEntityId to each result of getServicesByOwningEntityIdEylon Malin2-8/+10
Issue-ID: VID-758 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I4546b5d86e6a1b929b3430aa41f13980f07cfdaf
2020-02-04regression unit test for getServicesByProjectNamesEylon Malin5-7/+137
Issue-ID: VID-758 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ibb4f6b63448dfb53bae5c262b3d8ce4f253935e0
2020-02-03regression unit test for getServicesByOwningEntityIdEylon Malin5-3/+130
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 Stern6-15/+133
Issue-ID: VID-758 Change-Id: Ife6d8679b3ea00d4bb9efb24810b5a50652f5d76 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-29RoleValidatorByOwningEntity permits by PermissionPropertiesOwningEntityEinat Vinouze18-90/+169
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>
2020-01-29RoleValidatorFactory respects owning-entity feature flagAlexey Sandler2-3/+91
Add FLAG_2006_USER_PERMISSIONS_BY_OWNING_ENTITY flag to response with correct type of RoleValidator Issue-ID: VID-758 Change-Id: I464fc1a155e72fedbe3f15d9745c80817db22391 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-01-28create RoleValidatorFactory component.Alexey Sandler10-213/+123
Issue-ID: VID-758 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Id444ddbe74b6d28d697e130caa73bd7bfae9ce52
2020-01-28Rename Role's subscriberId fieldIttay Stern7-28/+28
It was named subscriberName, although containing the id. Issue-ID: VID-758 Change-Id: I28fd174a6eab642d34aef207e9d3ca69e8091884 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-28RoleValidatorsComposer composite several RoleValidators togetherIttay Stern2-0/+126
Issue-ID: VID-758 Change-Id: I7bd5a4ebc8a0a451716af09cc76e6db6cd5362f7 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-28Merge "Introduce WithPermissionProperties as validation-points for ↵Ittay Stern15-246/+113
RoleValidator"
2020-01-28Introduce WithPermissionProperties as validation-points for RoleValidatorEinat Vinouze15-246/+113
Issue-ID: VID-758 Change-Id: Id8f1f6faeb10a92cf20ca9a17879bc7e745526b0 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-27Merge "When feature toggle is active then SDNC preload files is enable."Ittay Stern2-0/+35
2020-01-27When feature toggle is active then SDNC preload files is enable.Yoav Schneiderman2-0/+35
Issue-ID: VID-752 Change-Id: I96ef914bfe37d82da20085227b930523fcdba8fc Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
2020-01-27create RoleValidatorByOwningEntity class.Alexey Sandler2-0/+108
Issue-ID: VID-758 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I9c2e2a376e4c1bfb05dc05e1c5187b912f31db1d Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-01-26Merge "create a flag FLAG_2006_USER_PERMISSIONS_BY_OWNING_ENTITY in dev."Ittay Stern2-1/+3
2020-01-26Rename RoleValidatorByRoles to RoleValidatorBySubscriberAndServiceTypeEinat Vinouze4-19/+22
Issue-ID: VID-758 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I61fbfc902afee62e1099e491494065abae523b2e
2020-01-26create a flag FLAG_2006_USER_PERMISSIONS_BY_OWNING_ENTITY in dev.Alexey Sandler2-1/+3
Issue-ID: VID-758 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I6f5b9717b63ab1cffd8f27024f0752a2699db736
2020-01-23Upgrade epsdk version to 2.6.0 (but keep overlay 2.5.0) (fix)Ittay Stern1-3/+2
Issue-ID: VID-471 Issue-ID: VID-718 Complements commit 9c131c1f Change-Id: I26a87acf828b9f557724de26e00ef1bb6739a67b Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-23Revert "Promise Request-id header: Check MDC value if no header"Ittay Stern2-38/+2
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 Stern2-2/+38
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-20Merge "Async MSO error visibility: let open "retry" from Audit-info"Eylon Malin1-0/+1
2020-01-19Merge "originalName stored and sent to frontend in a template"Amichai Hemli13-56/+80
2020-01-19originalName stored and sent to frontend in a templateEylon Malin13-56/+80
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>