-
Notifications
You must be signed in to change notification settings - Fork 0
/
mta.yaml
157 lines (153 loc) · 4.78 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
_schema-version: "3.1"
ID: BusinessPartnerValidation
description: A simple CAP project.
version: 1.0.0
modules:
- name: BusinessPartnerValidation-srv
type: nodejs
path: gen/srv
properties:
EXIT: 1
requires:
- name: BusinessPartnerValidation-db
- name: BusinessPartnerValidation-xsuaa
- name: BusinessPartnerValidation-dest
- name: BusinessPartnerValidation-ems
- name: BusinessPartnerValidation-cs
- name: BusinessPartnerValidation-logs
provides:
- name: srv_api
properties:
srv-url: ${default-url}
parameters:
memory: 256MB
- name: db
type: hdb
path: gen/db
requires:
- name: BusinessPartnerValidation-db
parameters:
app-name: BusinessPartnerValidation-db
memory: 128MB
- name: BusinessPartnerValidation-launchpad
type: com.sap.application.content
requires:
- name: BusinessPartnerValidation-xsuaa
parameters:
service-key:
name: BusinessPartnerValidation-xsuaa-key
- name: BusinessPartnerValidation-html5-repo-host
parameters:
service-key:
name: BusinessPartnerValidation-html5-repo-host-key
- name: srv_api
- name: BusinessPartnerValidation-dest
parameters:
content-target: true
parameters:
content:
instance:
destinations:
- Authentication: OAuth2UserTokenExchange
Name: BusinessPartnerValidation-srv
TokenServiceInstanceName: BusinessPartnerValidation-xsuaa
TokenServiceKeyName: BusinessPartnerValidation-xsuaa-key
URL: ~{srv_api/srv-url}
sap.cloud.service: com.sap.bp.BusinessPartners.one
- Name: BusinessPartnerValidation-html5-repo-host
ServiceInstanceName: BusinessPartnerValidation-html5-repo-host
ServiceKeyName: BusinessPartnerValidation-html5-repo-host-key
sap.cloud.service: com.sap.bp.BusinessPartners.one
- Authentication: OAuth2UserTokenExchange
Name: BusinessPartnerValidation-xsuaa
ServiceInstanceName: BusinessPartnerValidation-xsuaa
ServiceKeyName: BusinessPartnerValidation-xsuaa-key
sap.cloud.service: com.sap.bp.BusinessPartners.one
existing_destinations_policy: update
build-parameters:
no-source: true
- name: BusinessPartnerValidation-app-content
type: com.sap.application.content
path: .
requires:
- name: BusinessPartnerValidation-html5-repo-host
parameters:
content-target: true
build-parameters:
build-result: resources
requires:
- artifacts:
- comsapbpBusinessPartners.zip
name: comsapbpBusinessPartners
target-path: resources/
- name: comsapbpBusinessPartners
type: html5
path: app/BusinessPartners
build-parameters:
build-result: dist
builder: custom
commands:
- npm install
- npm run build
supported-platforms: []
resources:
- name: BusinessPartnerValidation-db
type: com.sap.xs.hdi-container
parameters:
service: hana
service-plan: hdi-shared
properties:
hdi-service-name: ${service-name}
- name: BusinessPartnerValidation-xsuaa
type: org.cloudfoundry.managed-service
parameters:
path: ./xs-security.json
service: xsuaa
service-plan: application
- name: BusinessPartnerValidation-dest
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
existing_destinations_policy: update
version: 1.0.0
service: destination
service-plan: lite
- name: BusinessPartnerValidation-ems
type: org.cloudfoundry.managed-service
parameters:
path: ./em.json
service: enterprise-messaging
service-plan: default
- name: BusinessPartnerValidation-cs
type: org.cloudfoundry.managed-service
parameters:
service: connectivity
service-plan: lite
- name: BusinessPartnerValidation-logs
type: org.cloudfoundry.managed-service
parameters:
service: application-logs
service-plan: lite
- name: BusinessPartnerValidation-html5-repo-host
type: org.cloudfoundry.managed-service
parameters:
service: html5-apps-repo
service-plan: app-host
parameters:
deploy_mode: html5-repo
enable-parallel-deployments: true
build-parameters:
before-all:
- builder: custom
commands:
- npm install
- npx -p @sap/cds-dk cds build --production