-
Notifications
You must be signed in to change notification settings - Fork 1
/
mta.yaml
77 lines (77 loc) · 1.98 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
_schema-version: "3.1"
ID: Javasample
description: A simple CAP project.
version: 1.0.0-SNAPSHOT
modules:
- name: Javasample-srv
type: java
path: srv
properties:
JBP_CONFIG_COMPONENTS: 'jres: [''com.sap.xs.java.buildpack.jre.SAPMachineJRE'']'
JBP_CONFIG_SAP_MACHINE_JRE: '{ use_offline_repository: false, version: 21.+ }'
SPRING_PROFILES_ACTIVE: cloud,sandbox
provides:
- name: srv-api
properties:
srv-url: ${default-url}
parameters:
buildpack: sap_java_buildpack
readiness-health-check-http-endpoint: /
readiness-health-check-type: http
build-parameters:
build-result: target/*-exec.jar
builder: custom
commands:
- mvn clean package -DskipTests=true
- name: Javasample-app-content
type: com.sap.application.content
path: .
requires:
- name: Javasample-repo-host
parameters:
content-target: true
build-parameters:
build-result: resources
requires:
- artifacts:
- combooksbookpp.zip
name: combooksbookpp
target-path: resources/
- name: combooksbookpp
type: html5
path: app/bookpp
build-parameters:
build-result: dist
builder: custom
commands:
- npm install
- npm run build:cf
supported-platforms: []
resources:
- name: Javasample-repo-host
type: org.cloudfoundry.managed-service
parameters:
service: html5-apps-repo
service-name: Javasample-html5-srv
service-plan: app-host
- name: Javasample-destination-service
type: org.cloudfoundry.managed-service
parameters:
config:
HTML5Runtime_enabled: false
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-name: Javasample-destination-service
service-plan: lite
parameters:
deploy_mode: html5-repo
enable-parallel-deployments: true