温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

SAP Commerce Extension Module

发布时间:2020-08-11 17:07:25 来源:ITPUB博客 阅读:145 作者:i042416 栏目:编程语言

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两类。


SAP Commerce Extension Module


core extension module包含这些组件:

  1. type system definition

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


SAP Commerce Extension Module


  1. java file
  2. extension版本


SAP Commerce Extension Module


In addition, every SAP Commerce package contains a file with no prefix. This package-related build.number file contains the same information as the <$extension>. files, but also has a list of the extensions contained by the package.
  1. localization files, 用于本地化


SAP Commerce Extension Module


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的位置和内容:


SAP Commerce Extension Module


<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的原创文章,请关注公众号"汪子熙":

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI