Accelerator B2C Customers System API - Implementation Template
Deployment
Each Accelerator implementation template in Exchange includes Bash and Windows scripts for building and deploying the APIs to CloudHub. These scripts depend on repositories, global settings, deployment profiles, and associated properties configured in the Maven settings.xml
file.
Most applications can also be run in Anypoint Studio without having to create custom Run Configuration profiles.
Required property overrides
At a minimum, the following properties must be customized to reflect the target deployment environment.
Property Name | Description |
---|---|
api.autodiscoveryID | Required if using API Manager to secure this API |
b2c-commerce-sys-api.host | Headless cc API Instance Hostname |
b2c-commerce-sys-api.port | Headless cc API Instance Port |
b2c-commerce-sys-api.uri | Headless cc API URI |
b2c-commerce-sys-api.shortCode | Headless cc API Instance ShortCode |
b2c-commerce-sys-api.siteId | Headless cc API Instance SiteId of the referring site |
b2c-commerce-sys-api.version | Headless cc API Instance version |
b2c-commerce-sys-api.organizationId | Headless cc API Instance OrganizationId |
b2c-commerce-sys-api.scope | Headless cc API Instance scope value |
b2c-commerce-sys-api.clientId | ID of the client account created with Salesforce Commerce |
b2c-commerce-sys-api.clientSecret | Secret of the client account created with Salesforce Commerce |
b2c-commerce-sys-api.tokenUri | Access token URL |
Please refer to the README.md
file in the asset for detailed instructions on how to download and deploy the template.