/
mta.yaml
81 lines (64 loc) · 1.92 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
78
79
80
_schema-version: '3.1'
ID: ariba2dsp
version: 1.0.0
description: "Bring SAP Ariba Data into SAP DSP using HANA Cloud underneath DSP."
#--------------------------------------------#
#--------service module----------------------#
parameters:
enable-parallel-deployments: true
build-parameters:
before-all:
- builder: custom
commands:
- cds build
modules:
- name: ariba2dsp-srv
type: nodejs
path: gen/srv
parameters:
buildpack: nodejs_buildpack
build-parameters:
builder: npm
provides:
- name: srv-api # required by consumers of CAP services (e.g. approuter)
properties:
srv-url: ${default-url}
authentication-method: none
requires:
- name: ariba2dsp-db
- name: cross-container-service-1
#--------------------------------------------#
#-----------db module------------------------#
- name: ariba2dsp-db-deployer
type: hdb
path: gen/db
parameters:
buildpack: nodejs_buildpack
requires:
- name: ariba2dsp-db
properties:
TARGET_CONTAINER: ~{hdi-service-name}
- name: cross-container-service-1
group: SERVICE_REPLACEMENTS
properties:
key: ServiceName_1
service: ~{the-service-name}
#--------------------------------------------#
#-----------resoures for the modules---------#
resources:
- name: ariba2dsp-db # this is the new HDI cross container that gets created in the BTP space, also available in DSP for consumption.
type: com.sap.xs.hdi-container
parameters:
config:
database_id: 9ee99a70-9d98-481d-ab94-00b0417b66c5
schema: ARIBA_DSP # this is the schema in the HC underneath DSP.
service: hana
service-plan: hdi-shared
properties:
hdi-service-name: ${service-name}
- name: cross-container-service-1
type: org.cloudfoundry.existing-service
parameters:
service-name: UPS_aribainteg
properties:
the-service-name: ${service-name}