vid.git
4 years agoMerge "cypress test - provide more details upon deepCompare failure"
Eylon Malin [Thu, 27 Feb 2020 12:25:33 +0000 (12:25 +0000)]
Merge "cypress test - provide more details upon deepCompare failure"

4 years agocypress test - provide more details upon deepCompare failure 54/102454/2
Ittay Stern [Thu, 27 Feb 2020 03:59:15 +0000 (05:59 +0200)]
cypress test - provide more details upon deepCompare failure

Issue-ID: VID-740

Change-Id: I75d69d1b70e9c6a82984a1d6f61a972827c19e03
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoBump opencsv, c3p0, snakeyaml, h2 database to latests 31/102431/2
Ittay Stern [Wed, 26 Feb 2020 16:50:28 +0000 (18:50 +0200)]
Bump opencsv, c3p0, snakeyaml, h2 database to latests

Issue-ID: VID-755

Change-Id: If34239ebc6c9e4b067c22a3fae0a680a160cb00b
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoBump guava to 28.2-jre 30/102430/1
Ittay Stern [Wed, 26 Feb 2020 16:42:55 +0000 (18:42 +0200)]
Bump guava to 28.2-jre

Issue-ID: VID-755

Change-Id: I8c8936a081f745f47b420d3042a062962f7daaa5
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoUse HTTPS to resolve dependencies in Maven 29/102429/1
Ittay Stern [Wed, 26 Feb 2020 16:40:15 +0000 (18:40 +0200)]
Use HTTPS to resolve dependencies in Maven

Issue-ID: VID-755

Change-Id: I488825e529c328d89ab319dc0f8f4d727c34958d
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoBump springframework to 5.2.3.RELEASE 28/102428/1
Ittay Stern [Wed, 26 Feb 2020 16:26:07 +0000 (18:26 +0200)]
Bump springframework to 5.2.3.RELEASE

Issue-ID: VID-755

Change-Id: I96c5d689e005a7f376b9eda81e5c03770ccd8c36
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoBump jackson fasterxml to 2.10.2 27/102427/1
Ittay Stern [Wed, 26 Feb 2020 16:22:30 +0000 (18:22 +0200)]
Bump jackson fasterxml to 2.10.2

Issue-ID: VID-755

Change-Id: I3ef66e29e3ed66e1a861e60a3d103b1101bd1445
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoTest many POJOs getters/setters 02/102402/2
Ittay Stern [Wed, 26 Feb 2020 13:17:34 +0000 (15:17 +0200)]
Test many POJOs getters/setters

Issue-ID: VID-768

Change-Id: I891af541bec9aaddaf4d68c8c2b0ae15690bde2c
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMove to debian `apt` (was alpine `apk`) 87/102287/2
Ittay Stern [Tue, 25 Feb 2020 06:51:03 +0000 (08:51 +0200)]
Move to debian `apt` (was alpine `apk`)

Issue-ID: VID-498
Issue-ID: VID-756

Change-Id: Id324e2970022618acfad6e478a21134525b6cf06
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge changes Ia95e99f4,Iac2da615
Amichai Hemli [Mon, 24 Feb 2020 17:34:23 +0000 (17:34 +0000)]
Merge changes Ia95e99f4,Iac2da615

* changes:
  Move to jdk11-openjdk-slim (was jre8-alpine)
  Maven import jakarta XML Binding

4 years agoMove to jdk11-openjdk-slim (was jre8-alpine) 53/102253/1
Ittay Stern [Mon, 24 Feb 2020 14:07:26 +0000 (16:07 +0200)]
Move to jdk11-openjdk-slim (was jre8-alpine)

Issue-ID: VID-498
Issue-ID: VID-756

Change-Id: Ia95e99f464d7f2e107821492cef522badee693fc
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMaven import jakarta XML Binding 23/102223/2
Ittay Stern [Mon, 24 Feb 2020 11:55:38 +0000 (13:55 +0200)]
Maven import jakarta XML Binding

Fills-up missing libs in JDK-11

Issue-ID: VID-498

