aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-12Merge "Feature toggle for owning-entities filtering"Eylon Malin5-9/+32
2020-02-12API tests: support TENANT_AND_REGION_FROM_VNF flagIttay Stern4-21/+79
Input file redux-a-la-carte-no-testapi.json left intact, expectations differ. Issue-ID: VID-758 Change-Id: I3f073517a844bb2f002ff7375b5e3ed836462582 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-12Feature toggle for owning-entities filteringIttay Stern5-9/+32
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-11Checkbox component will handle correctly when no extraContentsYoav Schneiderman1-1/+1
Issue-ID: VID-772 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Change-Id: I93c2bb924588db139685f09a75d62b7bb0dcb68d
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 "VID S1 Instantiation failing when include supplementary file"Eylon Malin2-2/+1
2020-02-11VID S1 Instantiation failing when include supplementary fileYoav Schneiderman2-2/+1
Issue-ID: VID-772 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Change-Id: Ie60538fd2abffbf3555650e584aad19a8d7ca1ec
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-10Merge "Remove tenant and lcpCloudRegionId - adjust ↵Ittay Stern3-12/+0
instantiation-templates.e2e.ts"
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-10Remove tenant and lcpCloudRegionId - adjust instantiation-templates.e2e.tsEinat Vinouze3-12/+0
Issue-ID: VID-758 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I2441abc50f84c8ef930a0c3eab0b34fdf2cae084
2020-02-10fix tests vfmodule in ala carte instanceAlexey Sandler1-24/+28
Issue-ID: VID-758 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Ieb59dddbbf68c36c4df2b9c1e7582958974745c2 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-02-10Merge "AsyncInstantiationIntegrationTest: cleanup and enable ↵Amichai Hemli2-14/+9
TENANT_AND_REGION_FROM_VNF"
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-10create tests to add vfmodule in ala carte instanceAlexey Sandler3-8/+91
Issue-ID: VID-758 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I7d4afa05d34cd28ff7118e320f67ef68d6a60e60
2020-02-09Merge "remove lcpCloudRegionId, legacyRegion an tenantId from VFModule"Ittay Stern2-58/+39
2020-02-09Merge "Migrate vid docs"Ittay Stern9-0/+145
2020-02-09remove lcpCloudRegionId, legacyRegion an tenantId from VFModuleAlexey Sandler2-58/+39
Remove lcpCloudRegionId, legacyRegion an tenantId fields from VFModule on alacarte servcie. Issue-ID: VID-758 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I9048064535b2a0a459330c866f36dbf49697aa75 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-02-06Migrate vid docsJessica Wagantall9-0/+145
Merging this will create https://onap-vid.readthedocs.io This build will run in parallel to the current docs generation method until we are ready to cut over. Issue-ID: CIMAN-364 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: Iaa29f6ecfb1425464dc07fe396d2f8d0a3e72a85
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 Stern5-2/+14
2020-02-05create the flag FLAG_2006_VFMODULE_TAKES_TENANT_AND_REGION_FROM_VNFAlexey Sandler5-2/+14
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 Malin3-18/+43
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-04upgrade VFM is not enabled when other VFM in the same VNF is already ↵Ittay Stern5-23/+75
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-04Merge "regression unit test for getServicesByOwningEntityId"Ittay Stern6-8/+135
2020-02-03regression unit test for getServicesByOwningEntityIdEylon Malin6-8/+135
Issue-ID: VID-758 Change-Id: I4e080b6d775feb890f597b1db006e00f8108a987 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2020-02-03NodeInfo::getModel expects the instance-modelIttay Stern31-7593/+161
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-03Respect owning-entity-id when searching instances by SubscriberIttay Stern7-16/+135
Issue-ID: VID-758 Change-Id: Ife6d8679b3ea00d4bb9efb24810b5a50652f5d76 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-03Merge "upgrade VFM is not enable when other VFM in the same VNF is already ↵Ittay Stern2-3/+64
upgraded. Issue-ID: VID-771"
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-02Merge "upgrade spring.framework to latest 5.2.3 to avoid CVE-2020-5398/7"Amichai Hemli2-2/+2
2020-02-02upgrade spring.framework to latest 5.2.3 to avoid CVE-2020-5398/7Amichai Hemli2-2/+2
Issue-ID: VID-736 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Id9d81c032a7bcbb92dc1f358db0efb026667b178
2020-02-02originalName fallbacks to customizationId or invariantIdIttay Stern17-41/+51
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 Malin20-290/+144
Issue-ID: VID-760 Change-Id: Ieed2b7430cc1584681b1143d8b7244801dd8a1c4 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2020-01-30Test that a service instance of another subscriber has no edit permissionEinat Vinouze2-0/+34
Issue-ID: VID-758 Change-Id: Ia394c7b04d78cf9fb5e187e8d2d9b7b3a62ef210 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> 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 Stern33-114/+603
2020-01-27When feature toggle is active then SDNC preload files is enable.Yoav Schneiderman33-114/+603
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-26Release VID 6.0.2 (Frankfurt)Ittay Stern9-9/+17
Issue-ID: VID-716 Change-Id: Ic61e1d7f4d85c0d17b1a41a50d2a5578409abd3b Signed-off-by: Ittay Stern <ittay.stern@att.com>