Accelerator B2C Commerce 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 |
headless-cc-orders-update-data-api.host | Headless cc API Instance Hostname |
headless-cc-orders-update-data-api.port | Headless cc API Instance Port |
headless-cc-orders-update-data-api.shortCode | Headless cc API Instance ShortCode |
headless-cc-orders-update-data-api.siteId | Headless cc API Instance SiteId of the referring site |
headless-cc-orders-update-data-api.version | Headless cc API Instance version |
headless-cc-orders-update-data-api.organizationId | Headless cc API Instance OrganizationId |
headless-cc-orders-update-data-api.base-path | Headless cc API Instance Base path |
headless-cc-orders-update-data-api.scope | Headless cc API Instance scope value |
ocapi-data-api.host | Headless cc Ocapi API Instance Hostname |
ocapi-data-api.port | Headless cc Ocapi API Instance Port |
ocapi-data-api.base-path: | Headless cc Ocapi API Instance Base Path |
ocapi-data-api.base-path-batch: | Headless cc Ocapi API Instance Base Path Batch |
Please refer to the README.md
file in the asset for detailed instructions on how to download and deploy the template.