summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2020-01-26Rename RoleValidatorByRoles to RoleValidatorBySubscriberAndServiceTypeEinat Vinouze2-3/+3
Issue-ID: VID-758 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I61fbfc902afee62e1099e491494065abae523b2e
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 Stern1-12/+1
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 Stern1-1/+12
Issue-ID: VID-647 Change-Id: I9ed97742db1f37de68bfcf1b9cd58afc996da7bf Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-20Merge "Async MSO error visibility: let open "retry" from Audit-info"Eylon Malin1-0/+1
2020-01-19originalName stored and sent to frontend in a templateEylon Malin8-32/+53
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>
2020-01-16Async MSO error visibility: let open "retry" from Audit-infoIttay Stern1-0/+1
On the "audit info" modal (available on Instantiation Status page), show a link navigating to read-only RETRY page with more audit info. Issue-ID: VID-749 Change-Id: I070336059859668292af31c187a7672c68962832 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-15Async MSO error format: handle more casesIttay Stern1-18/+27
Try better not to fallback to "Http Code:400, null" Notably, handle the case where "serviceException" is inside a "requestError" container. Issue-ID: VID-749 Change-Id: I3c7d609aed893bbbeb71ebe4b465289c71e5c32b Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-15Honor user-cookie to select a temporal feature setIttay Stern2-6/+89
Issue-ID: VID-747 Change-Id: I5acd4685bedfed8570a6fd698101f541d03c8d82 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-15remove "Previous instantiotion" button from service popup.Alexey Sandler1-1/+1
Issue-ID: VID-739 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I562da185a59b593112dc50b403c20e671c7f7a48 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-01-13clear isFailed and statusMessage when get it from frontend requestEylon Malin1-9/+19
Issue-ID: VID-724 Change-Id: I1bc33513250b220a063742233592388c7a108958 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2020-01-12Provide literal usePreload=false when usePreload is <null>Ittay Stern1-3/+4
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-44/+88
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-2/+14
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 Vinouze2-2/+13
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 Sandler2-1/+38
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-02improve getAllTemplatesServiceModelIds queryEylon Malin1-6/+5
Issue-ID: VID-739 Change-Id: I0b5520e0d22942a84ca5d6fc54821455ef67f644 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2020-01-01Add DB query for all model-service-ids which have a templateAlexey Sandler1-2/+15
Issue-ID: VID-739 Change-Id: Ib401f1fd312afb9652793854d49c8c7e5e115149 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-12-25Let enabling FLAG_2004_INSTANTIATION_TEMPLATES_POPUPIttay Stern1-0/+1
Issue-ID: VID-724 Change-Id: I93c5b61aa282f6108d7256286f2a70d1772ff419 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-24Write async instantiations request-summary to DBIttay Stern1-4/+22
Issue-ID: VID-724 Change-Id: I8b4bb55f6d7d59da321ef7b52802ea8bd957c1c6 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-24move templates API to a intended controllerYoav Schneiderman2-12/+14
Issue-ID: VID-730 Change-Id: Id2aa44803a190333b5a96fda77ca15d254b4c222 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2019-12-23Add request-summary field to ServiceInfoIttay Stern3-12/+74
Issue-ID: VID-724 Change-Id: Ifdf39a0c21e7a96065f88aa2aa4a5560e0559564 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-22Add Volume Groups count ability during summarizing.Alexey Sandler1-6/+29
Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I0478469817f13609618c1597c654decac463474b
2019-12-19Merge "Tweak add resources summarizing function in service instance"Amichai Hemli1-21/+19
2019-12-19Merge "move templates API to a intended controller"Ittay Stern2-11/+60
2019-12-19Tweak add resources summarizing function in service instanceIttay Stern1-21/+19
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-19move templates API to a intended controllerEinat Vinouze2-11/+60
Issue-ID: VID-730 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Ie9b23a0360f902334fd6b877accec322b795c413
2019-12-19Merge "Add resources summarizing function in service instance."Ittay Stern1-0/+30
2019-12-19Add resources summarizing function in service instance.Alexey Sandler1-0/+30
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-18on templates - filter only Action==INSTANTIATEEinat Vinouze2-5/+6
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-17Templates: show correct values of sdnc-preload, volume-group nameIttay Stern2-4/+11
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-12Merge changes from topics "VID-45", "VID-44"Ittay Stern1-3/+1
* changes: Merge this if statement with the enclosing one. Merge this if statement with the enclosing one.
2019-12-10Adding unlimited max value to VNF, NETWORKYoav Schneiderman1-0/+1
Issue-ID: VID-726 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Change-Id: I0c3d503c8e4f6cb14081de8f6a619a67eee080b7 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
2019-12-09Join ExistingElementsCounterMaps with ServiceInstantiationIttay Stern7-12/+196
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-09Merge "Extract getExistingCounterMap from AAITreeConverter to ModelUtil"Amichai Hemli2-44/+30
2019-12-09Extract getExistingCounterMap from AAITreeConverter to ModelUtilIttay Stern2-44/+30
Issue-ID: VID-724 Change-Id: I16305bc2f7c0f208d03da8e0255fad0ea16fb28d Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-09Merge "Change ServiceInstance's top-level rollbackOnFailure serialization to ↵Amichai Hemli2-6/+53
String"
2019-12-09Change ServiceInstance's top-level rollbackOnFailure serialization to StringIttay Stern2-6/+53
This will satisfy a new test: Template Topology API test: Deploy Cypress -> getTemplateTopology returns the same template Also updating templates__instance_template.json with actual "templateTopology" endpoint fields. Issue-ID: VID-724 Change-Id: I1160656c9a58ab2678ca6f2529688463fbd60a91 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-09add create another one menu item to instantiationStatus pageEylon Malin1-0/+1
Issue-ID: VID-724 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I205bc276ec7ba59eae37207f0976867bd496043f Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-12-08Show previous instantiations button in new service modalSara Weiss1-0/+1
Issue-ID: VID-724 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Change-Id: I18633adbabbc22c68f9bcd712427033deaffd33c
2019-12-04Sink all Async-Jobs logging to same debug.logIttay Stern11-25/+35
Error events are _replicated_ to error.log Main incentive is to have all JobWorker, ResourceCommand and MsoResultHandlerService logging the job life-cycle on same page. Issue-ID: VID-253 Change-Id: I862b408d71767ca3d5e6da3071bbae751261587e Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-04make sure request id is unique per each async job executionEylon Malin2-13/+21
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I1e7e98876c6557ff18a9e1646d7b815ed9af830d
2019-12-03free text filter in instantiationStatus PageEylon Malin1-0/+1
Issue-ID: VID-724 Change-Id: I5f363ecc66ff1f1fef9c9d75a12a9c43403aa905 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-12-02Merge "Add query param option for filtering services info by service model id"Ittay Stern2-5/+15
2019-12-02Add query param option for filtering services info by service model idSara Weiss2-5/+15
Issue-ID: VID-724 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Change-Id: I72c78dd3c0e156688092ce4ac3793bc3e8c37352
2019-12-02API to get template-topology by job idIttay Stern3-5/+17
..../vid/asyncInstantiation/templateTopology/{jobId} Issue-ID: VID-724 Change-Id: I5704951a595293d10ed6ae09c0113e1cac5b5788 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-01Merge "Add filter for serviceInfo by service model id"Ittay Stern1-3/+15
2019-12-01Merge changes Ia06b7afe,I31b646b4Ittay Stern1-2/+0
* changes: remove FLAG_SETTING_DEFAULTS_IN_DRAWING_BOARD remove FLAG_DEFAULT_VNF
2019-12-01Add filter for serviceInfo by service model idSara Weiss1-3/+15
Issue-ID: VID-724 Change-Id: Icdb35b4fa95acb0d40f2921f3d3de0a037858e08 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com>
2019-12-01remove FLAG_SETTING_DEFAULTS_IN_DRAWING_BOARDEylon Malin1-1/+0
Issue-ID: VID-721 Change-Id: Ia06b7afe0cc2aa6f906f56802dc537f6fec283d0 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>