-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Luís Marques edited this page Apr 8, 2024
·
11 revisions
The SAP Customer Data Cloud accelerator is local development environment for SAP Customer Data Cloud.
It enables the use of all modern tools, including modern JavaScript and real source control. It provides code separation, enabling unit tests and quality checks.
- Hard to collaborate in feature development and poor quality assurance
- No code quality or security validations
- Working locally affects the online version
- The code becomes not maintainable
- Code written in old JavaScript with bad formatting
- Not possible to track changes
- The code is not testable
- Enables collaboration and improves quality assurance with code reviews
- Implement code quality and security check tools with git (Sonar, Checkmarx and Mend)
- Development without affecting online version
- Code separation in different files
- Supports modern JavaScript ES6 syntax and standardized automatic code formatting
- Version control using git
- Easily implement unit tests or e2e tests
- Scripts to manage de project
- Init: If src/ directory is empty, pulls all data from SAP Customer Data Cloud
- Reset: Replaces src/ directory with all data from SAP Customer Data Cloud
- Start: Creates local live preview with reload on changes
- Test: Run test suite providing report
- Build: Bundles the JS, CSS, HTML and JSON to build/ directory
- Deploy: Pushes the local code to SAP Customer Data Cloud
- Local Development: Web SDK, Screen-Sets, E-mail Templates
- Configurations with version control: Policies, Schema, Consents
- Use the SAP Customer Data Cloud REST API to pull and push code and configurations
- Use Git for version control, code reviews and integration with quality insurance tools (Sonar, Checkmarx, Mend)
- Provide unit and e2e code testing tools (Jest, Cypress)
- Provide a file structure that enables code separation
- Build tools that enable the use of modern JavaScript ES6 and bundling of the different files (Babel, Mustache and Custom scripts)
- Provide tools for automatic code formatting (Prettier)
- Local development with live preview (light-server)
- A large amount of SAP Customer Data Cloud projects developed by SAP have poor code quality with bad formatting.
- It becomes hard to maintain features developed with JavaScript that have some degree of complexity
- It's not possible to have version control for SAP Customer Data Cloud many configurations
- For first release, involve customers that want to improve the code quality and organization

