SAP Dispatcher Deployment with cf deploy

<< Click to Display Table of Contents >>

Navigation:  Low-code Process Automation > Studio Cloud - Authoring environment > Bizagi Studio > Integrating external applications from Bizagi > SAP integration > SAP BTP using OData > Configure SAP BTP for SAP on-premises systems >

SAP Dispatcher Deployment with cf deploy

Overview

The cf deploy command is a specific instruction of the MultiApps plugin for Cloud Foundry CLI that is used to deploy applications on the SAP Business Technology Platform (BTP). This command is especially useful when working with Multi-Target Applications (MTA), which are applications composed of multiple modules and resources.

When cf deploy is executed, the Cloud Foundry CLI interprets the application description file (mtad.yaml or mta.yaml), which defines the application modules, required services, dependencies between them, and other metadata. Then, the Cloud Foundry CLI deploys the modules and services in the correct order, taking into account the dependencies.

In the context of SAP BTP, cf deploy allows for efficient and orderly deployment of MTA applications, ensuring that all application components are deployed correctly and in the appropriate order.

 

note_pin

Bear in mind that the cf deploy command is supported for version 1.1.4.

 

note_pin

It is important to note that the flow under the cf push command is still supported and that it is only necessary to execute this alternate path if the user wants to deploy the dispatcher in different Global Accounts with the same dispatcher name (not the same as the dispatcher URL).

 

Prerequisites

Have the Cloud Foundry CLI V8 installed for more information refer to How to install the CLI.

Test with the cf plugins command that you have the multiapps plugin installed.

 

SAP_BTP_Dispatcher_3

 

In the case of the above image, the multiapps plugin is installed. If this is not the case, execute the command cf install-plugin multiapps.  Then, check that it was installed with the commando cf plugins.

Download the SAP Cloud Dispatcher application's last version. You can download it here.

To check all SAP Dispatches versions, refer to Bizagi SAP Cloud Platform Dispatcher.

 

Deployment

1. Log in to the Cloud Foundry CLI with the cf login command.

2. Open the mtad.yaml file. The dispatcher name should look as in the following image:

 

SAP_BTP_Dispatcher_1

 

If it does not appear with the name bizaginodedispatcher, change it.

3.  Follow the steps mentioned in Configure the buildpack in your SAP BTP. Execute the cf deploy command instead of the cf push command.

 

note_pin

It is crucial that you execute the cf deploy command instead of the cf push command in step three for the deployment to be sucessfull.

 

When the execution is complete, the deployed dispatcher URL will appear:

 

SAP_BTP_Dispatcher_4

 

The result in the SAP BTP Platform will appear as in the below image:

 

SAP_BTP_Dispatcher_2


Last Updated 2/13/2024 3:08:59 PM