forked from scottfrederick/spring-music
-
Notifications
You must be signed in to change notification settings - Fork 4
/
mtad.yaml
38 lines (35 loc) · 1.16 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
_schema-version: 3.1
ID: cf.samples.spring.music
version: 1.0.0
modules:
- name: spring-music-web
type: java.tomcat
path: build/libs/spring-music.jar
requires:
- name: news-provider
properties:
NEWS_URL: ~{url} # a reference to a property value, defined within the descriptor
- name: spring-music-db
- name: spring-music-news-external
parameters:
buildpack: java_buildpack
properties:
POPULATE_ALBUM_REPOSITORY: true
- name: spring-music-news
type: javascript.nodejs
path: spring-music-news/
provides:
- name: news-provider
properties:
url: ${default-url}/news # a placeholder which must be resolved by the ALM service
resources:
- name: spring-music-db
type: org.cloudfoundry.managed-service
parameters:
service: # unspecified to provide configuration with an extension descriptor
service-plan: # unspecified to provide configuration with an extension descriptor
- name: spring-music-news-external
type: org.cloudfoundry.user-provided-service
parameters:
config:
url: # unspecified, as its value is not known on app design time