-
Notifications
You must be signed in to change notification settings - Fork 14
/
mta.yaml
93 lines (93 loc) · 2.6 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
_schema-version: "3.2"
ID: ScannerAppProject
version: 0.0.1
modules:
- name: ScannerAppProject-destination-content
type: com.sap.application.content
requires:
- name: uaa_ScannerAppProject
parameters:
service-key:
name: uaa_ScannerAppProject-key
- name: ScannerAppProject_html_repo_host
parameters:
service-key:
name: ScannerAppProject_html_repo_host-key
- name: ScannerAppProject-destination-service
parameters:
content-target: true
parameters:
content:
subaccount:
destinations:
- Name: be_wl_scannerapp_ScannerAppProject_html_repo_host
ServiceInstanceName: ScannerAppProject-html5-app-host-service
ServiceKeyName: ScannerAppProject_html_repo_host-key
sap.cloud.service: be.wl.scannerapp
- Authentication: OAuth2UserTokenExchange
Name: be_wl_scannerapp_uaa_ScannerAppProject
ServiceInstanceName: ScannerAppProject-xsuaa-service
ServiceKeyName: uaa_ScannerAppProject-key
sap.cloud.service: be.wl.scannerapp
existing_destinations_policy: update
build-parameters:
no-source: true
- name: ScannerAppProject_ui_deployer
type: com.sap.application.content
path: .
requires:
- name: ScannerAppProject_html_repo_host
parameters:
content-target: true
build-parameters:
build-result: resources
requires:
- artifacts:
- ScannerApp-content.zip
name: ScannerApp
target-path: resources/
- artifacts:
- ScannerAppLibrary-content.zip
name: ScannerAppLibrary
target-path: resources/
- name: ScannerApp
type: html5
path: ScannerApp
build-parameters:
builder: custom
commands:
- npm run build
supported-platforms: []
- name: ScannerAppLibrary
type: html5
path: ScannerAppLibrary
build-parameters:
builder: custom
commands:
- npm run build
supported-platforms: []
resources:
- name: ScannerAppProject-destination-service
type: org.cloudfoundry.managed-service
parameters:
service: destination
service-name: ScannerAppProject-destination-service
service-plan: lite
- name: ScannerAppProject_html_repo_host
type: org.cloudfoundry.managed-service
parameters:
service: html5-apps-repo
service-name: ScannerAppProject-html5-app-host-service
service-plan: app-host
- name: uaa_ScannerAppProject
type: org.cloudfoundry.managed-service
parameters:
path: ./xs-security.json
service: xsuaa
service-name: ScannerAppProject-xsuaa-service
service-plan: application
build-parameters:
before-all:
- builder: custom
commands:
- npm install