SAP Spartacus 3.0 的一些变化-阿里云开发者社区

开发者社区> 努力滴码农> 正文

SAP Spartacus 3.0 的一些变化

简介: SAP Spartacus 3.0 的一些变化
+关注继续查看

image.png

image.png

image.png

image.png

image.png

image.png

image.png

image.png

image.png

image.png

image.png

image.png

image.png

image.png

image.png

image.png

Automated Migrations for Version 3

CheckoutProgressMobileBottomComponent no longer uses CheckoutConfig, RoutingService and RoutingConfigService. These services usage was replaced with the corresponding methods from CheckoutStepService. This service needs to be provided to CheckoutProgressMobileBottomComponent.

CheckoutAuthGuard no longer uses RoutingService. This service usage was replaced with the corresponding methods from Router and SemanticPathService. Additional services UserService and GlobalMessageService also need to be provided to CheckoutAuthGuard.

CheckoutProgressMobileTopComponent no longer uses CheckoutConfig, RoutingService and RoutingConfigService. These services usage was replaced with the corresponding methods from CheckoutStepService. This service needs to be provided to CheckoutProgressMobileTopComponent.

CheckoutProgressComponent no longer uses CheckoutConfig, RoutingService and RoutingConfigService. These services usage was replaced with the corresponding methods form CheckoutStepService. This service needs to be provided to CheckoutProgressComponent.

DeliveryModeSetGuard no longer uses CheckoutConfigService. This service usage was replaced with the corresponding methods form CheckoutStepService. This service needs to be provided to DeliveryModeSetGuard.

DeliveryModeComponent no longer uses RoutingService. This service usage was replaced with the corresponding methods form CheckoutStepService. This service needs to be provided to DeliveryModeComponent.

LoginFormComponent no longer uses ActivatedRoute, CheckoutConfigService and AuthRedirectService. The logic using these services was moved to a different component.

OrderDetailShippingComponent no longer uses TranslationService. The logic using these services was moved to OrderDetailShippingComponent.

PaymentDetailsSetGuard no longer uses CheckoutConfigService. This service usage was replaced with the corresponding methods form CheckoutStepService. This service needs to be provided to PaymentDetailsSetGuard.

PaymentMethodComponent no longer uses CheckoutConfigService and RoutingService. These services usage was replaced with the corresponding methods form CheckoutStepService. This service needs to be provided to PaymentMethodComponent.

ReviewSubmitComponent no longer uses CheckoutConfigService. This service usage was replaced with the corresponding methods form CheckoutStepService. In addition, PaymentTypeService, CheckoutCostCenterService and UserCostCenterService need to be provided to ReviewSubmitComponent.

ShippingAddressSetGuard no longer uses CheckoutConfigService. This service usage was replaced with the corresponding methods form CheckoutStepService. This service needs to be provided to ShippingAddressSetGuard.

ShippingAddressComponent no longer uses CheckoutConfigService and RoutingService. These services usage was replaced with the corresponding methods form CheckoutStepService. This service needs to be provided to ShippingAddressComponent.

MultiCartService now requires the additional provider UserIdService.

PageSlotComponent no longer uses CmsComponentsService. This service usage was replaces with the PageSlotService.

ForbiddenHandler now uses GlobalMessageService, AuthService, OccEndpointsService.

CheckoutPaymentService no longer uses AuthService. This service usage was replaced with the corresponding methods from UserIdService.

CheckoutService no longer uses AuthService. This service usage was replaced with the corresponding methods from UserIdService.

CustomerCouponService no longer uses AuthService. This service usage was replaced with the corresponding methods from UserIdService.

OrderReturnRequestService no longer uses AuthService. This service usage was replaced with the corresponding methods from UserIdService.

UserAddressService no longer uses AuthService. This service usage was replaced with the corresponding methods from UserIdService.

UserConsentService now also requires UserIdService.

UserInterestsService no longer uses AuthService. This service usage was replaced with the corresponding methods from UserIdService.

UserNotificationPreferenceService no longer uses AuthService. This service usage was replaced with the corresponding methods from UserIdService.

UserOrderService no longer uses AuthService. This service usage was replaced with the corresponding methods from UserIdService. Now also requires RoutingService.

UserPaymentService no longer uses AuthService. This service usage was replaced with the corresponding methods from UserIdService.

UserService no longer uses AuthService. This service usage was replaced with the corresponding methods from UserIdService.

ActiveCartService no longer uses AuthService. This service usage was replaces with the UserIdService.

CartVoucherService no longer uses AuthService. This service usage was replaces with the UserIdService.

SelectiveCartService no longer uses AuthService. This service usage was replaces with the UserIdService.

WishListService no longer uses AuthService. This service usage was replaces with the UserIdService.

CheckoutDeliveryService no longer uses AuthService. This service usage was replaces with the UserIdService.

UnauthorizedErrorHandler has been removed.

StarRatingComponent no longer uses ElementRef and Renderer2.

