-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathinterface-app-config.yaml
More file actions
184 lines (182 loc) · 6.73 KB
/
Copy pathinterface-app-config.yaml
File metadata and controls
184 lines (182 loc) · 6.73 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
# Copyright (c) 2023, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
# Application configuration
use_connection_url_env:
type: boolean
title: Set connection URL environment variable
default: true
description: Assuming that your application can consume an environment variable to configure the URL, this field can be used to specify the name of the environment variable.
connection_url_env:
type: string
title: Connection URL environment variable name
description: Specify the name of the environment variable. Its value will be set automatically by the stack.
required: true
default: "SPRING_DATASOURCE_URL"
visible: use_connection_url_env
use_username_env:
type: boolean
title: Set username environment variable
description: Assuming that your application can consume an environment variable to configure the database username, this field can be used to specify the name of the environment variable.
default: false
visible:
eq:
- application_source
- "IMAGE"
username_env:
type: string
title: Database user environment variable name
description: Only the name of the environment variable is needed. The value will be automatically set. If a new database is created, the database ADMIN user will be used.
required: true
default: "SPRING_DATASOURCE_USERNAME"
visible: use_username_env
use_password_env:
type: boolean
title: Set password environment variable
description: Assuming that your application can consume an environment variable to configure the database user's password, this field can be used to specify the name of the environment variable.
default: false
visible:
eq:
- application_source
- "IMAGE"
password_env:
type: string
title: Database user's password environment variable name
description: Specify the name of the environment variable. Its value will be set automatically by the stack. If a new database is created, the database ADMIN user will be used.
required: true
default: "SPRING_DATASOURCE_PASSWORD"
visible: use_password_env
use_tns_admin_env:
type: boolean
title: Set TNS_ADMIN environment variable
description: Assuming that your application can consume an environment variable to configure TNS_ADMIN, this field can be used to specify the name of the environment variable.
default: true
visible:
eq:
- application_source
- "IMAGE"
tns_admin_env:
type: string
title: TNS_ADMIN environment variable name
description: Specify the name of the environment variable (Ex. TNS_ADMIN).
required: true
default: "TNS_ADMIN"
visible:
and:
- use_tns_admin_env
- eq:
- application_source
- "IMAGE"
# SSL properties
use_default_ssl_configuration:
type: boolean
title: Use default SSL properties for Spring
description: The stack creates a self-signed certificate that will be used for the communication between the load balancer and the backends. This self-signed certificate is stored in a JKS keystore. The following properties can be used to configure the web server to use this JKS keystore. By default Spring boot properties will be used by the stack. Click on this checkbox to specify your own property names.
default: true
visible:
and:
- eq:
- application_type
- "JAR"
- not:
- eq:
- application_source
- "IMAGE"
port_property:
type: string
title: Server port number property name
default: "server.port"
required: true
description: Assuming that your application can consume a property to configure the server port, this field can be used to specify the name of the property.
visible:
not:
- use_default_ssl_configuration
keystore_property:
type: string
title: SSL keystore filename property name
default: "server.ssl.key-store"
required: true
description: Assuming that your application can consume a property to configure the SSL keystore filename, this field can be used to specify the name of the property.
visible:
not:
- use_default_ssl_configuration
key_alias_property:
type: string
title: SSL key alias property name
default: "server.ssl.key-alias"
required: true
description: Assuming that your application can consume a property to configure the SSL key alias property name, this field can be used to specify the name of the property.
visible:
not:
- use_default_ssl_configuration
keystore_password_property:
type: string
title: SSL keystore password property name
default: "server.ssl.key-store-password"
required: true
description: Assuming that your application can consume a property to configure the SSL keystore password property name, this field can be used to specify the name of the property.
visible:
not:
- use_default_ssl_configuration
keystore_type_property:
type: string
title: SSL keystore type property name
default: "server.ssl.key-store-type"
required: true
description: Assuming that your application can consume a property to configure the SSL keystore type property name, this field can be used to specify the name of the property.
visible:
not:
- use_default_ssl_configuration
cert_pem:
type: text
multiline: true
title: SSL certificate
required: true
visible:
eq:
- application_source
- "IMAGE"
private_key_pem:
type: text
multiline: true
title: Private key
required: true
visible:
eq:
- application_source
- "IMAGE"
ca_pem:
type: text
multiline: true
title: CA certificate
required: true
visible:
eq:
- application_source
- "IMAGE"
# Other configuration
other_environment_variables:
type: string
title: Other environment variables
description: If your application can be configured through environment variables you can configure them here. Separate variables with semicolon (var1=value1;var2=value2).
vm_options:
type: string
title: JVM options
description: 'For example : -Xms=2G -Dspring.sql.init.data-locations=/temp/script.sql'
visible:
not:
- eq:
- application_source
- "IMAGE"
program_arguments:
type: string
title: Program arguments
description: These space-separated program arguments are passed to the java process at startup.
visible:
and :
- eq:
- application_type
- "JAR"
- not:
- eq:
- application_source
- "IMAGE"