当前位置:网站首页>Analysis of folder Writeability during SAP commerce cloud construction
Analysis of folder Writeability during SAP commerce cloud construction
2022-06-09 16:13:00 【WangZiXi】
At build time ,SAP Commerce Cloud The standard file directory is writable , Because the build process itself needs to modify these file directories . But I don't recommend customers Customization I'm also interested in these SAP Artifacts Making a change , Because it violates the opening and closing principle , May cause potential problems .SAP Recommend customers to use Commerce Cloud Self contained Extension Mechanism to customize .
Do not write anything in any directory that is not managed by the build process , Even though these directories are technically writable , Don't do it . This is because of optimization or security improvements , These directories are not managed by the build process , In the future, it may become non writable again , The build process fails .
In the build process , The default is Github Warehouse and Docker Registry Are accessible . However, there is no guarantee that the construction process has unrestricted Internet access . Do not use any external services during the build process , Because for the purpose of optimization or safety improvement , Network policy may change at any time . The only resource that the build process can control is the project Git The repository .
Commerce Cloud The build process is not for third parties Artifacts Provide any trusted Repository . By default , It uses publicly available repositories .
The following is a breakdown of repository usage :
- If in extensioninfo.xml Enable , Core customization Maven Central distributed
- JavaScript Storefront Use yarn Default registry for tool configuration
[ picture ]
about yarn and npm - Resolve dependencies in the development process and yarn.lock.json or package-lock.json Submit the file to the code repository . The purpose of this is , For the same input , Even if you repeatedly build , You can get the same output .
Property files are standards that contain key value pairs for configuration management Java file . Here is an example :

Three different ways can be used for SAP Commerce Cloud and Data Hub Set properties :
stay Cloud Portal Set them to Service Properties
Use a service specific list, i.e Service specific Properties
Prepare the properties file , Put them in the repository , And use useConfig Listing components to reference them .
边栏推荐
- 什么是微服务架构?
- May training (day 24) - segment tree
- [SEETF]Super Secure Requests Forwarder
- Senior openstacker - Bloomberg, vexxhost upgraded to gold member of openinfra Foundation
- How to use PS slicing tool to cut pictures
- 重构要点学习
- twenty-four solar terms
- May training (day 22) - orderly gathering
- 字节一面:网站显示不出来,怎么排查?
- 五月集训(第26天) —— 并查集
猜你喜欢

Differences between containers and mirrors

Dapr source code analysis | project overview

618. How to prepare for the great promotion

10个必备的AutoCAD插件

《CSDN 涨粉攻略》11个涨粉方法,你学会了几个?

数据安全刻不容缓,国产智能化厂商首获SOC 2鉴证报告有何意义?

Build an integrated intelligent dialogue analysis platform from intelligent quality inspection to dialogue analysis, and the customer service center of Bank of Hangzhou creates a new business card of
![[CSDN 2021 annual summary] 110000 yuan in half a year, grinding a pestle into a needle](/img/b1/e7cfe3a33a2a4d4733d84de2ca050d.png)
[CSDN 2021 annual summary] 110000 yuan in half a year, grinding a pestle into a needle

技术自媒体变现心得分享 —— 开始尝试认真做 CSDN 的一年后的复盘

nth-child选择器
随机推荐
June training (day 04) - greed
Rapid development template based on ABP vNext
"CSDN powder raising strategy" 11 powder raising methods, how many have you learned?
Moonbeam基金会与Arrington Capital共同启动1亿美金的生态增长基金以促进Moonbeam生态成长
还在从零开始搭建项目?这款升级版快速开发脚手架值得一试~
30-year-old mind map
六月集训(第07天) —— 哈希表
重构要点学习
An alternative to enumeration -- Enumeration classes
Zhouweilin, founder of aloudata: open the door of data platform reform with noetl
Moonriver Network与Calamari Network完成XCM集成
字节一面:网站显示不出来,怎么排查?
如何高效学习 思维导图
[SEETF]Super Secure Requests Forwarder
May training (day 30) - topology sorting
Identityserver4 getting started 1 / 2
Qscrollarea use tutorial to realize the setting interface that can slide up and down
May training (day 31) - status compression
PS how to import fonts
什么是微服务架构?