Pricefx Integration Adapter Camel 3 Update

Background

SAP is going to roll out camel 3 to Integration Suite soon. You will receive notification from SAP regarding the exact date of camel 3 rollout. You will need to update your Pricefx integration adapter to camel 3 compatible version.

While running full integration tests with Event Mesh is not possible in the temporary camel testing environment, unit tests and the integration tests with Pricefx are all executed before releasing this adapter. We strongly advised you test the adapter in your own camel 3 testing environment as well.

Relevant SAP notes can be found here.

If you are already in Camel 3 environment, you can skip the step of setting up camel 3 testing environment and navigate to this step: Pricefx Integration Adapter Camel 3 Update | Deploy Pricefx Integration Adapter Camel 3 version 5.0.0

To check your current camel version

if cloud integration runtime is > 8.x, it is camel 3.

Screenshot1.png


if cloud integration runtime is 6.x , it is camel 2.

Screenshot2.png


Setting up Camel 3 testing environment

You should test the adapter and the integration flows in the temporary Camel 3 testing environment provided by SAP. You can find instructions of requesting camel 3 testing environment here.

When the request is approved, the link to the test environment would appear in Integration Suite:

screenshot3.jpg

You have to set up the subaccount, user roles, and integration suite from scratch

screenshot4.jpg

If you would like to test the integration adapter by external tests using HTTP, you would need to set up SAP Process Integration Runtime instance and service keys as well.

screenshot5.jpg

Deploy Pricefx Integration Adapter Camel 3 version 5.0.0

  1. Download the Pricefx integration adapter 5.0.0 from github.

  2. In SAP Integration Suite, create a new package.

  3. Add “Integration Adapter”.

    addAdapter.jpg
  4. Upload the adapter. Save and deploy.

    screenshot6.jpg
  1. Go to Operations View and select Manage Integration Content. The status will be “Started” when it is successfully deployed and started.

    screenshot7.jpg

Testing the connection to Pricefx

  1. Discover, search Pricefx

  2. Copy “Pricefx Price Management with SAP S/4HANA” package

  3. Configure and deploy below integration flows and resources

    1. Refresh OAuth Token of Pricefx

    2. Convert JSON array to XML

    3. Convert XML to JSON Array

    4. Common Groovy Library for SAP S4HANA Integration with Pricefx

  4. Create an integration flow to trigger “Refresh OAuth Token of Pricefx”. Check if the access token is created successfully in Monitor → Variables

  5. Create integration flows to test the adapter functionalities that are relevant to you.