summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2020-01-12Provide literal usePreload=false when usePreload is <null>Ittay Stern3-11/+67
Issue-ID: VID-746 Change-Id: Iab121726177397d1dbde37a1f7b93b30275a9ded Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-09Fix the format of supplementary file and user params for aLaCarte requestsEylon Malin5-65/+135
supplementary file shall be in format [{"name": "fieldName", "value" : "xyz"}] Also this is the format of each param in user params for aLaCarte requests and old macros Issue-ID: VID-743 Change-Id: I579298ce3f0b789a7a69e6af5a85bfbd50ae9fc0 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2020-01-08VidController sets isInstantiationTemplateExists on Browse SDCAlexey Sandler1-24/+38
Issue-ID: VID-739 Change-Id: I8dea890c8518e3c314e5371eaa982ce7550b27a5 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-01-07templates button - rename from hasTemplates to isInstantiationTemplateExists ↵Einat Vinouze1-2/+2
on the FE side Issue-ID: VID-741 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I09e0579d96cf5265519eaa69646afef7b511593a Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-01-07Add isInstantiationTemplateExists to service model listAlexey Sandler1-0/+68
During deploy from SDC added isInstantiationTemplateExists, that informs if template exists in service by model-service-id. Issue-ID: VID-739 Change-Id: I3de909c3976fe32cba25bcb39b9f35e566467760 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-01-01Add DB query for all model-service-ids which have a templateAlexey Sandler2-0/+12
Issue-ID: VID-739 Change-Id: Ib401f1fd312afb9652793854d49c8c7e5e115149 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-12-24Write async instantiations request-summary to DBIttay Stern1-4/+12
Issue-ID: VID-724 Change-Id: I8b4bb55f6d7d59da321ef7b52802ea8bd957c1c6 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-23Add request-summary field to ServiceInfoIttay Stern2-0/+127
Issue-ID: VID-724 Change-Id: Ifdf39a0c21e7a96065f88aa2aa4a5560e0559564 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-23Extending the getSummarizedMap test with different kind of templates.Alexey Sandler1-9/+13
Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I8b678d9c86cb4e484a34a0eb76d8cc83c0909232 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-12-22Add Volume Groups count ability during summarizing.Alexey Sandler1-0/+1
Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I0478469817f13609618c1597c654decac463474b
2019-12-21Add test to verify the count amount of networks during summarizing.Alexey Sandler1-1/+2
Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Ic65c52deb66a8a1281a190443907b04b2385787a Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-12-19Tweak add resources summarizing function in service instanceIttay Stern1-3/+4
Issue-ID: VID-724 Change-Id: I7e705aef5e94698c60bd4ea17991b5beb6f0dc54 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-19Merge "Add resources summarizing function in service instance."Ittay Stern1-0/+11
2019-12-19Add resources summarizing function in service instance.Alexey Sandler1-0/+11
Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I9f4d6201cadd31e84ef90f25a619d95bf74eb9ae Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-12-19Merge "on templates - filter only Action==INSTANTIATE"Eylon Malin2-13/+35
2019-12-18on templates - filter only Action==INSTANTIATEEinat Vinouze2-13/+35
Issue-ID: VID-730 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I16b73639f18b49b546868326cc6ed82d14818c1f Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2019-12-18Restore the reference instance of Upgrade's testIttay Stern2-9/+21
Restored file upgrade_vfmodule_e2e__service_instance, and adjust upgrade_vfmodule_e2e__fe_input_cypress accordingly. Also hardening MsoRequestBuilderTest to check for every true/false/null Boolean option. Issue-ID: VID-603 Change-Id: Ib82afcecaa57cb06896f7175d48aa8d6a314fdfa Signed-off-by: Ittay Stern <ittay.stern@att.com>
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-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-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-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-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-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-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 Malin1-0/+19
Issue-ID: VID-701 Change-Id: I23c89ed500d6d1663b07fa909b16eda30e63e36c Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-11a-la-carte services new instantiation uiEylon Malin1-20/+52
Issue-ID: VID-701 Change-Id: I1a58fd2221f0936d32a8289fa666c6ffcfc7e2fa Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-10Merge "VidNotion identify vlan tagging service"Amichai Hemli1-0/+10
2019-11-10Merge "VidNotion identify port mirroring service"Amichai Hemli1-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 Malin1-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-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-31Merge "Backend's vfModule upgrade: test refinement + code fix"Amichai Hemli4-95/+73
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 Stern4-95/+73
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>