Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 2.06 KB

File metadata and controls

60 lines (38 loc) · 2.06 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

Clone the Event To Action Framework GitHub repository advanced-event-mesh branch. Use the following command to clone the Repo.

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

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