Change-Id: Iac2da61527b28675c65b05fcef57c0feff0f090a
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge "Show "retain VG" for vfModule that is allowed or that is an "alien""
Ittay Stern [Mon, 24 Feb 2020 14:26:52 +0000 (14:26 +0000)]
Merge "Show "retain VG" for vfModule that is allowed or that is an "alien""

4 years agoShow "retain VG" for vfModule that is allowed or that is an "alien" 16/102216/2
Einat Vinouze [Mon, 24 Feb 2020 10:58:39 +0000 (12:58 +0200)]
Show "retain VG" for vfModule that is allowed or that is an "alien"

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>
4 years agofix to cypress test related to to fix on treeNodeModules 22/102222/4
Alexey Sandler [Mon, 24 Feb 2020 12:32:47 +0000 (14:32 +0200)]
fix to cypress test related to to fix on treeNodeModules

Issue-ID: Issue-ID: VID-771
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Change-Id: I3494f36a8d02393508e8382ca969e7e463c0cde8
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
4 years agoVerbose some VRF test's steps 19/102219/2
Ittay Stern [Mon, 24 Feb 2020 11:27:45 +0000 (13:27 +0200)]
Verbose some VRF test's steps

Issue-ID: Issue-ID: VID-771

Change-Id: I1b8813433da50cf4d4539e83d42cfbc603bc02bb
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoFix test after modelCustomizationId and modelVersionId from instance 13/102213/4
Ittay Stern [Mon, 24 Feb 2020 10:03:37 +0000 (12:03 +0200)]
Fix test after modelCustomizationId and modelVersionId from instance

Fixes:
* vpn component info
* network component info
* should show vrf model and vrf instance correctly

Issue-ID: Issue-ID: VID-771

Change-Id: Ie4bd39f15efb5e4beb0c10f14a0081164db5e59a
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge "upgrade vfmodule when upgraded already service, vnf and brother vfmodule e2e"
Amichai Hemli [Sun, 23 Feb 2020 19:29:42 +0000 (19:29 +0000)]
Merge "upgrade vfmodule when upgraded already service, vnf and brother vfmodule e2e"

4 years agoMerge "VNF's LCP regions found by Line-of-business (and owning-entity)"
Amichai Hemli [Sun, 23 Feb 2020 19:28:09 +0000 (19:28 +0000)]
Merge "VNF's LCP regions found by Line-of-business (and owning-entity)"

4 years agoupgrade vfmodule when upgraded already service, vnf and brother vfmodule e2e 75/101975/7
Ittay Stern [Sun, 9 Feb 2020 12:06:25 +0000 (14:06 +0200)]
upgrade vfmodule when upgraded already service, vnf and brother vfmodule e2e

- 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>
4 years agoTopology tree: test fetchCustomizationIdsFromToscaModelsWhileNeeded 84/102184/1
Ittay Stern [Sun, 23 Feb 2020 11:24:47 +0000 (13:24 +0200)]
Topology tree: test fetchCustomizationIdsFromToscaModelsWhileNeeded

Issue-ID: VID-771

Change-Id: I5c1bf1f4eba8b5f53702ae2192b8ac9a962f1344
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoTopology tree: enrich vfModules data from other versions of same model 84/102084/3
Ittay Stern [Wed, 12 Feb 2020 10:28:59 +0000 (12:28 +0200)]
Topology tree: enrich vfModules data from other versions of same model

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>
4 years agoTopology tree: extract AAITreeNodesEnricher out of AAIServiceTree 67/102067/2
Ittay Stern [Wed, 12 Feb 2020 10:28:59 +0000 (12:28 +0200)]
Topology tree: extract AAITreeNodesEnricher out of AAIServiceTree

Issue-ID: VID-771

Change-Id: I138a89b7b2f00e6e603ff26addefc494aeb019b0
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoLearn to get all model versions sorted from high to low 52/102052/1
Ittay Stern [Thu, 20 Feb 2020 07:45:11 +0000 (09:45 +0200)]
Learn to get all model versions sorted from high to low

Issue-ID: VID-771

Change-Id: I9c7cc3f319aa13a2dab33e8c584f7f7ed90cf847
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoLearn to inflate models by Customization uuids 51/102051/1
Ittay Stern [Thu, 20 Feb 2020 07:06:41 +0000 (09:06 +0200)]
Learn to inflate models by Customization uuids

