-
Notifications
You must be signed in to change notification settings - Fork 41
/
manifest.yml
71 lines (66 loc) · 2.47 KB
/
manifest.yml
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
---
applications:
- name: <unique-id>-espm-product-svc
memory: 1G
buildpack: sap_java_buildpack
path: product-service/target/product-service-1.3.2.jar
env:
CORS_DOMAIN: "<your_domain>" # e.g: cfapps.eu10.hana.ondemand.com
JBP_CONFIG_COMPONENTS: "jres: ['com.sap.xs.java.buildpack.jdk.SAPMachineJDK']"
JBP_CONFIG_SAP_MACHINE_JDK: "{ version: 17.+ }"
services:
- espm-hana-db
- espm-xsuaa
- name: <unique-id>-espm-customer-svc
memory: 1G
buildpack: sap_java_buildpack
path: customer-service/target/customer-service-1.3.2.jar
env:
CORS_DOMAIN: "<your_domain>"
JBP_CONFIG_COMPONENTS: "jres: ['com.sap.xs.java.buildpack.jdk.SAPMachineJDK']"
JBP_CONFIG_SAP_MACHINE_JDK: "{ version: 17.+ }"
services:
- espm-hana-db
- name: <unique-id>-espm-sales-svc
memory: 1G
buildpack: sap_java_buildpack
path: sale-service/target/sale-service-1.3.2.jar
env:
CORS_DOMAIN: "<your_domain>"
QUEUE_NAME: "<yourorgname>/<any_messageclientname>/<uniqueID>/salesorderqueue"
PROD_SERVICE: https://<unique_id>-espm-product-svc.<your_domain>
JBP_CONFIG_COMPONENTS: "jres: ['com.sap.xs.java.buildpack.jdk.SAPMachineJDK']"
JBP_CONFIG_SAP_MACHINE_JDK: "{ version: 17.+ }"
services:
- espm-hana-db
- espm-em
- espm-destination
- espm-xsuaa
- name: <unique-id>-espm-worker
health-check-type: process
memory: 1G
buildpack: sap_java_buildpack
path: worker/target/worker-1.3.2.jar
env:
CORS_DOMAIN: "<your_domain>"
QUEUE_NAME: "<yourorgname>/<any_messageclientname>/<uniqueID>/salesorderqueue"
spring.main.allow-circular-references: true
JBP_CONFIG_COMPONENTS: "jres: ['com.sap.xs.java.buildpack.jdk.SAPMachineJDK']"
JBP_CONFIG_SAP_MACHINE_JDK: "{ version: 17.+ }"
services:
- espm-hana-db
- espm-em
- name: <unique-id>-espm-gateway
memory: 1024M
buildpack: https://github.com/cloudfoundry/nodejs-buildpack.git
path: gateway
env:
destinations: >
[
{"name":"product-service", "url":"https://<unique-id>-espm-product-svc.<your_domain>/"},
{"name":"customer-service", "url":"https://<unique-id>-espm-customer-svc.<your_domain>/"},
{"name":"stock-service", "url":"https://<unique-id>-espm-product-svc.<your_domain>/", "forwardAuthToken": true},
{"name":"sales-service", "url":"https://<unique-id>-espm-sales-svc.<your_domain>", "forwardAuthToken": true}
]
services:
- espm-xsuaa