This repository has been archived by the owner on Dec 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
/
mta.yaml
68 lines (63 loc) · 1.69 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
_schema-version: "2.0.0"
ID: cloud.samples.catalog
version: 1.0.0
modules:
- name: product-catalog-db
type: hdb
path: db
parameters:
memory: 256M
disk-quota: 256M
buildpack: https://github.com/cloudfoundry/nodejs-buildpack.git#v1.6.24 # temporary fix
requires:
- name: product-catalog-hdi-container
- name: product-catalog-logging
- name: product-catalog-java
type: java
path: srv
parameters:
memory: 512M
disk-quota: 256M
build-parameters:
requires:
- name: product-catalog-db
target-path: "" # <-- build fails if the whole property is missing
provides:
- name: java
properties:
url: "${default-url}"
requires:
- name: product-catalog-hdi-container
properties:
JBP_CONFIG_RESOURCE_CONFIGURATION: '[tomcat/webapps/ROOT/META-INF/context.xml:
{"service_name_for_DefaultDB" : "~{hdi-container-name}"}]'
- name: product-catalog-logging
- name: product-catalog
type: html5
path: app
parameters:
memory: 256M
disk-quota: 256M
build-parameters:
builder: grunt
requires:
- name: product-catalog-java
target-path: "" # <-- build fails if the whole property is missing
requires:
- name: java
group: destinations
properties:
name: pc-backend
url: ~{url}
forwardAuthToken: true
- name: product-catalog-logging
resources:
- name: product-catalog-hdi-container
properties:
hdi-container-name: ${service-name}
type: com.sap.xs.hdi-container
- name: product-catalog-logging
type: org.cloudfoundry.managed-service
parameters:
service: application-logs
service-plan: lite