-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmta.yaml
108 lines (108 loc) · 2.95 KB
/
mta.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
_schema-version: "3.2"
ID: trainerappv2
version: 0.0.1
modules:
- name: trainerappv2_proxy_nodejs123
type: nodejs
path: ./proxy
requires:
- name: uaa_trainerappv2
parameters:
service-key:
name: uaa_trainerappv2-key
parameters:
routes:
- route: trainerappv2proxy.${default-domain}
- name: trainerappv2-destination-content
type: com.sap.application.content
requires:
- name: trainerappv2-destination-service
parameters:
content-target: true
- name: trainerappv2_html_repo_host
parameters:
service-key:
name: trainerappv2_html_repo_host-key
- name: uaa_trainerappv2
parameters:
service-key:
name: uaa_trainerappv2-key
parameters:
content:
instance:
destinations:
- Name: trainerapp_trainerappv2_html_repo_host
ServiceInstanceName: trainerappv2-html5-app-host-service
ServiceKeyName: trainerappv2_html_repo_host-key
sap.cloud.service: trainerapp
- Authentication: OAuth2UserTokenExchange
Name: trainerapp_uaa_trainerappv2
ServiceInstanceName: trainerappv2-xsuaa-service
ServiceKeyName: uaa_trainerappv2-key
sap.cloud.service: trainerapp
existing_destinations_policy: ignore
build-parameters:
no-source: true
- name: trainerappv2-app-content
type: com.sap.application.content
path: .
requires:
- name: trainerappv2_html_repo_host
parameters:
content-target: true
build-parameters:
build-result: resources
requires:
- artifacts:
- ui5app.zip
name: ui5app
target-path: resources/
- name: ui5app
type: html5
path: ui5app
build-parameters:
build-result: dist
builder: custom
commands:
- npm install
- npm run build:cf
supported-platforms: []
resources:
- name: trainerappv2-destination-service
type: org.cloudfoundry.managed-service
parameters:
config:
HTML5Runtime_enabled: true
init_data:
instance:
destinations:
- Authentication: NoAuthentication
Name: ui5
ProxyType: Internet
Type: HTTP
URL: https://ui5.sap.com
- Name: trainerproxydest
Authentication: NoAuthentication
ProxyType: Internet
Type: HTTP
URL: https://trainerappv2proxy.cfapps.ap21.hana.ondemand.com/
existing_destinations_policy: update
version: 1.0.0
service: destination
service-name: trainerappv2-destination-service
service-plan: lite
- name: trainerappv2_html_repo_host
type: org.cloudfoundry.managed-service
parameters:
service: html5-apps-repo
service-name: trainerappv2-html5-app-host-service
service-plan: app-host
- name: uaa_trainerappv2
type: org.cloudfoundry.managed-service
parameters:
path: ./xs-security.json
service: xsuaa
service-name: trainerappv2-xsuaa-service
service-plan: application
parameters:
deploy_mode: html5-repo