日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Hybris 体系结构

發布時間:2025/3/20 编程问答 18 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Hybris 体系结构 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1、安裝許可(Installing Licenses

The hybris Commerce Suite uses a license file which holds information about unlocked functionality in the hybris Commerce Suite. For example, you may or may not be allowed to use?Cluster - Technical Guidefunctionality.

license文件當hybris Server啟動的時候,被放在${HYBRIS_CONFIG_DIR}/licence這個目錄下,我們沒有必要明確的去安裝這個licenses文件,我們只需要把這個licenses文件放到${HYBRIS_CONFIG_DIR}/licence這個目錄下,然后重啟hybris Server,就能自動的安裝這個Licenses了。

每一個配置模板文件(Configuration Templates)就包含了一個licenses文件的,在配置模板文件被配置到服務器中的時候,licenses會被自動的拷貝到${HYBRIS_CONFIG_DIR}/licence這個目錄下,?This means that you will have a license file available right away.

當然,我們也可以手動的安裝不同的licenses文件。

Manually Install a Different License

  • Extract the license zip archive (hybris20licenceQ205.zip, for example).

  • Copy the?hybrislicence.jar?file to the?${HYBRIS_CONFIG_DIR}/licence?directory.

  • Stop the hybris Server.
  • Start the hybris Server:?


  • 2、環境變量:

    The hybris Commerce Suite uses a number of environment variables that are?defined to reference the paths of its various components.

    Default Values of Environment Variables

    The table below summarizes the hybris environment variables.

    Variable Name

    Description

    Factory Default

    HYBRIS_BIN_DIR

    Points to the?/bin?directory of the hybris Commerce Suite, in which the platform and all extensions are located.

    hybris/bin
    HYBRIS_CONFIG_DIR

    Points to the?/config?directory of the hybris Commerce Suite, where custom configuration files are stored.

    hybris/config
    HYBRIS_DATA_DIR

    Points to the?/data?directory of the hybris Commerce Suite, where runtime data is stored.

    hybris/data
    HYBRIS_LOG_DIR

    Points to the?/log?directory of the hybris Commerce Suite, containing log files from the hybris Server, JDBC logging, etc.

    hybris/log
    HYBRIS_TEMP_DIR

    Points to the?/temp?directory of the hybris Commerce Suite, where temporary files are stored.

    hybris/temp/hybris

    在默認情況下,這些目錄都是在?platform?這個目錄往上推兩層目錄,然后加上自己對應的子目錄,比如:一個環境的platform目錄是:C:\hybris\bin\platform,那么HYBRIS_LOG_DIR?就是C:\hybris\log\.....

    關于如何修改環境變量,比較簡單,直接參考官方文檔:https://wiki.hybris.com/display/release5/hybris+Environment+Variables


    3、配置模板(Configuration Templates

    The hybris Commerce Suite comes with pre-defined configuration sets ready to use as configuration templates. A configuration template consists of a set of configuration files pre-optimized by hybris for a certain aspect of running the hybris Commerce Suite, such as for use in development and production environment.

    官方提供了兩個配置模板:開發 ?和 生產(當然是開發注重的性能、debug等信息;而生產肯定注重的是安全)

    Configuration Template Structure(配置模板的結構)

    A configuration template can consist of the following:

    • A?local.properties?file

    • Configuration files for the Apache Tomcat, such as?wrapper.conf?or?wrapper-debug.conf

    • A license file(第一小節所說的證書)
    在使用ant構建服務器的時候,會要求你選擇developer模式還是product模式,默認是develop模式,當然你也可以建立多個HYBRIS_CONFIG_DIR

    手工的切換使用,以到達不同的需求,可參考:https://wiki.hybris.com/display/release5/Configuration+Templates


    4、目錄結構:

    All extensions developed by hybris are grouped in specific directories under the?/bin?directory to distinguish between the different kinds of extensions that hybris offers. Additionally, distinguishing the?/bin?directory from the other directories is beneficial for both partner developers and system administrators when updating the hybris Commerce Suite.

    每一個ext目錄都是一個可以被eclipse打開的項目,可以完成特定的功能。


    hybris把bin目錄和其他的目錄分開,其他的目錄包括數據啦、日志啦、配置模板啦、、、等等。這樣一個顯著的好處就是bin目錄只有固定的代碼,不會有任何改變,若你升級hybris,直接替換這個bin目錄就行了,別的客戶化的東西,都不用管的。

    Directory Structure Overview

    Directory

    Description

    Environment Variable
    For details see?hybris Environment Variables.

    /bin

    Contains the hybris Platform directories, the template directory, and the hybris extensions directory. It may also contain the directory for partner extensions or custom extensions made by customers for their own use.

    ${HYBRIS_BIN_DIR}
    • /bin/custom

    This directory is created during the process of creating the custom extensions. It should contain your own project extensions. For details about creating extensions see the?Creating a New Extension?document.

    ?
    • /bin/ext-accelerator

    This directory contains?acceleratorcms, acceleratorfacades, acceleratorservices, b2bacceleratorfacades, b2bacceleratorservice.

    ?
    • /bin/ext-addon

    This directory contains addon extensions.

    ?
    • /bin/ext-channel

    This directory contains?cscockpit, instore, mobileoptionals,mobileservices,print,printcockpit,printhmc.

    ?
    • /bin/ext-commerce

    This directory contains commerce-related extensions.

    ?
    • /bin/ext-content

    This directory contains?bmecat, classificationsystems,cms2,cmscockpit,importcockpit,mam, productcockpit.

    ?
    • /bin/ext-data

    This directory contains sample data extensions.

    ?
    • /bin/ext-platform

    This directory?contains?admincockpit, backoffice, cockpit, hmc, mcc, platformhmc?extensions.

    ${HYBRIS_EXT-PLATFORM_DIR}

    • /bin/ext-platform-optional

    This directory?contains optional platform extensions.

    ${HYBRIS_EXT-PLATFORM_DIR}
    • /bin/ext-print

    This directory contains?print, printcockpit?and?printhmc?extensions ${HYBRIS_EXT-PRINT}
    • /bin/ext-template

    This directory?contains all?extgen?templates.

    ${HYBRIS_EXT-TEMPLATE_DIR}
    • /bin/platform

    This directory contains the?actual hybris Platform functionalities. It includes core extensions, the build framework, custom extension templates in?/extgen, and the application server directories.

    ${HYBRIS_PLATFORM_DIR}

    /config

    The directory contains your custom configuration files for the hybris Commerce Suite, such as:?local.properties,localextensions.xml, andhybrislicence.jar. This directory also contains the files for the customization mechanism of the hybris Commerce Suite.

    ${HYBRIS_CONFIG_DIR}

    /data

    This directory?contains runtime data, such as:

    • Media files, such as product pictures. See also?Media folder.
    • LuceneSearch indexes
    • HSQLDB files
    ${HYBRIS_DATA_DIR}

    /log

    This directory?contains log files from the hybris Server, JDBC logging, and so on.

    ${HYBRIS_LOG_DIR}

    /temp

    This directory?contains temporary files.

    ${HYBRIS_TEMP_DIR}

    總結

    以上是生活随笔為你收集整理的Hybris 体系结构的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

    主站蜘蛛池模板: 中文字幕第七页 | 理论片91 | 亚洲av无码一区二区乱子伦 | 欧美人妻日韩精品 | 欧美一级不卡 | 色 综合 欧美 亚洲 国产 | 一级黄色片在线看 | 天天做天天躁天天躁 | 青青伊人国产 | 亚洲爆乳无码精品aaa片蜜桃 | www日本高清视频 | 黄色天堂 | 在线免费播放av | 精人妻一区二区三区 | 嫩草视频在线观看免费 | 6080av| 欧美私人影院 | 无码免费一区二区三区 | 日本特黄特黄刺激大片 | 自偷自拍av | 无毛av| 俺去草 | 亚洲国产一区二区a毛片 | eeuss日韩| 蜜桃av鲁一鲁一鲁一鲁俄罗斯的 | 日本精品久久久久中文字幕 | 性生交大片免费看狂欲 | 蜜桃视频黄色 | 看特级黄色片 | 在线观看免费视频黄 | 欧美三区视频 | 国产全是老熟女太爽了 | 超碰青娱乐 | 秘密基地动漫在线观看免费 | 亚洲av人人澡人人爽人人夜夜 | 在线免费看a | 无码人妻精品一区二区中文 | 国产精品5区 | 黄色片免费的 | 性网址| 中国国语农村大片 | 在线永久看片免费的视频 | 色哟哟在线播放 | 欧美一区不卡 | 伊人网综合网 | 91视频国产免费 | 国内成人精品 | 美女热逼 | 性av网站 | 国产在线观看一区二区三区 | 91成人短视频 | 娇妻被肉到高潮流白浆 | 欧美体内she精高潮 日韩一区免费 | 麻豆精品自拍 | 欧美成人免费视频 | 不卡中文字幕在线 | 夜夜高潮夜夜爽国产伦精品 | 婷婷精品视频 | 中国大陆一级片 | 国产调教在线观看 | 免费在线观看污网站 | 熟妇高潮一区二区 | 天堂福利在线 | www.久久久久久久久 | 嫩草视频网站 | 在线免费观看日韩av | 欧美三级久久 | 国产免费黄色片 | 丰满大乳少妇在线观看网站 | 精品成人av一区二区三区 | fc2成人免费视频 | 黑人精品无码一区二区三区 | 国产精品jizz视频 | 国产超碰人人模人人爽人人添 | 国产精品一区三区 | 一级黄色片看看 | 成人黄色视屏 | 亚洲欧洲成人精品久久一码二码 | 国产高清成人久久 | a v视频在线播放 | 亚洲精品黄色片 | a久久久久久 | 在线观看亚洲专区 | 久久久精品一区二区涩爱 | 日本色www| 老女人毛片 | 亚洲涩涩网站 | 亚洲高清免费观看 | 亚洲国产精品一 | 日韩在线观看不卡 | 法国伦理少妇愉情 | 久久成人a毛片免费观看网站 | 一区二区精品视频 | 日本伊人久久 | 日美av| 91原创视频在线观看 | 激情综合网五月婷婷 | 97人妻一区二区精品视频 | av在线电影网站 |