Accelerator B2B Simulator Process API - Implementation Template

(0 reviews)

home

This asset is a component of MuleSoft Accelerator for Salesforce OMS, which enables customers to extend and integrate OMS with external business partners and application ecosystems leveraging Anypoint platforms application and B2B Integration capabilities. The solution provides customers with an accelerated jump start to implement EDI messaging and other application integrations around Salesforce OMS.

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 Accelerator B2B Simulator Process API specification. The Accelerator Simulator Process API is used to replicate a B2B Partner who sends Acknowledgements,process Notices and send Payments for Invoices in X12 Message format. This API also has endpoints to simulate actions performed by an ERP system that handles Fulfillment Orders and generate Shipment Notices.

  • Simulate Acknowledgments for X12 Messages received by a Partner.
  • Simulate Shipment Events for Order Allocation Notices related to Fulfillment Orders.
  • Simulate Payments in X12 820 Message format for the Invoices received in X12 810 Message format.

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 requirements:

  • Message flows in Partner Manager

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

API dependencies

The following table lists all endpoints used by this API.

API nameEndpointAction
B2B Partner Manager Inbound APIpost:/orders/X12-4010-820Send a simulated Payment X12 820 Message to Partner Manager

Anypoint MQ destinations

In addition to the Anypoint MQ client application credentials, the following destinations must be created and made accessible to this API:

  1. accel-oms-update-exchange

The Accelerator B2B Common Resources asset contains a Postman collection, which can be used to create the destinations and client application required for use by accelerator applications.

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.

For additional details, please refer to the Application Deployment section of the Getting Started Guide.

Preparation

Ensure the Maven profile CloudHub-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
anypoint-mq.client-idAnypoint MQ Client ID
anypoint-mq.client-secretAnypoint MQ Client Secret
b2b-simulate-partner-inbound-api.http-client.client-idClient ID of Partner Manager to access endpoints
b2b-simulate-partner-inbound-api.http-client.client-secretClient Secret of Partner Manager to access endpoints

Testing

Use Advanced Rest Client or Postman to send a request over HTTPS. The template includes a Postman collection in the src/test/resources folder. Update the collection variable(s) after successful import.

Additional resources

  • The Data mappings tab describes how the request and response data structures are mapped between the API interface and the backend Amazon S3 API.
  • Refer to the Accelerators documentation home for more information about the MuleSoft Accelerators.

Reviews

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

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.11