Accelerator Common Resources - Source

(0 reviews)

home

This asset is a component of MuleSoft Accelerators, which are a collection of technical assets (predominantly API specifications and implementation templates) and documentation to accelerate the implementation of multiple use cases supporting a larger business or industry problem.

For more details regarding how to use the Common Build resources, refer to the Getting Started with MuleSoft Accelerators guide.

Project contents

The accelerator-common-resources project provides Maven build profiles for both the Salesforce Clouds and Retail accelerators. It also includes scripts, product-specific config files, and Postman collections used for environment setup and testing. To obtain the source for this project, download the asset and extract the contents into the desired folder.

Build files

Maven module build files are provided to simplify building and deploying all assets required by each use case. All projects in each build file must already exist under the root workspace folder.

Configuration files

The settings-accelerators.xml file is a Maven configuration template that should be used as the basis for building and deploying assets related to MuleSoft Accelerators. 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-org global profile properties
  • The CloudHub-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.

Postman collections

The following Postman collections can be found under the collections folder:

  • Accelerator-Deployment-Verification - provides a set of test cases to invoke the new /ping endpoint on all accelerator APIs
  • Anypoint-MQ-Configuration - can be used to automatically create the Anypoint MQ destinations and client application required by many accelerator components
  • MultiChain-Configuration - helper collection to create wallet addresses and assets in a MultiChain instance

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 and Accelerator Salesforce Financial Account 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 and Accelerator Salesforce Financial Account 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 all the usecases in Accelerators. You may not need to run all of them. Refer the Documentation of the System API or the Event Listener that you are setting up to understand what is applicable for your specific usecase.


Reviews

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

Asset versions for 3.0.x

Asset versions
VersionActions
3.0.0