- SAP Commerce Extension Module
- 一个典型的SAP Commerce extension目录结构
- SAP Commerce Cloud 架构概述
- SAP Commerce Cloud 里的 Media 概念简述
- 关于SAP Commerce extension依赖的问题
- SAP Commerce里Extension, Addon和Ac
- Hybris Commerce 在eclipse中开发和DEBU
- SAP Commerce Cloud Storefront 框架
- 使用 Recipe 安装 SAP Commerce Cloud
- 如何通过Restful API的方式读取SAP Commerce
Extension modules are structural elements of an extension. 类似ABAP开发包的概念。
An extension may include several extension modules serving as structural elements. Each of them offers a certain set of functionality. The functionality of the extension that you wish to have depends on extension modules that you implement.
Extension module分为core和web两类。
core extension module包含这些组件:
- type system definition
位于items.xml文件里,位置和命名规范:
- java file
- extension版本
In addition, every SAP Commerce package contains a <build.number> file with no prefix. This package-related build.number file contains the same information as the <$extension>.<build.number> files, but also has a list of the extensions contained by the package.
- localization files, 用于本地化
web extension module
extension的一部分,可以被浏览器访问。
访问方式:
To launch a web extension module via your web browser, go to the URL path to Platform on the server/name of extension/starting page. For example, if you are running myExtension locally on default settings, the URL would be http://localhost:9001/myExtension.
You can set up the list of extensions that are available to SAP Commerce by:
- Modifying the localextensions.xml file located in the <${HYBRIS_CONFIG_DIR}> directory.
- Building SAP Commerce.
localextensions.xml的位置和内容:
<hybrisconfig xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation='../bin/platform/resources/schemas/extensions.xsd'>
<extensions>
<path dir='${HYBRIS_BIN_DIR}' autoload='false' />
<extension name='mcc' />
<extension name='adaptivesearchsolr' />
<extension name='adaptivesearchbackoffice' />
<extension name='adaptivesearchsamplesaddon' />
<extension name='adaptivesearchwebservices' />
<extension name='commerceservicesbackoffice' />
<extension name='solrfacetsearchbackoffice' />
<extension name='solrserver' />
<extension name='yacceleratorcockpits' />
<extension name='yacceleratorinitialdata' />
<extension name='yacceleratorfulfilmentprocess' />
<extension name='yacceleratorstorefront' />
<extension name='ycommercewebservices' />
<extension name='ycommercewebservicestest' />
<extension name='electronicsstore' />
<extension name='acceleratorwebservicesaddon' />
<extension name='orderselfserviceaddon' />
<extension name='customersupportbackoffice' />
<extension name='customerticketingaddon' />
<extension name='commerceorgsamplesaddon' />
<extension name='rulebuilderbackoffice' />
<extension name='couponbackoffice' />
<extension name='droolsruleengineservices' />
<extension name='couponfacades' />
<extension name='promotionenginesamplesaddon' />
<extension name='cmswebservices' />
<extension name='smarteditwebservices' />
<extension name='cmssmarteditwebservices' />
<extension name='permissionswebservices' />
<extension name='smarteditaddon' />
<extension name='cmssmartedit' />
<extension name='cmsbackoffice' />
<extension name='previewpersonalizationweb' />
<extension name='personalizationcmsweb' />
<extension name='personalizationsmartedit' />
<extension name='personalizationpromotionssmartedit' />
<extension name='personalizationsampledataaddon' />
<extension name='personalizationpromotions' />
<extension name='personalizationpromotionsweb' />
<extension name='personalizationservicesbackoffice' />
<extension name='personalizationpromotionsbackoffice' />
<extension name='personalizationcmsbackoffice' />
<extension name='personalizationsearchbackoffice' />
<extension name='personalizationsearchsmartedit' />
<extension name='personalizationsearchweb' />
<extension name='personalizationsearchsamplesaddon' />
<extension name='textfieldconfiguratortemplatebackoffice' />
<extension name='textfieldconfiguratortemplateaddon' />
<extension name='assistedservicestorefront' />
<extension name='assistedservicewebservices' />
<extension name='assistedservicepromotionaddon' />
<extension name='assistedserviceatddtests' />
<extension name='promotionengineatddtests' />
<extension name='textfieldconfiguratortemplateatddtests' />
<extension name='pcmbackoffice' />
<extension name='chineseprofileaddon' />
<extension name='chineselogisticaddon' />
<extension name='chineselogisticbackoffice' />
<extension name='chinesepaymentaddon' />
<extension name='chinesetaxinvoiceaddon' />
<extension name='chinesetaxinvoicebackoffice' />
<extension name='chinesepspalipaymock' />
<extension name='chinesepspalipaysamplesaddon' />
<extension name='chinesepspalipaysbackoffice' />
<extension name='chinesestoreaddon' />
<extension name='verticalnavigationaddon' />
<extension name='chineseaddressaddon' />
<extension name='chineseaddressbackoffice' />
<extension name='chinesepspwechatpaymentaddon' />
<extension name='chinesepspwechatpaysamplesaddon' />
<extension name='chinesepspwechatpaysbackoffice' />
<extension name='consignmenttrackingaddon' />
<extension name='consignmenttrackingmock' />
<extension name='consignmenttrackingbackoffice' />
<extension name='notificationaddon' />
<extension name='customerinterestsaddon' />
<extension name='stocknotificationaddon' />
<extension name='chineseproductsharingaddon' />
<extension name='selectivecartaddon' />
<extension name='customercouponaddon' />
<extension name='customercouponsamplesaddon' />
<extension name='customercouponbackoffice' />
<extension name='timedaccesspromotionengineaddon' />
<extension name='timedaccesspromotionenginesamplesaddon' />
<extension name='timedaccesspromotionenginebackoffice' />
<extension name='messagecentercsoccaddon' />
<extension name='consignmenttrackingoccaddon' />
<extension name='customerinterestsoccaddon' />
<extension name='customercouponoccaddon' />
<extension name='notificationoccaddon' />
<extension name='stocknotificationoccaddon' />
</extensions>
</hybrisconfig>
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
网友评论