美文网首页SAPSAP札记
SAP Commerce Extension Module

SAP Commerce Extension Module

作者: _扫地僧_ | 来源:发表于2020-04-13 21:57 被阅读0次

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包含这些组件:

  1. type system definition

位于items.xml文件里,位置和命名规范:

  1. java file
  2. 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.

  1. 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:

  1. Modifying the localextensions.xml file located in the <${HYBRIS_CONFIG_DIR}> directory.
  2. 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的原创文章,请关注公众号"汪子熙":


相关文章

网友评论

    本文标题:SAP Commerce Extension Module

    本文链接:https://www.haomeiwen.com/subject/uruomhtx.html