Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 2.14 KB

File metadata and controls

62 lines (40 loc) · 2.14 KB

Build and Deploy the Extension Application

In this section, you will clone the codebase and deploy the extension application in SAP BTP.

1. Clone the GitHub Repository

Use the following command to clone the Repository

git clone -b advanced-event-mesh https://github.com/SAP-samples/btp-events-to-business-actions-framework.git

You can also download the code from the GitHub Repository.

Note: Make sure to CheckOut and pull the latest code from advanced-event-mesh branch from GitHub.

2. Check the Prerequisites for Deployment

Ensure you have added the required entitlements as described in section Step1-Setup-SAPBTP-Subaccount page before deployment.

3. Deploy the Extension Application

Build and deploy the application. Run the following commands:

Note: Ensure you have Cloud MBT Build Tool. Refer The Cloud MTA Build Tool (MBT) for more details.

  1. Open the Cloud Foundry command line interface (cf CLI).

  2. Navigate to action-management directory.

    cd action-management
    
  3. Fetch the dependencies.

    npm install
    
  4. Build action-management modules.

    npm run build
    
  5. Log in to your subaccount in SAP BTP to deploy the extension application. Check your region and copy the API endpoint accordingly. For example, "https://api.cf.region.hana.ondemand.com"

    cf login -a `<CF API endpoint>`
    
  6. Push the application to your subaccount.

    npm run deploy
    
  7. You can also check the status of your applications in the SAP BTP cockpit. Copy the value of the extension application URL.

    plot

  8. In the SAP BTP cockpit, navigate to your subaccount and choose Services > Instances and Subscriptions. Check if you have all of the instances created post deployment as shown below. Make sure the status of all of the instances are Created.

    plot