RCG Price Data Synchronization Process API - Implementation Template

(0 reviews)

home

This API implementation template is a component of the MuleSoft Accelerator for Consumer Goods, which accelerate the implementation of essential integration use cases.

The solution includes pre-built APIs, connectors, and integration templates that help unlock business-critical data from external systems and guide you in adopting best practices synthesized from thousands of customer implementations. Use these assets as is or extend them to meet your company’s unique needs.


Overview

This integration template implements the RCG Prices Synchronization Process API specification. It can be used to integrate the pricing data from SAP S/4 HANA to Hyperforce.

Getting started

bulb.png 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:

Please review the use cases described on the MuleSoft Accelerator for Retail and MuleSoft Accelerator for Consumer Goods solution pages for more information about dependencies on other APIs and services.

API dependencies

The following table lists all endpoints used by this API (assuming all syncronization targets are enabled).

API nameEndpointAction
RCG Hyperforce System APIget:/transactions/{transactionId}/statusSearch an Transaction status
RCG Hyperforce System APIpost:/transactionsCreate a Transaction
RCG Hyperforce System APIpost:/conditions/measuresCreate a Condition Measure
RCG Hyperforce System APIpost:/pricesCreate a accountproduct prices in Hyperforce
RCG Salesforce CG Cloud System APIget:/customers/idsSearch customer externalId in CG cloud
RCG Salesforce CG Cloud System APIget:/products/idsSearch product externalId in CG cloud

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.

Preparation

Ensure the Maven profile CloudHub-RCG-DEV has been properly configured in your settings.xml file. In particular, make sure the common properties for your environment have been provided (e.g., Anypoint Platform client ID and secret).

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 NameDescription
api.autodiscoveryIDRequired if using API Manager to secure this API
salesforce-cg-sys.hostsalesforce-cg-sys HostName.
salesforce-cg-sys.portsalesforce-cg-sys Port.
salesforce-cg-sys.base-pathsalesforce-cg-sys Base path.
hyperforce-sys.hosthyperforce-sys HostName.
hyperforce-sys.porthyperforce-sys Port.
hyperforce-sys.base-pathhyperforce-sys Base path.
rcg-price-sync-prc-api.http-client.client-idClient Id provided for Prices Synchronization Process API to interact with all System API's.
rcg-price-sync-prc-api.http-client.client-secretClient Secret provided for Prices Synchronization Process API to interact with all System API's.
s3.accessKeyAmazon S3 access Key.
s3.secretKeyAmazon S3 secret Key.

Additional resources


Reviews

TypeTemplate
OrganizationMulesoft Inc.
Published by
MuleSoft Solutions
Published onFeb 15, 2024
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.0