-
Notifications
You must be signed in to change notification settings - Fork 1
/
mtad.yaml
executable file
·59 lines (56 loc) · 1.59 KB
/
mtad.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
_schema-version: "3.1.0"
ID: fortune-teller
version: 0.0.1
modules:
- name: fortune-teller-service
type: application
path: 'fortune-teller-fortune-service/target/fortune-teller-fortune-service-0.0.1-SNAPSHOT.jar'
parameters:
buildpack: sap_java_buildpack
memroy: 512M
requires:
- name: fortune-teller-database
- name: fortune-teller-logs
provides:
- name: fortune-teller-service
properties:
uri: "${default-uri}"
- name: fortune-teller-ui
type: application
path: 'fortune-teller-ui/target/fortune-teller-ui-0.0.1-SNAPSHOT.jar'
parameters:
buildpack: sap_java_buildpack
memroy: 512M
requires:
- name: fortune-teller-logs
- name: fortune-teller-service
properties:
FORTUNE_SERVICE_FQDN: ~{uri}:443
provides:
- name: fortune-teller-ui
properties:
url: "${default-url}"
- name: fortune-teller-hystrix-dashboard
type: application
path: 'fortune-teller-hystrix-dashboard/target/fortune-teller-hystrix-dashboard-0.0.1-SNAPSHOT.jar'
parameters:
buildpack: sap_java_buildpack
memroy: 512M
requires:
- name: fortune-teller-logs
- name: fortune-teller-ui
properties:
UIURL: ~{url}
resources:
- name: fortune-teller-database
type: org.cloudfoundry.managed-service
parameters:
service: postgresql
service-plan: v9.6-dev
- name: fortune-teller-logs
type: org.cloudfoundry.managed-service
parameters:
service: application-logs
service-plan: lite
parameters:
"enable-parallel-deployments": true