A trust configuration must be established to the BTP IAS service in the subaccount that will be the target of the BACon installation.
Instructions on enabling the IAS service and defining the service user’s credential can be found here https://help.sap.com/docs/identity-authentication
cf login -a "https://......hana.ondemand.com"
CF CLI continues to use this value for subsequent logins until a different API Endpoint URL is provided.
Follow these steps if BACon is not yet installed in the target BTP account.
Note the Name value in this file must match the destination value in the vars.yml file below.
Tip the Name value in this file cannot contain spaces.
The User and Password values are the username and password of the “Service User” that will authenticate with the SAP Server to execute the Mirata SAP-based backend action on behalf of the Mirata user. This user’s credentials must be configured in the BTP Identity Authentication Service (IAS) associated with the target BTP Organization. This service is not enabled by default in BTP accounts.
The values provided for the remaining parameters in this file should not be modified.
The other values provided in the vars.yml do not need to be modified, but this is what they mean:
Note the destination value in this vars.yml file must match the value of the Name property in the forms-bacon-destination.config.json file.
The BTP app will be deployed and a random Application Route URL assigned to it. This URL will be needed when configuring Mirata’s connection to BACon, and it can be found in this page in BTP:
After the app is installed, running cf logs forms-bacon will connect to the logging output for the BTP app and provide details on what’s going on.
Follow these steps if you are updating an existing BACon installation with a new version of BACon, or you need to modify a BACon run-time configuration parameter (by editing the vars.yml file).
Once the BACon application has been configured and installed in your SAP BTP subaccount space, a "trust relationship" must be established between the BACon XSUAA service and the Mirata Identity Provider (IdP). To establish this trust relationship, configuration data from the BACon XSUAA instance must be obtained and provided to Mirata Support as follows:
- Navigate to the home page of the BTP subaccount space that hosts the BACon application
- Select the Instances (vertical) tab
- In the Service Instances table row for the forms-xsuaa instance, select the 1 binding; 1 key hyperlink in the Credentials column
- In the resulting Credentials window, ensure that the Form tab is selected
- Copy and temporarily record the values of the following fields...
- clientid
- clientsecret
- url
- Securely communicate this BACon XSUAA configuration data to Mirata Support.
Add a new Connection under Admin with the following details:
Add new Backend Actions with the following Details:
And then, in the Request tab:
The request body is the SAP Query that will be passed “as-is” to SAP
The newly created action can be tested by using “Run Test” in the “Test” tab