forked from SAP-samples/cf-mta-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mtad.yaml
28 lines (25 loc) · 1.01 KB
/
mtad.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
ID: ui5MTA-with-ups
_schema-version: '3.1'
version: 0.0.1
modules:
- name: ui5module
type: com.sap.application.content
path: content/content.zip
requires:
- name: ui5-repo-service-instance-credentials
parameters:
content-target: true
resources:
- name: ui5-repo-service-instance-credentials # the name of the user provided service
type: org.cloudfoundry.user-provided-service
parameters:
config:
# the credentials could either be here or passed to the cli when creating the service
content_endpoint: "https://my.content.backend.com" # Endpoint, implementing generic content deploy API.
uaa:
clientid: "my-client-id"
clientsecret: "my-client-secret"
url: https://my-uaa.authentication.sap.hana.ondemand.com # uaa endpoint which is used to get oauth token for further calls to content endpoint
# if the service exists, include this so as to not overwrite the credentials
#skip-service-updates:
#parameters: true