Issue-ID: VID-771

Change-Id: I3996639745e77b8754e8bfa82c153690df683925
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoVNF's LCP regions found by Line-of-business (and owning-entity) 18/101918/4
Ittay Stern [Tue, 18 Feb 2020 14:58:16 +0000 (16:58 +0200)]
VNF's LCP regions found by Line-of-business (and owning-entity)

Depends on FLAG_2006_LCP_REGIONS_BY_LINE_OF_BUSINESS

Issue-ID: VID-758

Change-Id: I7b5a67202a72fc6ea4afe0a5c1c60657c93bf690
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoremove angular-animate and angular-touch 83/101783/3
Amichai Hemli [Sun, 16 Feb 2020 10:16:09 +0000 (12:16 +0200)]
remove angular-animate and angular-touch

Issue-ID: VID-774
Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com>
Change-Id: Ibb451aeb486bf01ccd30ab1f2a8d4b72c3b92a71

4 years agoTest AaiController's get-tenants existing flow 19/101819/3
Ittay Stern [Mon, 17 Feb 2020 09:28:35 +0000 (11:28 +0200)]
Test AaiController's get-tenants existing flow

Issue-ID: VID-758

Change-Id: I0839260d3e43697cb15e8e0f8998e521c9d3a2f6
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoFix intermittent test inProgressJobMoreThan24HoursIsFailedInVidAudit 10/101810/2
Ittay Stern [Mon, 17 Feb 2020 07:48:20 +0000 (09:48 +0200)]
Fix intermittent test inProgressJobMoreThan24HoursIsFailedInVidAudit

Bit more time was needed.

Issue-ID: VID-647

Change-Id: Ie7e101a2eb85e71a38d1cb2efd9f7327e4705fd3
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoFix intermittent test inProgressJobMoreThan24HoursIsFailedInVidAudit 04/101804/1
Ittay Stern [Mon, 17 Feb 2020 04:18:16 +0000 (06:18 +0200)]
Fix intermittent test inProgressJobMoreThan24HoursIsFailedInVidAudit

PresetAAIGetCloudOwnersByCloudRegionId were missing.

Issue-ID: VID-647

Change-Id: I4dab07b328ef3ac7242eec22a3ef014ad87f8885
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoRemove tenant and lcpCloudRegionId - adjust test createNewServiceInstance_aLaCarte_Wi... 98/101798/1
Ittay Stern [Sun, 16 Feb 2020 17:37:28 +0000 (19:37 +0200)]
Remove tenant and lcpCloudRegionId - adjust test createNewServiceInstance_aLaCarte_WithVnf

Issue-ID: VID-758

Change-Id: I232a42bd12429a97d59eb6a93fe5ef07fde7dd56
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge "the upgrade button is allowed when VFM in instance not exists in model."
Ittay Stern [Sun, 16 Feb 2020 15:47:12 +0000 (15:47 +0000)]
Merge "the upgrade button is allowed when VFM in instance not exists in model."

4 years agoMerge "Test filter owning-entities from /category_parameter by permissions"
Ittay Stern [Sun, 16 Feb 2020 15:38:59 +0000 (15:38 +0000)]
Merge "Test filter owning-entities from /category_parameter by permissions"

4 years agoMerge "Limit vfmodule tenant and region dictation to "create""
Eylon Malin [Sun, 16 Feb 2020 15:17:29 +0000 (15:17 +0000)]
Merge "Limit vfmodule tenant and region dictation to "create""

4 years agoTest filter owning-entities from /category_parameter by permissions 91/101791/1
Ittay Stern [Sun, 16 Feb 2020 14:41:11 +0000 (16:41 +0200)]
Test filter owning-entities from /category_parameter by permissions

Issue-ID: VID-758

