Skip to content
master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.

README.md

HTML5UserAPI for Cloud Foundry

This project provides a simple MTA application which serves links to a Node.js backend that servers some Endpoints showing user information using Express. It can be deployed as an Multi Target Application to the SAP Cloud Platform - Cloud Foundry Environment.

Deploy to SAP Cloud Platform - Cloud Foundry

Prerequisite

Preperation

Before you can deploy the application to your Cloud Foundry account the destinations to the backend system must be created. Please find here what I've used in my environment:

If you want to test the connection to a ABAP Backend, then the destination SAP_ABAP_BACKEND used by the approuter:

URL=http\://npl752.virtual\:44300
Name=SAP_ABAP_BACKEND
ProxyType=OnPremise
Type=HTTP
sap-client=001
Authentication=PrincipalPropagation

must be created. If you want to test the connection to the SAP Business One Service Layer, then the destination SAP_B1_BACKEND must be created:

URL=http\://b1server.virtual\:44300
Name=SAP_B1_BACKEND
ProxyType=OnPremise
Type=HTTP
Authentication=BasicAuthentication

As described in the answer to B1 Service Layer Login Credentials as Destination Properties the credentials can be added as shown in this example:

username: {"UserName": "manager", "CompanyDB": "SBODEMOUS"}
password: 1234

Build

npm run build:cf

Deploy

npm run deploy:cf