-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathimage.yaml
366 lines (365 loc) · 21.9 KB
/
image.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
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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
schema_version: 1
name: "rhpam-7/rhpam-kieserver-rhel8"
description: "Red Hat Process Automation Manager Kie Server 7.14 container image"
version: "7.14.0"
from: "registry.redhat.io/ubi8/ubi-minimal:latest"
labels:
- name: "com.redhat.component"
value: "rhpam-7-kieserver-rhel8-container"
- name: "io.k8s.description"
value: "Platform for running Red Hat Process Automation Manager KIE server"
- name: "io.k8s.display-name"
value: "Red Hat Process Automation Manager KIE server 7.14"
- name: "io.openshift.expose-services"
value: "8080:http,8443:https"
- name: "io.openshift.tags"
value: "builder,javaee,eap,eap7,rhpam,rhpam7"
- name: "io.openshift.s2i.scripts-url"
value: "image:///usr/local/s2i"
envs:
- name: "CONFIG_ADJUSTMENT_MODE"
value: "xml"
description: "The new modules from wildfly-cekit-modules supports configuration using CLI and XML, for now we still using XML"
- name: "HTTPS_ENABLE_HTTP2"
value: "true"
- name: "SCRIPT_DEBUG"
description: "If set to true, ensures that the bash scripts are executed with the -x option, printing the commands and their arguments as they are executed."
example: "true"
- name: "STI_BUILDER"
value: "jee"
- name: "KIE_SERVER_ID"
example: "business-server"
description: "Business server identifier. Determines the template ID in Business Central or controller. If this parameter is left blank, it is set using the $HOSTNAME environment variable or a random value. (Sets the org.kie.server.id system property)."
- name: "KIE_SERVER_MODE"
example: "DEVELOPMENT"
description: "The KIE Server mode. Valid values are 'DEVELOPMENT' or 'PRODUCTION'. (Sets the org.kie.server.mode system property)."
- name: "KIE_SERVER_ROUTE_NAME"
example: "myapp-kieserver"
description: "Route name that will be used to query its public address in the Kubernetes API to set the org.kie.server.location system property."
- name: "KIE_SERVER_USE_SECURE_ROUTE_NAME"
example: "true"
description: "If true, the secure-KIE_SERVER_ROUTE_NAME will be used to query its public address in the Kubernetes API to set the org.kie.server.location system property."
- name: "KIE_SERVER_LOCATION"
example: "http://myhost:80"
description: "KIE server location used to set the org.kie.server.location system property. Overrides all other location parameters if defined (including querying by the KIE_SERVER_ROUTE_NAME)."
- name: "KIE_SERVER_URL"
example: "http://myhost:80"
description: "Legacy parameter for backwards compatibility. Use KIE_SERVER_LOCATION instead, or other location parameters to build the location."
- name: "KIE_SERVER_PROTOCOL"
example: "http"
description: "KIE server protocol used to build the org.kie.server.location system property. Acts as a default if KIE_SERVER_ROUTE_NAME is defined."
- name: "KIE_SERVER_HOST"
example: "myhost"
description: "KIE server host used to build the org.kie.server.location system property. Acts as a default if KIE_SERVER_ROUTE_NAME is defined."
- name: "KIE_SERVER_PORT"
example: "80"
description: "KIE server port used to build the org.kie.server.location system property. Acts as a default if KIE_SERVER_ROUTE_NAME is defined."
- name: "KIE_ADMIN_USER"
example: "adminUser"
description: "Username for basic authentication used to access the execution server and to connect to the controller (Sets the org.kie.server.user and org.kie.server.controller.user system properties)"
- name: "KIE_ADMIN_PWD"
example: "admin1!"
description: "Password for basic authentication used to access the execution server and to connect to the controller (Sets the org.kie.server.pwd and org.kie.server.controller.pwd system properties)"
- name: "KIE_ELYTRON_FS_PATH"
example: "/opt/my-elytrom-fs-path"
description: "Elytron's Filesystem realm for application authentication and authorization. Defaults to /opt/kie/data/kie-fs-realm-users"
- name: "KIE_SERVER_TOKEN"
example: "dasd373egds"
description: "KIE server token for bearer authentication (Sets the org.kie.server.token system property)"
- name: "KIE_SERVER_DOMAIN"
example: "other"
description: "KIE server security domain (Sets the org.kie.server.domain system property)"
- name: "KIE_SERVER_BYPASS_AUTH_USER"
example: "false"
description: "KIE server bypass auth user (Sets the org.kie.server.bypass.auth.user system property)"
- name: "KIE_SERVER_CONTAINER_DEPLOYMENT"
example: "containerId=groupId:artifactId:version|c2=g2:a2:v2'"
description: "KIE Server Container deployment configuration with optional alias. Format: containerId=groupId:artifactId:version|c2(alias2)=g2:a2:v2"
- name: "KIE_SERVER_CONTAINER_DEPLOYMENT_OVERRIDE"
example: "containerId=groupId:artifactId:version|c2=g2:a2:v2'"
description: "Used to override application template KIE_SERVER_CONTAINER_DEPLOYMENT from .sti/environment. (optional)"
- name: "KIE_SERVER_SYNC_DEPLOY"
example: "false"
description: "KIE server sync startup with containers; hold the startup until containers are loaded (Sets the org.kie.server.sync.deploy system property)"
- name: "KIE_SERVER_PERSISTENCE_DIALECT"
example: "org.hibernate.dialect.H2Dialect"
description: "KIE server persistence dialect (Sets the org.kie.server.persistence.dialect system property)"
- name: "KIE_SERVER_PERSISTENCE_DS"
example: "java:/jboss/datasources/ExampleDS"
description: "KIE server persistence datasource (Sets the org.kie.server.persistence.ds system property)"
- name: "KIE_SERVER_PERSISTENCE_SCHEMA"
example: "my.db.schema"
description: "KIE server persistence default schema (Sets the org.kie.server.persistence.schema system property)"
- name: "KIE_SERVER_PERSISTENCE_TM"
example: "org.hibernate.engine.transaction.jta.platform.internal.JBossAppServerJtaPlatform"
description: "KIE server persistence transaction manager (Sets the org.kie.server.persistence.tm system property)"
- name: "AUTO_CONFIGURE_EJB_TIMER"
example: "false"
description: "Set if the EJB timer datasources should be auto configured, if false, user will need to define the default and the ejb datasources using the DATASOURCES or DB_SERVICE_PREFIX_MAPPING environment variables manually. Default is true"
- name: "JBPM_EJB_TIMER_TX"
example: "false"
description: "If the EJB timer is in use, setting this parameter to true enables transactions for EJB timer. Sets the 'org.jbpm.ejb.timer.tx' system property. The default is true"
- name: "JBPM_EJB_TIMER_LOCAL_CACHE"
example: "true"
description: "If the EJB timer is in use, setting this parameter to true enables the local cache for the EJB timer. Sets the 'org.jbpm.ejb.timer.local.cache' system property. The default is false"
- name: "KIE_SERVER_STARTUP_STRATEGY"
example: "OpenShiftStartupStrategy"
description: "When set to OpenShiftStartupStrategy, allows KIE server to start up independently used shared state from OpenShift API service."
- name: "KIE_SERVER_MGMT_DISABLED"
example: "true"
description: "Turn the KIE server immutable, this setting prevents the controllers to execute tasks like add or remove kie containers."
- name: "KIE_EXECUTOR_RETRIES"
example: "3"
description: "KIE server default executor number of retries (Sets the org.kie.executor.retry.count system property)"
- name: "KIE_MBEANS"
example: "enabled"
description: "KIE server mbeans enabled/disabled (Sets the kie.mbeans and kie.scanner.mbeans system properties)"
- name: "DROOLS_SERVER_FILTER_CLASSES"
example: "true"
description: "KIE server class filtering (Sets the org.drools.server.filter.classes system property)"
- name: "JBPM_HT_CALLBACK_METHOD"
example: "custom"
description: "Method used to resolve the user roles when operating with human tasks (Sets the org.jbpm.ht.callback system property)"
- name: "JBPM_HT_CALLBACK_CLASS"
example: "com.example.MyUserTaskCallback"
description: "Java class that resolves the user roles when operating with human tasks, when method is 'custom' (Sets the org.jbpm.ht.custom.callback system property)"
- name: "JBPM_LOOP_LEVEL_DISABLED"
value: "true"
example: "true"
description: "Disable the count of node instance iterations in process instance (Sets the jbpm.loop.level.disabled system property)"
- name: "KIE_SERVER_CONTROLLER_SERVICE"
example: "buscentr-myapp"
description: "KIE server controller service (Used to set the org.kie.server.controller system property if host and port aren't set)"
- name: "KIE_SERVER_CONTROLLER_PROTOCOL"
example: "http"
description: "KIE server controller protocol (Used to set the org.kie.server.controller system property)"
- name: "KIE_SERVER_CONTROLLER_HOST"
example: "my-app-controller.os.mycloud.com"
description: "KIE server controller host (Used to set the org.kie.server.controller system property)"
- name: "KIE_SERVER_CONTROLLER_PORT"
example: "8080"
description: "KIE server controller port (Used to set the org.kie.server.controller system property)"
- name: "KIE_SERVER_CONTROLLER_TOKEN"
example: "dasd373egds"
description: "KIE server controller token for bearer authentication (Sets the org.kie.server.controller.token system property)"
- name: "KIE_SERVER_ROUTER_SERVICE"
example: "smartrouter-myapp"
description: "KIE server router service (Used to set the org.kie.server.router system property if host and port aren't set)"
- name: "KIE_SERVER_ROUTER_PROTOCOL"
example: "http"
description: "KIE server router protocol (Used to set the org.kie.server.router system property)"
- name: "KIE_SERVER_ROUTER_HOST"
example: "my-app-router.os.mycloud.com"
description: "KIE server router host (Used to set the org.kie.server.router system property)"
- name: "KIE_SERVER_ROUTER_PORT"
example: "9000"
description: "KIE server router port (Used to set the org.kie.server.router system property)"
- name: "KIE_SERVER_EXECUTOR_JMS"
example: "false"
description: "Set false to disable the JMS executor, it is enabled by default."
- name: "KIE_SERVER_EXECUTOR_JMS_TRANSACTED"
example: "true"
description: "Enable transactions for JMS executor, disabled by default"
- name: "KIE_SERVER_JMS_QUEUE_REQUEST"
example: "queue/KIE.SERVER.REQUEST"
description: "JNDI name of request queue for JMS."
- name: "KIE_SERVER_JMS_QUEUE_RESPONSE"
example: "queue/KIE.SERVER.RESPONSE"
description: "JNDI name of response queue for JMS."
- name: "KIE_SERVER_JMS_QUEUE_EXECUTOR"
example: "queue/KIE.SERVER.EXECUTOR"
description: "JNDI name of executor queue for JMS."
- name: "KIE_SERVER_JMS_ENABLE_SIGNAL"
example: "true"
description: "Enable the Signal configuration through JMS"
- name: "KIE_SERVER_JMS_QUEUE_SIGNAL"
example: "queue/KIE.SERVER.SIGNAL"
description: "JMS queue for signals"
- name: "KIE_SERVER_JMS_ENABLE_AUDIT"
example: "true"
description: "Enable the Audit logging through JMS"
- name: "KIE_SERVER_JMS_QUEUE_AUDIT"
example: "queue/KIE.SERVER.AUDIT"
description: "JMS queue for audit logging"
- name: "KIE_SERVER_JMS_AUDIT_TRANSACTED"
example: "false"
description: "determines if JMS session is transacted or not - default true."
- name: "MYSQL_ENABLED_TLS_PROTOCOLS"
example: "TLSv1.1"
description: "Configure MySQL/MariaDB URL Connection to include the TLS protocol, defaults to TLSv1.2, for more information please refer to https://access.redhat.com/solutions/3469501"
- name: "PROMETHEUS_SERVER_EXT_DISABLED"
example: "false"
description: "If set to false, the prometheus server extension will be enabled. (Sets the org.kie.prometheus.server.ext.disabled system property)"
- name: "OPTAPLANNER_SERVER_EXT_THREAD_POOL_QUEUE_SIZE"
example: "4"
description: "The default queue size is equal to the number of active CPU cores. (Sets the org.optaplanner.server.ext.thread.pool.queue.size system property)"
- name: "KIE_SERVER_MAX_METASPACE_SIZE"
example: "256"
description: "The maximum metaspace size, set as integer in megabytes, for the KIE Server. This will overwrite value set by GC_MAX_METASPACE_SIZE. Default max metaspace size for KIE Server is 512mb."
- name: "KIE_SERVER_DISABLE_KC_PULL_DEPS"
example: "true"
description: "Disable Maven pull dependencies for immutable KIE Server configurations for S2I and pre built kjars. Useful for pre-compiled kjar."
- name: "KIE_SERVER_DISABLE_KC_VERIFICATION"
example: "true"
description: "Disable Maven KIE Jar verification. It is recommended to test the kjar manually before disabling this verification."
- name: "KIE_SERVER_JBPM_CLUSTER"
example: "true"
description: "Enable the KIE Server Jbpm clustering for processes fail-over. If the number of replicas is less than two, one additional replica will be started."
- name: "KIE_SERVER_JBPM_CLUSTER_TRANSPORT_LOCK_TIMEOUT"
example: "70000"
description: "Jbpm Cache transport lock timeout, value in milliseconds. The default value is 60000 ms."
- name: "KIE_SERVER_KAFKA_EXT_ENABLED"
example: "true"
description: "Setting to true enables the other KIE Server Kafka environment variables used to configure kafka integration, this environment variable will be used to set the org.kie.kafka.server.ext.disable system property."
- name: "KIE_SERVER_KAFKA_EXT_TOPICS"
example: "message=topic_name, message2=topic2"
description: "Contains the mapping message/signal=topicName for every topic that needs to be mapped globally, this environment variable will be used to set the org.kie.server.jbpm-kafka.ext.topics system property, to provide more than one mapping use comma separated values."
- name: "KIE_SERVER_KAFKA_EXT_BOOTSTRAP_SERVERS"
example: "localhost:9092"
description: "A comma separated list of host/port pairs to use for establishing the initial connection to the Kafka cluster, this environment variable will be used to set the org.kie.server.jbpm-kafka.ext.bootstrap.servers system property."
- name: "KIE_SERVER_KAFKA_EXT_CLIENT_ID"
example: "applicationName"
description: "This configuration allows users to set an ID to provide a logical application name for logging purposes, not set by default.This environment variable will be used to set the org.kie.server.jbpm-kafka.ext.client.id system property."
- name: "KIE_SERVER_KAFKA_EXT_AUTOCREATE_TOPICS"
example: "false"
description: "Allow automatic topic creation. Enabled by default, this environment variable will be used to set the org.kie.server.jbpm-kafka.ext.allow.auto.create.topics system property."
- name: "KIE_SERVER_KAFKA_EXT_GROUP_ID"
example: "jbpm-consumer"
description: "A unique string that identifies the group this consumer belongs to. Default to 'jbpm-consumer'. this environment variable will be used to set the org.kie.server.jbpm-kafka.ext.group.id system property."
- name: "KIE_SERVER_KAFKA_EXT_ACKS"
example: "2"
description: "The number of acknowledgments that the producer requires the leader to have received before considering a request to be complete. The default value is 1, which means the leader will write the record to its local log but will respond without awaiting full acknowledgment from all followers, this environment variable will be used to set the org.kie.server.jbpm-kafka.ext.acks system property."
- name: "KIE_SERVER_KAFKA_EXT_MAX_BLOCK_MS"
example: "6000"
description: "Value in milliseconds that indicates how long the 'publish' method will block the operation. Default 2000 milliseconds (2 seconds), this environment variable will be used to set the org.kie.server.jbpm-kafka.ext.max.block.ms system property."
- name: "KIE_SERVER_KAFKA_JBPM_EVENT_EMITTER_ENABLED"
example: "true"
description: "If true, will configure the jBPM Kafka events integration, when true the kafka bootstrap servers must be set."
- name: "KIE_SERVER_KAFKA_JBPM_EVENT_EMITTER_ACKS"
example: "3"
description: "The number of acknowledgments that the emitter requires the leader to have received before considering a request to be complete, not set by default. This environment variable will be used to set the 'org.kie.jbpm.event.emitters.kafka.acks' system property."
- name: "KIE_SERVER_KAFKA_JBPM_EVENT_EMITTER_BOOTSTRAP_SERVERS"
example: "localhost:9092"
description: "Comma separated list of host/port pairs to use for establishing the initial connection to the Kafka cluster, this environment variable will be used to set the 'org.kie.jbpm.event.emitters.kafka.bootstrap.servers' system property."
- name: "KIE_SERVER_KAFKA_JBPM_EVENT_EMITTER_CLIENT_ID"
example: "client.id"
description: "This configuration allows users to set an ID to provide a logical application name for logging purposes, not set by default.This environment variable will be used to set the 'org.kie.jbpm.event.emitters.kafka.client.id' system property."
- name: "KIE_SERVER_KAFKA_JBPM_EVENT_EMITTER_MAX_BLOCK_MS"
example: "2000"
description: "Value in milliseconds that indicates how long the 'publish' method will block the operation. Default 2000 milliseconds (2 seconds), this environment variable will be used to set the 'org.kie.jbpm.event.emitters.kafka.max.block.ms' system property."
- name: "KIE_SERVER_KAFKA_JBPM_EVENT_EMITTER_DATE_FORMAT"
example: "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
description: "Date and time format to be sent to Kafka. Default format is yyyy-MM-dd'T'HH:mm:ss.SSSZ, this environment variable will be used to set the 'org.kie.jbpm.event.emitters.kafka.date_format' system property."
- name: "KIE_SERVER_KAFKA_JBPM_EVENT_EMITTER_PROCESSES_TOPIC_NAME"
example: "my-processes-topic"
description: "Custom Processes topic's name, default value is jbpm-processes-events, this environment variable will be used to set the 'org.kie.jbpm.event.emitters.kafka.topic.processes' system property."
- name: "KIE_SERVER_KAFKA_JBPM_EVENT_EMITTER_TASKS_TOPIC_NAME"
example: "my-tasks-topic"
description: "Custom Processes task's name, default value is jbpm-tasks-events, this environment variable will be used to set the 'org.kie.jbpm.event.emitters.kafka.topic.tasks' system property."
- name: "KIE_SERVER_KAFKA_JBPM_EVENT_EMITTER_CASES_TOPIC_NAME"
example: "my-cases-topic"
description: "Custom Processes cases's name, default value is jbpm-cases-events, this environment variable will be used to set the 'org.kie.jbpm.event.emitters.kafka.topic.cases' system property."
- name: "KIE_SERVER_DECISIONS_ONLY"
example: "true"
description: "If true, it will configure the KIE Server to have decision management only capabilities (no jBPM and case management features will be available)"
- name: "KIE_EXECUTOR_MDB_MAX_SESSIONS"
example: "10"
description: 'Number of max KIE Executor sessions, it must be lower than the value of max-pool-size, by default is max-pool-size set to 60. Max pool size can be set by system property jboss.mdb.strict.max.pool.size (using JAVA_OPTS_APPEND "-Djboss.mdb.strict.max.pool.size=40"), for more information see https://access.redhat.com/solutions/2955481.'
ports:
- value: 8080
- value: 8443
- value: 8778
modules:
repositories:
- name: cct_module
git:
url: https://github.com/jboss-openshift/cct_module.git
ref: 0.39.x
- name: jboss-eap-modules
git:
url: https://github.com/jboss-container-images/jboss-eap-modules.git
ref: 7.4.x
- name: jboss-eap-7-image
git:
url: https://github.com/jboss-container-images/jboss-eap-7-image.git
ref: eap74-dev
- name: wildfly-cekit-modules
git:
url: https://github.com/wildfly/wildfly-cekit-modules.git
ref: 0.18.x
- name: rhpam-7-image
git:
url: https://github.com/jboss-container-images/rhpam-7-image.git
ref: main
- name: jboss-kie-modules
git:
url: https://github.com/jboss-container-images/jboss-kie-modules.git
ref: main
install:
- name: jboss.kie.common.dependencies
- name: jboss.container.openjdk.jdk
version: "11"
- name: dynamic-resources
- name: eap-74-latest
version: "7.4-latest"
- name: jboss.container.eap.setup
- name: rhpam-7-kieserver
- name: jboss.container.maven.38.bash
version: "3.8"
- name: jboss.container.maven.default.bash
- name: jboss.container.eap.s2i.bash
- name: jboss.container.jolokia.bash
- name: jboss.eap.cd.jolokia
- name: os-eap7-openshift
version: "1.0-kie"
- name: jboss.eap.config.openshift
version: "EAP7.4.0-kie"
- name: os-eap-activemq-rar
version: "1.1"
- name: os-eap-launch
version: "1.0-kie"
- name: os-eap7-launch
version: "1.0-kie"
- name: jboss-kie-db-drivers
- name: jboss.container.wildfly.launch.access-log-valve
- name: jboss.container.wildfly.launch.https
- name: jboss.container.wildfly.launch.messaging
- name: jboss.container.wildfly.launch.json-logging
- name: jboss.container.wildfly.launch.mp-config
- name: jboss.container.wildfly.launch-config.config
- name: jboss.container.wildfly.launch-config.os
- name: jboss.container.wildfly.launch.jgroups
- name: jboss.container.wildfly.launch.elytron
- name: jboss.container.wildfly.launch.keycloak
- name: jboss.container.wildfly.launch.tracing
- name: os-eap7-sso-adapters
version: "7.5.0-kie"
- name: jboss.container.wildfly.launch.deployment-scanner
- name: jboss.container.wildfly.launch.extensions
- name: openshift-layer
- name: openshift-passwd
- name: jboss.container.util.logging.bash
- name: jboss.container.eap.prometheus.config
version: "7.4-kie"
- name: os-eap-txnrecovery.run
version: "python3"
- name: os-eap-python
version: "3.6"
- name: jboss-kie-common
- name: jboss-kie-wildfly-common
- name: jboss-kie-kieserver
- name: jboss.kie.pkg-update
packages:
content_sets_file: content_sets.yml
manager: microdnf
osbs:
configuration:
container_file: container.yaml
extra_dir: osbs-extra
repository:
name: containers/rhpam-7-kieserver
branch: rhba-7-rhel-8
run:
user: 185
cmd:
- "/opt/eap/bin/openshift-launch.sh"