Change-Id: I9b5dc8906067c4f077ba2e03073e6dface6aa86c
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoLimit vfmodule tenant and region dictation to "create" 86/101786/1
Ittay Stern [Sun, 16 Feb 2020 13:23:45 +0000 (15:23 +0200)]
Limit vfmodule tenant and region dictation to "create"

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>
4 years agoRemove tenant and lcpCloudRegionId - adjust test createNewServiceInstance_aLaCarte_Wi... 85/101785/1
Einat Vinouze [Sun, 16 Feb 2020 13:08:00 +0000 (15:08 +0200)]
Remove tenant and lcpCloudRegionId - adjust test createNewServiceInstance_aLaCarte_WithVnf

Issue-ID: VID-758
Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
Change-Id: I13e86efb1ea9be942cc5d26039019558e6baf5ce

4 years agoMerge "create error button should be displayed according to the feature flag"
Ittay Stern [Sun, 16 Feb 2020 07:31:53 +0000 (07:31 +0000)]
Merge "create error button should be displayed according to the feature flag"

4 years agothe upgrade button is allowed when VFM in instance not exists in model. 94/101694/1
Alexey Sandler [Thu, 13 Feb 2020 15:31:00 +0000 (17:31 +0200)]
the upgrade button is allowed when VFM in instance not exists in model.

Issue-ID: VID-758
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Change-Id: I8f5aceaf27480d6cc3ab6ec630bcaf285b683303

4 years agoMerge "Translate owning entity name to owning entity ID - update api test to except...
Ittay Stern [Thu, 13 Feb 2020 16:44:01 +0000 (16:44 +0000)]
Merge "Translate owning entity name to owning entity ID - update api test to except new behavior"

4 years agoMerge "create unit test for shouldShowUpgrade function"
Amichai Hemli [Thu, 13 Feb 2020 15:10:13 +0000 (15:10 +0000)]
Merge "create unit test for shouldShowUpgrade function"

4 years agocreate unit test for shouldShowUpgrade function 53/101653/4
Alexey Sandler [Thu, 13 Feb 2020 07:53:14 +0000 (09:53 +0200)]
create unit test for shouldShowUpgrade function

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>
4 years agoTranslate owning entity name to owning entity ID - update api test to except new... 78/101678/1
Einat Vinouze [Thu, 13 Feb 2020 14:04:27 +0000 (16:04 +0200)]
Translate owning entity name to owning entity ID - update api test to except new behavior

Issue-ID: VID-758
Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
Change-Id: Ib8b8da5c3267a3668cf29b950233af14b29f2d23

4 years agocreate error button should be displayed according to the feature flag 64/101664/1
Amichai Hemli [Thu, 13 Feb 2020 10:35:28 +0000 (12:35 +0200)]
create error button should be displayed according to the feature flag

Issue-ID: VID-736
Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com>
Change-Id: If9b2cea46dedfa00fd8a938c7a915af602df18e8

4 years agotranslate owning entity name to owning entity ID 07/101607/4
Einat Vinouze [Wed, 12 Feb 2020 10:03:35 +0000 (12:03 +0200)]
translate owning entity name to owning entity ID

Issue-ID: VID-758
Change-Id: Ic89829ac4590537f0279052ceb9e8432ea0de878
Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
4 years agoMerge "Feature toggle for owning-entities filtering"
Eylon Malin [Wed, 12 Feb 2020 18:22:59 +0000 (18:22 +0000)]
Merge "Feature toggle for owning-entities filtering"

4 years agoAPI tests: support TENANT_AND_REGION_FROM_VNF flag 51/101451/2
Ittay Stern [Mon, 10 Feb 2020 10:27:15 +0000 (12:27 +0200)]
API tests: support TENANT_AND_REGION_FROM_VNF flag

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>
4 years agoFeature toggle for owning-entities filtering 99/101599/1
Ittay Stern [Wed, 12 Feb 2020 06:40:26 +0000 (08:40 +0200)]
Feature toggle for owning-entities filtering

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>
4 years agoCheckbox component will handle correctly when no extraContents 46/101546/3
Yoav Schneiderman [Tue, 11 Feb 2020 16:55:36 +0000 (18:55 +0200)]
Checkbox component will handle correctly when no extraContents

Issue-ID: VID-772

Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
Change-Id: I93c2bb924588db139685f09a75d62b7bb0dcb68d

