-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmta.yaml
More file actions
66 lines (64 loc) · 1.77 KB
/
mta.yaml
File metadata and controls
66 lines (64 loc) · 1.77 KB
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
_schema-version: 3.3.0
ID: xflights
version: 1.0.0-SNAPSHOT
description: "xflights for Java"
parameters:
enable-parallel-deployments: true
modules:
- name: xflights-srv
type: java
path: srv
parameters:
instances: 1
buildpack: sap_java_buildpack_jakarta
routes:
- route: "${default-host}.cert.${default-domain}"
properties:
SPRING_PROFILES_ACTIVE: cloud
JBP_CONFIG_COMPONENTS: "jres: ['com.sap.xs.java.buildpack.jre.SAPMachineJRE']"
JBP_CONFIG_SAP_MACHINE_JRE: '{ version: 21.+ }'
build-parameters:
builder: custom
commands:
- mvn clean package -DskipTests=true --batch-mode
build-result: target/*-exec.jar
provides:
- name: srv-api # required by consumers of CAP services (e.g. approuter)
properties:
srv-url: ${default-url}
srv-cert-url: '${protocol}://${default-host}.cert.${default-domain}'
requires:
- name: xflights-ias
parameters:
config:
credential-type: X509_GENERATED
app-identifier: srv
- name: xflights-db
- name: xflights-db-deployer
type: hdb
path: db
parameters:
buildpack: nodejs_buildpack
build-parameters:
builder: custom
commands:
- npm run build
requires:
- name: xflights-db
resources:
- name: xflights-ias
type: org.cloudfoundry.managed-service
parameters:
service: identity
service-name: xflights-ias
service-plan: application
config:
display-name: xflights-java
provided-apis:
- name: data-consumer
description: Grants technical access to data service API
- name: xflights-db
type: com.sap.xs.hdi-container
parameters:
service: hana
service-plan: hdi-shared