SAP Commerce Cloud 的本地开发
英文版
SAP Commerce Cloud provides a standardized, automated end-to-end build and deployment solution for Commerce projects to release code from the repository to the cloud.
SAP Commerce Cloud 為電商項目提供了一個標(biāo)準(zhǔn)化,自動化的端到端構(gòu)建和部署解決方案,使得代碼倉庫的代碼能夠高效地發(fā)布到云端。
Many aspects of SAP Commerce Cloud overlap with the capabilities of continuous integration (CI) and continuous delivery (CD) solutions such as Jenkins.
SAP Commerce Cloud 的很多特性都和 持續(xù)集成 CI,持續(xù)交付 CD 等解決方案比如 Jenkins 所重合。
SAP Commerce Cloud is not a wholesale replacement for Jenkins, which supports many other capabilities and use cases beyond the scope of SAP Commerce Cloud.
Release Cadence - SAP Commerce Cloud 的發(fā)布節(jié)奏
As outlined in “Getting Started with SAP Commerce Cloud”, your SAP Commerce Cloud solution may consist of a few different code bases that are are all merged as part of the build and deploy process.
SAP Commerce Cloud 解決方案由下列基準(zhǔn)代碼組成,其都是構(gòu)建和部署流程的一部分。
SAP Commerce Cloud automation (release notes) - feature releases typically occur every 1-2 months, patches ongoing.
每一到兩個月升級一次。
Extension Packs,只有使用部署在的公有云上的 Commerce Cloud 客戶才能使用。每月發(fā)布一次。
Connect your Code Repository
SAP Commerce Cloud takes into account your code customizations which are stored in a Git-based code repository.
SAP Commerce Cloud 支持客戶把自己的定制化代碼存儲到 Github 倉庫里。
SAP Commerce Cloud typically uses a cloud setup of Apache Solr which includes three Zookeeper nodes and two Solr nodes.
SAP Commerce Cloud 使用基于云搭建的 Apache Solr,包含三個 Zookeeper 節(jié)點(diǎn)和兩個 Solr 節(jié)點(diǎn)。
You can configure your code repository to customize how Solr is configured (for example, solrconfig.xml) to ensure it works the way you need it to.
可以配置代碼倉庫,實(shí)現(xiàn)對 Solr 的定制化,比如修改 solrconfig.xml.
You should try to include only the languages you will support, as unnecessary languages can slow down the build and deploy cycle.
不必要的語言包會降低構(gòu)建和部署的速度。
In the root of your code repository, create a folder for storing language packs, such as "LANGUAGES”.
Add your language pack zip files to this folder.
Add the following property to your manifest.json with only the languages you have.
Extensions
為了使您的配置在本地和 SAP Commerce Cloud 環(huán)境之間保持同步,您應(yīng)該將 manifest.json 文件配置為指向您的 localextensions.xml 文件,如產(chǎn)品文檔的此頁面中所述。 如果您有一些在本地使用的擴(kuò)展,則應(yīng)使用“排除”選項以確保它們未部署在您的 SAP Commerce Cloud 環(huán)境中。
SAP Commerce Cloud 并非支持所有擴(kuò)展。 在您的 localextensions.xml 中包含擴(kuò)展之前,請查閱兼容性矩陣頁面以確定它是否受支持。
HTTP Session Failover
綁定到單個集群節(jié)點(diǎn)的客戶端使用的會話與集群節(jié)點(diǎn)保持一致。 因此,SAP Commerce Cloud 集群使用粘性會話。 此外,SAP Commerce Cloud 提供會話故障轉(zhuǎn)移機(jī)制。 有關(guān)更多詳細(xì)信息,請參閱 HTTP 會話故障轉(zhuǎn)移。
結(jié)論
如果您熟悉開發(fā) SAP Commerce 解決方案,那么遷移到 SAP Commerce Cloud 主要需要調(diào)整代碼在存儲庫中的結(jié)構(gòu)。 此外,它還需要調(diào)整如何最好地配置您的 manifest.json 文件以及如何利用日志記錄來發(fā)揮您的優(yōu)勢。 通過了解您可以使用 SAP Commerce Cloud 做什么和不可以做什么,您將能夠更好地交付成功的 SAP Commerce Cloud 解決方案。
總結(jié)
以上是生活随笔為你收集整理的SAP Commerce Cloud 的本地开发的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: PCB常用单位转换 mil 英尺
- 下一篇: IG影子S5寡妇打野天赋符文攻略 大神教