4 years agoFilter owning-entities from /category_parameter by permissions 31/101531/2
Ittay Stern [Tue, 11 Feb 2020 11:56:54 +0000 (13:56 +0200)]
Filter owning-entities from /category_parameter by permissions

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>
4 years agoMerge "VID S1 Instantiation failing when include supplementary file"
Eylon Malin [Tue, 11 Feb 2020 08:50:35 +0000 (08:50 +0000)]
Merge "VID S1 Instantiation failing when include supplementary file"

4 years agoVID S1 Instantiation failing when include supplementary file 14/101514/1
Yoav Schneiderman [Tue, 11 Feb 2020 08:27:28 +0000 (10:27 +0200)]
VID S1 Instantiation failing when include supplementary file

Issue-ID: VID-772
Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
Change-Id: Ie60538fd2abffbf3555650e584aad19a8d7ca1ec

4 years agoMerge "Add AsyncInstantiationController tests"
Ittay Stern [Tue, 11 Feb 2020 06:40:18 +0000 (06:40 +0000)]
Merge "Add AsyncInstantiationController tests"

4 years agoremove check in order to accept upgrade even if the service in latest model version 99/101499/5
Alexey Sandler [Mon, 10 Feb 2020 19:35:00 +0000 (21:35 +0200)]
remove check in order to accept upgrade even if the service in latest model version

Issue-ID: VID-771
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Change-Id: I0303422f32f285447d3d7af4aee98427002a679c

4 years agoMerge "Remove tenant and lcpCloudRegionId - adjust instantiation-templates.e2e.ts"
Ittay Stern [Mon, 10 Feb 2020 15:07:40 +0000 (15:07 +0000)]
Merge "Remove tenant and lcpCloudRegionId - adjust instantiation-templates.e2e.ts"

4 years agoAdd AsyncInstantiationController tests 59/97359/6
kurczews [Mon, 21 Oct 2019 10:13:17 +0000 (12:13 +0200)]
Add AsyncInstantiationController tests

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>
4 years agoRemove tenant and lcpCloudRegionId - adjust instantiation-templates.e2e.ts 59/101459/1
Einat Vinouze [Mon, 10 Feb 2020 13:57:00 +0000 (15:57 +0200)]
Remove tenant and lcpCloudRegionId - adjust instantiation-templates.e2e.ts

Issue-ID: VID-758
Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
Change-Id: I2441abc50f84c8ef930a0c3eab0b34fdf2cae084

4 years agofix tests vfmodule in ala carte instance 50/101450/2
Alexey Sandler [Mon, 10 Feb 2020 12:49:11 +0000 (14:49 +0200)]
fix tests vfmodule in ala carte instance

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>
4 years agoMerge "AsyncInstantiationIntegrationTest: cleanup and enable TENANT_AND_REGION_FROM_VNF"
Amichai Hemli [Mon, 10 Feb 2020 12:19:01 +0000 (12:19 +0000)]
Merge "AsyncInstantiationIntegrationTest: cleanup and enable TENANT_AND_REGION_FROM_VNF"

4 years agoAsyncInstantiationIntegrationTest: cleanup and enable TENANT_AND_REGION_FROM_VNF 41/101441/2
Ittay Stern [Mon, 10 Feb 2020 09:52:25 +0000 (11:52 +0200)]
AsyncInstantiationIntegrationTest: cleanup and enable TENANT_AND_REGION_FROM_VNF

Issue-ID: VID-758

Change-Id: Ie040e7fb3da031cd48b04eb2543a6209b7215f07
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agocreate tests to add vfmodule in ala carte instance 42/101442/1
Alexey Sandler [Mon, 10 Feb 2020 10:05:01 +0000 (12:05 +0200)]
create tests to add vfmodule in ala carte instance

Issue-ID: VID-758
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Change-Id: I7d4afa05d34cd28ff7118e320f67ef68d6a60e60

4 years agoMerge "remove lcpCloudRegionId, legacyRegion an tenantId from VFModule"
Ittay Stern [Sun, 9 Feb 2020 16:33:23 +0000 (16:33 +0000)]
Merge "remove lcpCloudRegionId, legacyRegion an tenantId from VFModule"

