RCG Common Resources - Source

(0 reviews)

home

This asset is a component of the following MuleSoft Accelerators:

These solutions accelerate the implementation of essential integration use cases with pre-built APIs, templates, and reference architectures. 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.

Project contents

The rcg-common-resources project includes scripts used for environment setup.

To obtain the source for this project, download the asset and extract the contents into a temporary folder. The archive contains a single project folder, which can be moved/copied to the desired location and/or imported directly into Studio as an existing project.

Configuration files

The settings.xml file is a Maven configuration template that should be used as the basis for building and deploying assets related to the MuleSoft Accelerator for Retail and Consumer Goods. Copy or merge the content of this file to one on your local workstation (the default location is $HOME/.m2/settings.xml on Linux/MacOS, %USERPROFILE%\.m2\settings.xml on Windows) and customize the following sections as per your organization's target Anypoint instance:

  • The global-settings-rcg global profile properties
  • The CloudHub-RCG-DEV deployment profile properties
  • Credentials for the anypoint-exchange, anypoint-exchange-v2, anypoint-exchange-v3, accelerator-exchange, and mule-enterprise server entries

Once configured correctly, you will be able to build and deploy any implementation template to your own Anypoint instance using Maven.

Salesforce

The following scripts and classes can be found under the Salesforce folder which are used by the Salesforce System APIs and Event Listeners:

  • CreateApexTriggers.txt - includes apex triggers used to publish the events which are processed by Accelerator Salesforce Party Event Listener
  • CreateCustomFields.txt - includes scripts to create custom fields in Salesforce
  • CreateCustomObjects.txt - includes scripts to create custom objects in Salesforce
  • CreatePlatformEventsCustomFields.txt - includes scripts to create custom fields on a Platform event which is processed by Accelerator Salesforce Party Event Listener
  • CustomFieldUtility.apxc - This apex class includes functions which can be used to create custom fields in Salesforce
  • CustomObjectUtility.apxc - This apex class includes functions which can be used to create custom objects in Salesforce

Note:
The scripts for creating Custom Fields, Custom Objects and Apex Triggers are consolidated for the customer 360, product and sales order sync use cases.


Reviews

TypeCustom
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onApr 2, 2024
Asset overview

Asset versions for 2.0.x

Asset versions
VersionActions
2.0.0