ProductCarouselService no longer uses ProductReferenceService.

NotCheckoutAuthGuard no longer uses RoutingService. This service usage was replaced with the corresponding methods from SemanticPathService and Router.

StoreFinderSearchConfig has been removed. SearchConfig should be used instead.

ForgotPasswordComponent now also requires AuthConfigService.

OrderHistoryComponent now also requires UserReplenishmentOrderService.

OrderReturnGuard no longer uses RoutingService. This service usage was replaced with the corresponding methods from Router and SemanticPathService.

OrderCancellationGuard no longer uses RoutingService. This service usage was replaced with the corresponding methods from Router and SemanticPathService.

OutletRefDirective no longer uses FeatureConfigService.

OutletService no longer uses FeatureConfigService.

RoutingService now also requires RoutingParamsService.

TOKEN_REVOCATION_HEADER has been removed.

JsonLdScriptFactory now also requires SeoConfig.

LogoutGuard no longer uses RoutingService. This service usage was replaced with the corresponding methods from Router.

ProductVariantGuard no longer uses RoutingService. This service usage was replaced with the corresponding methods from Router and SemanticPathService.

FeatureModulesService no longer has getInjectors method.

CmsComponentsService no longer has getInjectors method.

ViewComponent now also requires ChangeDetectorRef.

SplitViewDeactivateGuard has been removed.

FeatureModulesService no longer uses Compiler. Newly added method getModule does not need it anymore.

FeatureModulesService no longer uses Injector. Newly added method getModule does not need it anymore.

FeatureModulesService now uses LazyModulesService.

JsonLdProductReviewBuilder now uses SeoConfig.

RegisterComponent now uses AuthConfigService.

SplitViewComponent now also requires BreakpointService and ElementRef.

CheckoutGuard now also requires CheckoutStepService.

OrderConfirmationOverviewComponent no longer uses TranslationService. The logic using this service was moved to the OrderOverviewComponent.


版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
阿里云服务器怎么设置密码?怎么停机?怎么重启服务器?
如果在创建实例时没有设置密码,或者密码丢失,您可以在控制台上重新设置实例的登录密码。本文仅描述如何在 ECS 管理控制台上修改实例登录密码。
10095 0
阿里云服务器端口号设置
阿里云服务器初级使用者可能面临的问题之一. 使用tomcat或者其他服务器软件设置端口号后,比如 一些不是默认的, mysql的 3306, mssql的1433,有时候打不开网页, 原因是没有在ecs安全组去设置这个端口号. 解决: 点击ecs下网络和安全下的安全组 在弹出的安全组中,如果没有就新建安全组,然后点击配置规则 最后如上图点击添加...或快速创建.   have fun!  将编程看作是一门艺术,而不单单是个技术。
10886 0
使用OpenApi弹性释放和设置云服务器ECS释放
云服务器ECS的一个重要特性就是按需创建资源。您可以在业务高峰期按需弹性的自定义规则进行资源创建,在完成业务计算的时候释放资源。本篇将提供几个Tips帮助您更加容易和自动化的完成云服务器的释放和弹性设置。
12078 0
阿里云服务器安全组设置内网互通的方法
虽然0.0.0.0/0使用非常方便,但是发现很多同学使用它来做内网互通,这是有安全风险的,实例有可能会在经典网络被内网IP访问到。下面介绍一下四种安全的内网互联设置方法。 购买前请先:领取阿里云幸运券,有很多优惠,可到下文中领取。
11819 0
windows server 2008阿里云ECS服务器安全设置
最近我们Sinesafe安全公司在为客户使用阿里云ecs服务器做安全的过程中,发现服务器基础安全性都没有做。为了为站长们提供更加有效的安全基础解决方案,我们Sinesafe将对阿里云服务器win2008 系统进行基础安全部署实战过程! 比较重要的几部分 1.
9161 0
腾讯云服务器 设置ngxin + fastdfs +tomcat 开机自启动
在tomcat中新建一个可以启动的 .sh 脚本文件 /usr/local/tomcat7/bin/ export JAVA_HOME=/usr/local/java/jdk7 export PATH=$JAVA_HOME/bin/:$PATH export CLASSPATH=.
4664 0
阿里云ECS云服务器初始化设置教程方法
阿里云ECS云服务器初始化是指将云服务器系统恢复到最初状态的过程,阿里云的服务器初始化是通过更换系统盘来实现的,是免费的,阿里云百科网分享服务器初始化教程: 服务器初始化教程方法 本文的服务器初始化是指将ECS云服务器系统恢复到最初状态,服务器中的数据也会被清空,所以初始化之前一定要先备份好。
7365 0
2497
文章
0
问答
来源圈子
更多
+ 订阅
文章排行榜
最热
最新
相关电子书
更多
《2021云上架构与运维峰会演讲合集》
立即下载
《零基础CSS入门教程》
立即下载
《零基础HTML入门教程》
立即下载