4 years agoMerge "Migrate vid docs"
Ittay Stern [Sun, 9 Feb 2020 16:33:10 +0000 (16:33 +0000)]
Merge "Migrate vid docs"

4 years agoremove lcpCloudRegionId, legacyRegion an tenantId from VFModule 38/101238/6
Alexey Sandler [Thu, 6 Feb 2020 12:32:21 +0000 (14:32 +0200)]
remove lcpCloudRegionId, legacyRegion an tenantId from VFModule

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>
4 years agoMigrate vid docs 28/101328/1
Jessica Wagantall [Thu, 6 Feb 2020 23:11:22 +0000 (15:11 -0800)]
Migrate vid docs

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

4 years agovfmodule tenant and region are dictated by parent VNF values 33/101233/2
Ittay Stern [Wed, 5 Feb 2020 16:51:21 +0000 (18:51 +0200)]
vfmodule tenant and region are dictated by parent VNF values

Issue-ID: VID-758

Change-Id: Ie48240442e5b2f858e530858d2e25827e799e4c2
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge "create the flag FLAG_2006_VFMODULE_TAKES_TENANT_AND_REGION_FROM_VNF"
Ittay Stern [Wed, 5 Feb 2020 13:15:30 +0000 (13:15 +0000)]
Merge "create the flag FLAG_2006_VFMODULE_TAKES_TENANT_AND_REGION_FROM_VNF"

4 years agocreate the flag FLAG_2006_VFMODULE_TAKES_TENANT_AND_REGION_FROM_VNF 65/101165/5
Alexey Sandler [Wed, 5 Feb 2020 11:32:27 +0000 (13:32 +0200)]
create the flag FLAG_2006_VFMODULE_TAKES_TENANT_AND_REGION_FROM_VNF

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>
4 years agoRespect permissions by owning-entity-id when searching instances by owning entity 44/101144/1
Eylon Malin [Tue, 4 Feb 2020 22:26:37 +0000 (00:26 +0200)]
Respect permissions by owning-entity-id when searching instances by owning entity

Issue-ID: VID-758
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I98d3e551231bb5aca3150da99f3431268f3373d8

4 years agoadd owningEntityId to each result of getServicesByOwningEntityId 41/101141/1
Eylon Malin [Tue, 4 Feb 2020 21:34:13 +0000 (23:34 +0200)]
add owningEntityId to each result of getServicesByOwningEntityId

Issue-ID: VID-758
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I4546b5d86e6a1b929b3430aa41f13980f07cfdaf

4 years agoregression unit test for getServicesByProjectNames 40/101140/1
Eylon Malin [Tue, 4 Feb 2020 21:21:33 +0000 (23:21 +0200)]
regression unit test for getServicesByProjectNames

Issue-ID: VID-758
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: Ibb4f6b63448dfb53bae5c262b3d8ce4f253935e0

4 years agoupgrade VFM is not enabled when other VFM in the same VNF is already upgraded (fix) 05/101105/1
Ittay Stern [Tue, 4 Feb 2020 12:13:24 +0000 (14:13 +0200)]
upgrade VFM is not enabled when other VFM in the same VNF is already 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>
4 years agoMerge "regression unit test for getServicesByOwningEntityId"
Ittay Stern [Tue, 4 Feb 2020 11:30:21 +0000 (11:30 +0000)]
Merge "regression unit test for getServicesByOwningEntityId"

4 years agoregression unit test for getServicesByOwningEntityId 49/101049/4
Eylon Malin [Mon, 3 Feb 2020 14:06:22 +0000 (16:06 +0200)]
regression unit test for getServicesByOwningEntityId

Issue-ID: VID-758
Change-Id: I4e080b6d775feb890f597b1db006e00f8108a987
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
4 years agoNodeInfo::getModel expects the instance-model 19/101019/8
Ittay Stern [Sun, 2 Feb 2020 16:09:40 +0000 (18:09 +0200)]
NodeInfo::getModel expects the instance-model

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>
4 years agoRespect owning-entity-id when searching instances by Subscriber 23/101023/4
Ittay Stern [Sun, 2 Feb 2020 18:04:18 +0000 (20:04 +0200)]
Respect owning-entity-id when searching instances by Subscriber

