To address the target end point of the deployment process of MTA Deployment on Cloud Foundry, you can create a destination to SAP Cloud Deployment service with classic Basic authentication.
-
In SAP BTP Cockpit of your subaccount, choose Connectivity > Destinations.
-
In the Destinations editor, choose Create > From Scratch > Create.
-
Enter or select the following values:
MTA Deployment on Cloud Foundry with Classic Basic Authentication
Field
Description
More Information
Name
Name of the destination
SAP BTP, Cloud Foundry: Using the Destinations Editor in the Cockpit
Type
HTTP
Description
The description of the destination is optional.
Proxy Type
Internet
URL
Specify the URL to the SAP Cloud Deployment service as the deploy end point of the destination. To address the SAP Cloud Deployment service, you have the following options:
-
Using the names of your org and space
https://deploy-service.cf.<domain>/slprot/<myorg>/<myspace>/slp-
<domain>: Domain of your target subaccountThe domain is derived from the Cloud Foundry API endpoint that you can find in the SAP BTP Cockpit in the Overview of your subaccount.
-
<myorg>/<myspace>: Names of your org and spaceYou need to escape special characters in your org and space name (<myorg>/<myspace>) with a proper URL encoding. For example, replace space characters with
%20, and commas with%2C.
-
Sample URL for the Cloud Foundry API endpoint:
api.cf.eu10-004.hana.ondemand.com,<myorg>:TestOrg, and<myspace>:TestSpace:https://deploy-service.cf.eu10-004.hana.ondemand.com/slprot/TestOrg/TestSpace/slp -
Sample URL with URL encoding for
<myorg>:Example Company Test Organd<myspace>:Example Company Test Space:https://deploy-service.cf.eu10-004.hana.ondemand.com/slprot/Example%20Company%20Test%20Org/Example%20Company%20Test%20Space/slp
-
-
Using the GUID of your space
https://deploy-service.cf.<domain>/slprot/<my-space-guid>/slp-
<domain>: Domain of your subaccountThe domain is derived from the Cloud Foundry API endpoint that you can find in the SAP BTP Cockpit in the Overview of your subaccount.
-
<my-space-guid>: GUID of your spaceTo retrieve the GUID of your space, use the Cloud Foundry Command Line Interface (cf CLI). Log on to your org, and execute the following command:
cf space <my-space-name> --guid.
Sample URL for the Cloud Foundry API endpoint:
api.cf.eu10-004.hana.ondemand.comand<my-space-guid>:977a24d6-2eaf-432d-a3e1-5294451551a3:https://deploy-service.cf.eu10-004.hana.ondemand.com/slprot/977a24d6-2eaf-432d-a3e1-5294451551a3/slp -
More information about regions and API endpoints:
More information about cf CLI:
Authentication
Select BasicAuthentication.
User
Specify the user name (usually, an email address) of the user that is used for the deployment.
-
The user used for the destination must be a valid user on Cloud Foundry environment and it must have the role
SpaceDeveloperin the target space. -
The user must be a platform user so that the deployment works for all content types. For more information, see Platform Users.
-
The user used for the destination isn’t subject to any Data Protection and Privacy requirements.
-
We recommend that you use a technical user to avoid constraints typically associated with personal users, such as password rotation.
Basic Authentication only works with users provided by SAP ID. It does not work with custom IAS tenant users. If you want to use a custom identity provider for the platform user used for the deployment, you must use OAuth2Password authentication for the destination. For more information, see Creating Destinations Using SAP Cloud Deployment Service with OAuth2Password Authentication.
Password
Specify the password of the user.
-
-
Choose Create to create the destination.
-
Optional: After creating the destination, click anywhere in the row to display its details.
-
Optional: Choose Check Connection to check your destination.
The result should display HTTP request (without authentication) to <Name of the destination> destination succeeded.
This result means that the URL specified in the destination can be reached. However, such a successful check doesn’t guarantee successful deployment. We recommend that you test the deployment using a test transport after completing all configuration steps required for your transport scenario.
For more information about connection checks, see Check the Availability of a Destination.