MFG Products Process API - Implementation Template
home
This asset is a component of the MuleSoft Accelerator for Manufacturing, which accelerates the implementation of essential integration use cases.
The solution unlocks rich data between SAP, Salesforce Manufacturing Cloud, Salesforce Rebate Management, OSIsoft PI System, Amazon Redshift, Tableau, and Salesforce Service Cloud with pre-built APIs, templates, reference architecture, and additional technical assets for manufacturing companies. Our foundational assets are expertly designed to jumpstart your top integration and business initiatives so that IT teams can spend more time innovating and less time building from scratch.
Overview
This integration template implements the MFG Products Process API specification.
The Products Process API orchestrates the product creation and update from SAP S/4HANA to Salesforce Manufacturing Cloud. A unique GUID is generated to identify a Product across all systems. This API uses the Cloud Information Model to interact with each of the System APIs that have been developed for Manufacturing Cloud Product Sync use case.
Getting started
The Getting Started with MuleSoft Accelerators guide provides general information on getting started with the accelerator components. This includes instructions on setting up your local workstation for configuring and deploying the applications. |
Once your workstation has been set up and the application template imported into Anypoint Studio, proceed with the Prerequisites section.
Prerequisites
This implementation template has the following dependencies:
- Anypoint MQ Destinations
- MFG Salesforce Products System API
- MFG SAP S/4 HANA Products System API
Please review the use cases described on the MuleSoft Accelerator for Manufacturing solution pages for more information about dependencies on other APIs and services.
Anypoint MQ destinations
In addition to the Anypoint MQ client application credentials, the following destinations must be created and made accessible to this API:
- mfg-product-update-queue
- mfg-product-update-dl-queue
API dependencies
The following table lists all endpoints used by this API (assuming all synchronisation targets are enabled).
API name | Endpoint | Action |
---|---|---|
MFG Salesforce Products System API | get:/products | Search for an existing product |
MFG Salesforce Products System API | post:/products | Create a new product |
MFG Salesforce Products System API | patch:/products/{productId} | Update an existing product |
MFG SAP S/4 HANA Products System API | get:/products | Search for an existing product |
MFG SAP S/4 HANA Products System API | post:/products | Create a new product |
MFG SAP S/4 HANA Products System API | patch:/products/{productId} | Update an existing product |
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. In particular, make sure the common properties for your environment have been provided in the CloudHub-DEV
profile (e.g., Anypoint Platform client ID and secret).
For additional details, please refer to the Application Deployment section of the Getting Started Guide.
Required property overrides
Many templates can also be run from Anypoint Studio without having to customize the Run/Debug profiles. However, some templates make use of hidden deployment properties to protect sensitive information (e.g., passwords and secret keys). These properties must be supplied to the runtime by updating the configuration profile and adding them as VM arguments. At a minimum, the following properties must be customized to reflect the target deployment environment.
Property Name | Description |
---|---|
api.autodiscovery-id | Required if using API Manager to secure this API |
products-prc-api.http-client.client-id | Client Id provided for Products Process API to interact with all System API's |
products-prc-api.http-client.client-secret | Client Secret provided for Customer Process API to interact with all System API's |
salesforce-mfg-products-sys.host | Salesforce System API Instance Host name |
salesforce-mfg-products-sys.port | Salesforce System API Instance Port |
sap-hana-sys.host | SAP S/4HANA System API Instance Host name |
sap-hana-sys.port | SAP S/4HANA System API Instance Port |
anypoint-mq.client-id | Anypoint MQ Client Id to access messages from MQ |
anypoint-mq.client-secret | Anypoint MQ Client Secret to access messages from MQ |
Additional resources
- The Data mappings tab describes the mappings if any specific to interact with other system APIs.
- Refer to the Accelerators documentation home for more information about the MuleSoft Accelerators.