Issue-ID: VID-758

Change-Id: Ife6d8679b3ea00d4bb9efb24810b5a50652f5d76
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge "upgrade VFM is not enable when other VFM in the same VNF is already upgraded...
Ittay Stern [Mon, 3 Feb 2020 13:07:26 +0000 (13:07 +0000)]
Merge "upgrade VFM is not enable when other VFM in the same VNF is already upgraded. Issue-ID: VID-771"

4 years agoupgrade VFM is not enable when other VFM in the same VNF is already upgraded. 22/101022/3
Yoav Schneiderman [Sun, 2 Feb 2020 18:00:00 +0000 (20:00 +0200)]
upgrade VFM is not enable when other VFM in the same VNF is already upgraded.
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>
4 years agoMerge "upgrade spring.framework to latest 5.2.3 to avoid CVE-2020-5398/7"
Amichai Hemli [Sun, 2 Feb 2020 14:50:58 +0000 (14:50 +0000)]
Merge "upgrade spring.framework to latest 5.2.3 to avoid CVE-2020-5398/7"

4 years agoupgrade spring.framework to latest 5.2.3 to avoid CVE-2020-5398/7 16/101016/1
Amichai Hemli [Sun, 2 Feb 2020 13:46:13 +0000 (15:46 +0200)]
upgrade spring.framework to latest 5.2.3 to avoid CVE-2020-5398/7

Issue-ID: VID-736
Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com>
Change-Id: Id9d81c032a7bcbb92dc1f358db0efb026667b178

4 years agooriginalName fallbacks to customizationId or invariantId 55/100655/6
Ittay Stern [Wed, 29 Jan 2020 16:20:23 +0000 (18:20 +0200)]
originalName fallbacks to customizationId or invariantId

Issue-ID: VID-724

Change-Id: I3db8d09cabfb700dc1acd469d6fb8acb4764cd73
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agodon't show delete in menu action while edit a macro service 00/100900/6
Eylon Malin [Wed, 29 Jan 2020 13:11:47 +0000 (15:11 +0200)]
don't show delete in menu action while edit a macro service

Issue-ID: VID-760
Change-Id: Ieed2b7430cc1584681b1143d8b7244801dd8a1c4
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
4 years agoTest that a service instance of another subscriber has no edit permission 40/100940/3
Einat Vinouze [Thu, 30 Jan 2020 14:11:29 +0000 (16:11 +0200)]
Test that a service instance of another subscriber has no edit permission

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>
4 years agoRoleValidatorByOwningEntity permits by PermissionPropertiesOwningEntity 63/100863/5
Einat Vinouze [Tue, 28 Jan 2020 15:29:10 +0000 (17:29 +0200)]
RoleValidatorByOwningEntity permits by PermissionPropertiesOwningEntity

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>
4 years agoRoleValidatorFactory respects owning-entity feature flag 07/100907/3
Alexey Sandler [Wed, 29 Jan 2020 14:02:03 +0000 (16:02 +0200)]
RoleValidatorFactory respects owning-entity feature flag

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>
4 years agocreate RoleValidatorFactory component. 59/100859/1
Alexey Sandler [Tue, 28 Jan 2020 14:57:39 +0000 (16:57 +0200)]
create RoleValidatorFactory component.

Issue-ID: VID-758
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Change-Id: Id444ddbe74b6d28d697e130caa73bd7bfae9ce52

4 years agoRename Role's subscriberId field 46/100846/1
Ittay Stern [Tue, 28 Jan 2020 10:36:50 +0000 (12:36 +0200)]
Rename Role's subscriberId field

It was named subscriberName, although containing the id.

Issue-ID: VID-758

Change-Id: I28fd174a6eab642d34aef207e9d3ca69e8091884
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoRoleValidatorsComposer composite several RoleValidators together 27/100827/3
Ittay Stern [Mon, 27 Jan 2020 17:09:19 +0000 (19:09 +0200)]
RoleValidatorsComposer composite several RoleValidators together

Issue-ID: VID-758

