aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-12-17Templates: show correct values of sdnc-preload, volume-group nameIttay Stern1-0/+215
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-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-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-10Address licence discrepancy by removing some unneeded filesIttay Stern1-0/+0
Issue-ID: VID-378 Change-Id: Ib897dbc414d8d4688ed5e9ed52b197051a9de9eb Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-09Join ExistingElementsCounterMaps with ServiceInstantiationIttay Stern2-12/+102
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-09Extract getExistingCounterMap from AAITreeConverter to ModelUtilIttay Stern5-53/+97
Issue-ID: VID-724 Change-Id: I16305bc2f7c0f208d03da8e0255fad0ea16fb28d Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-02Merge "add more test scenarios for filter serviceInfo by service model id"Ittay Stern1-14/+29
2019-12-02add more test scenarios for filter serviceInfo by service model idEylon Malin1-14/+29
Issue-ID: VID-724 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I24daba11da26a39ee366d1353459c530f0ebfafc
2019-12-02API to get template-topology by job idIttay Stern1-4/+18
..../vid/asyncInstantiation/templateTopology/{jobId} Issue-ID: VID-724 Change-Id: I5704951a595293d10ed6ae09c0113e1cac5b5788 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-01Add filter for serviceInfo by service model idSara Weiss3-51/+132
Issue-ID: VID-724 Change-Id: Icdb35b4fa95acb0d40f2921f3d3de0a037858e08 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com>
2019-11-28Merge "BE unit tests for supplementaryFileParams in vf module upgrade"Ittay Stern2-8/+27
2019-11-28BE unit tests for supplementaryFileParams in vf module upgradeEylon Malin2-8/+27
Issue-ID: VID-603 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ic2da23ab699d5b0d218b3bb1f0c0f7f936b0902e
2019-11-28update supplementaryFileContent at onSubmit of VfModule upgradeEylon Malin1-1/+4
Issue-ID: VID-603 Change-Id: I7fac657454de7a6d3674708c956eb099c11ad2ea Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-27OperationalEnvironment improvementsMichal Kabaj3-83/+94
-added new unit test to AaiControllerTest -OperationalEnvironment and List are now immutable -builder improvements -removed redundant test Issue-ID: VID-706 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com> Change-Id: I2cf0d0b124458b9306637614b3d26c85c780ca4d Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-11-27add sdnc checkbox to vfm upgrade modalAlexey Sandler2-0/+2
Issue-ID: VID-603 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Ic297486bc343419415bf3736ebb56944e72bf8b8 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-11-26improve debug logging formatAmichai Hemli1-0/+15
Issue-ID: VID-646 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ifa9105455dabdfad3179c36b516fe9833e0e6e60 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com>
2019-11-26Replace vfmodule: add retainVolumeGroup to new upgrade modalSara Weiss2-0/+2
Issue-ID: VID-603 Change-Id: I1994d4464172613294198e21a77f31b752211888 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-25Merge "identify macro services without instantiation type in BE by feature flag"Ittay Stern1-28/+96
2019-11-25identify macro services without instantiation type in BE by feature flagEylon Malin1-28/+96
Issue-ID: VID-705 Change-Id: Ia618f91133cdecbd35eac4346496a6ff38a3753e Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-25upgrade vfModule retainAssignments true by default.Yoav Schneiderman2-2/+2
Issue-ID: VID-603 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Change-Id: I9f8761b756968dcc91ab1cae998d47fa74ecccd0
2019-11-25VfModule upgrade: popup with retain-assignments checkboxYoav Schneiderman2-2/+4
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-25Replace vfmodule: expect optional retainAssignments paramIttay Stern3-10/+18
Issue-ID: VID-603 Change-Id: Ifda72845f2c5b473bba7ac64deab8d4b0f11ef10 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-24Migrating VfModuleOrVolumeGroupRequestDetails it to Kotlin; avoid the inner ↵Ittay Stern1-2/+3
static classes Issue-ID: VID-603 Change-Id: I8ae786d2e0e67300cd6118d41b48ba8483b922f0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-24VfModule and VolumeGroup RequestParameters: introduce objects hierarchyIttay Stern1-10/+15
-- RequestParametersVfModuleOrVolumeGroup +-- RequestParametersVfModuleOrVolumeGroupInstantiation +-- RequestParametersVfModuleUpgrade Change-Id: I97ef46c7cf66936685e030a73b42d4deac7403b5 Issue-ID: VID-603 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-21Merge "Replace vfmodule: expect optional retainVolumeGroups param"Ittay Stern3-10/+24
2019-11-21Replace vfmodule: expect optional retainVolumeGroups paramSara Weiss3-10/+24
Issue-ID: VID-603 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com> Change-Id: I392d1e70a7f423128221b2f7a7fc0f8449d8e268
2019-11-21VidNotionBuilder can use configuration file to identify macro servicesEylon Malin2-0/+23
Issue-ID: VID-701 Change-Id: I23c89ed500d6d1663b07fa909b16eda30e63e36c Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-19a-la-carte services new instantiation ui selenium testEylon Malin1-0/+0
Issue-ID: VID-701 Change-Id: I72f5245493d0ad3e3cc4447617c4b6a011bfd41c Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-11a-la-carte services new instantiation uiEylon Malin2-20/+52
Issue-ID: VID-701 Change-Id: I1a58fd2221f0936d32a8289fa666c6ffcfc7e2fa Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-10fix identification of port mirroring serviceEylon Malin1-0/+0
Issue-ID: VID-701 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I56e4c9502724f271810b44ea946cd56f4013c543
2019-11-10Merge "VidNotion identify vlan tagging service"Amichai Hemli1-0/+10
2019-11-10Merge "VidNotion identify port mirroring service"Amichai Hemli2-12/+20
2019-11-10VidNotion identify vlan tagging serviceEylon Malin1-0/+10
Issue-ID: VID-701 Change-Id: Iffba5bca82e0511715e5ecb6b91cc9f4e077eaee Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-10VidNotion identify port mirroring serviceEylon Malin2-12/+20
Issue-ID: VID-701 Change-Id: I805acab9380c779d2609107c1c65ef25bb0dad47 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-10Mock Logging.withMDC while ↵Ittay Stern1-2/+11
AAIServiceTreeIntegrativeTest::getServiceInstanceTreeTestHappyFlow Issue-ID: VID-253 Change-Id: I86275ff1a5951b6e86b7380cdf9d4238cfae45db Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-07fix - when retrieve topology we are using threadPool and the MDC values are ↵Ittay Stern8-88/+115
not updated This time for homing-by-vnf-id parallel requests. Issue-ID: VID-253 Change-Id: Ic0be1470445c6fef0e18f9b9d8f1604df508265b Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-06print user-id in partner name record of audit logEylon Malin1-4/+57
Issue-ID: VID-253 Also add more verifications for audit log format Change-Id: I00976a63fd1a795a972c13ad975d6a71248e5c8b Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-05Merge "vfModule upgrade: don't fallback on mismatching newest model"Amichai Hemli1-0/+85
2019-11-04remove internal urlsAmichai Hemli6-213/+9
Issue-ID: VID-646 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ie76259a41909ae5667053a2ef2ab6f0094dc6b6c
2019-11-04vfModule upgrade: don't fallback on mismatching newest modelIttay Stern1-0/+85
Issue-ID: VID-603 Change-Id: I96a0d4ed3a6717a4f1ee7c285dc71e2d7d695302 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-31Update MSO change-management URLAmichai Hemli1-2/+2
Issue-ID: VID-622 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ibe7b07ecc858895de579d3dacf1a3312c6793fad
2019-10-31Merge "Backend's vfModule upgrade: test refinement + code fix"Amichai Hemli9-190/+290
2019-10-31rename class to JaxRsMetricLogClientFilterEylon Malin1-3/+3
Issue-ID: VID-253 Change-Id: I47727690015ab0183ba25a57b19fb280231c6fb3 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-31register SyncRestClient to work with new MetricLogClient FilterAlexey Sandler3-402/+1
Issue-ID: VID-253 add API test that checks request headers logged tometrics log Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Ic2bfb99d40482b939ddaa4ba5c694f1042c3dd69 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-10-31Backend's vfModule upgrade: test refinement + code fixIttay Stern9-190/+290
Now using modelCustomizationName to map each module from existing service-model to target's service-model. Issue-ID: VID-603 Change-Id: Ie6a2584b6f9d0aa835e8f2ddff4a3ab9d80ef434 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-31add to AAI headers in request and metric logEinat Vinouze1-36/+0
Issue-ID: VID-253 Including API test + use VidMetricLogClientFilter Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I62980b3c88e941d1a47b03c75a1c837078e1988b
2019-10-30use onap logging 1.6.1 with needed workaroundsEylon Malin3-0/+113
Issue-ID: VID-253 Onap logging 1.6.1 has some mismatches regards invocationId. This commit fix these mismatches by fixing the MDC when needed. Change-Id: Ic8d35318ae511667dfa6f9c4297d562fd976a717 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-28Add another vfm-upgrade testIttay Stern2-1/+116
Issue-ID: VID-603 Change-Id: I4690906d3bc660984a0c2269d7151f6151b89940 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-24fix ApacheClientMetricInterceptor to return expected ResponseCodeEylon Malin1-1/+1
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I5c90f5bcbf34eee28c192128333ca940558ecb30
2019-10-24common api tests assertion, for metrics log and outgoing out headersEylon Malin1-1/+0
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I3d0f5c215d080b5ae70fe7bb2b42a97fb944dcf9