Change-Id: I7bd5a4ebc8a0a451716af09cc76e6db6cd5362f7
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge "Introduce WithPermissionProperties as validation-points for RoleValidator"
Ittay Stern [Tue, 28 Jan 2020 05:55:11 +0000 (05:55 +0000)]
Merge "Introduce WithPermissionProperties as validation-points for RoleValidator"

4 years agoIntroduce WithPermissionProperties as validation-points for RoleValidator 15/100815/3
Einat Vinouze [Mon, 27 Jan 2020 13:49:13 +0000 (15:49 +0200)]
Introduce WithPermissionProperties as validation-points for RoleValidator

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>
4 years agoMerge "When feature toggle is active then SDNC preload files is enable."
Ittay Stern [Mon, 27 Jan 2020 19:10:41 +0000 (19:10 +0000)]
Merge "When feature toggle is active then SDNC preload files is enable."

4 years agoWhen feature toggle is active then SDNC preload files is enable. 84/100584/11
Yoav Schneiderman [Wed, 22 Jan 2020 09:07:00 +0000 (11:07 +0200)]
When feature toggle is active then SDNC preload files is enable.

Issue-ID: VID-752

Change-Id: I96ef914bfe37d82da20085227b930523fcdba8fc
Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
4 years agocreate RoleValidatorByOwningEntity class. 10/100810/3
Alexey Sandler [Mon, 27 Jan 2020 11:48:40 +0000 (13:48 +0200)]
create RoleValidatorByOwningEntity class.

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>
4 years agoRelease VID 6.0.2 (Frankfurt) 03/100803/2
Ittay Stern [Sun, 26 Jan 2020 16:12:47 +0000 (18:12 +0200)]
Release VID 6.0.2 (Frankfurt)

Issue-ID: VID-716

Change-Id: Ic61e1d7f4d85c0d17b1a41a50d2a5578409abd3b
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge "create a flag FLAG_2006_USER_PERMISSIONS_BY_OWNING_ENTITY in dev."
Ittay Stern [Sun, 26 Jan 2020 15:06:05 +0000 (15:06 +0000)]
Merge "create a flag FLAG_2006_USER_PERMISSIONS_BY_OWNING_ENTITY in dev."

4 years agoRename RoleValidatorByRoles to RoleValidatorBySubscriberAndServiceType 01/100801/2
Einat Vinouze [Sun, 26 Jan 2020 12:56:22 +0000 (14:56 +0200)]
Rename RoleValidatorByRoles to RoleValidatorBySubscriberAndServiceType

Issue-ID: VID-758
Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
Change-Id: I61fbfc902afee62e1099e491494065abae523b2e

4 years agocreate a flag FLAG_2006_USER_PERMISSIONS_BY_OWNING_ENTITY in dev. 00/100800/2
Alexey Sandler [Sun, 26 Jan 2020 12:41:24 +0000 (14:41 +0200)]
create a flag FLAG_2006_USER_PERMISSIONS_BY_OWNING_ENTITY in dev.

Issue-ID: VID-758
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Change-Id: I6f5b9717b63ab1cffd8f27024f0752a2699db736

4 years agocypress test - leave only group1 and other will run in groupRemain 98/100798/1
Eylon Malin [Sun, 26 Jan 2020 09:22:11 +0000 (11:22 +0200)]
cypress test - leave only group1 and other will run in groupRemain

Issue-ID: VID-757
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: Ib4da667cb42d77927a64d18aa7cb81e62e584428

4 years agocypress test - ignore timezone while assert create date in template modal 97/100797/3
Eylon Malin [Sun, 26 Jan 2020 07:55:18 +0000 (09:55 +0200)]
cypress test - ignore timezone while assert create date in template modal

Issue-ID: VID-757
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I3ca8f8b21895423f467581b78699e46fc1cea6d0

4 years agoMerge "Upgrade epsdk version to 2.6.0 (but keep overlay 2.5.0) (fix)" 6.0.2
Amichai Hemli [Thu, 23 Jan 2020 16:12:58 +0000 (16:12 +0000)]
Merge "Upgrade epsdk version to 2.6.0 (but keep overlay 2.5.0) (fix)"