Skip to content

Commit d6f68d1

Browse files
JBPM-7895 - Wildfly 14 upgrade and 7.14.0 release updates
1 parent def3088 commit d6f68d1

File tree

10 files changed

+102
-526
lines changed

10 files changed

+102
-526
lines changed

base/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
###########################################################################
2-
# Dockerfile that provides the image for JBoss jBPM Workbench 7.13.0.Final
2+
# Dockerfile that provides the image for JBoss jBPM Workbench 7.14.0.Final
33
###########################################################################
44

55
####### BASE ############
6-
FROM jboss/wildfly:11.0.0.Final
6+
FROM jboss/wildfly:14.0.1.Final
77

88
####### MAINTAINER ############
99
MAINTAINER "Michael Biarnes Kiefer" "[email protected]"
1010

1111
####### ENVIRONMENT ############
1212
ENV JBOSS_BIND_ADDRESS 0.0.0.0
1313
ENV KIE_REPOSITORY https://repository.jboss.org/nexus/content/groups/public-jboss
14-
ENV KIE_VERSION 7.13.0.Final
15-
ENV KIE_CLASSIFIER wildfly11
14+
ENV KIE_VERSION 7.14.0.Final
15+
ENV KIE_CLASSIFIER wildfly14
1616
ENV KIE_CONTEXT_PATH jbpm-console
17-
ENV JAVA_OPTS -Xms256m -Xmx2048m -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8
18-
ENV KIE_SERVER_PROFILE standalone-full
17+
ENV JAVA_OPTS -Xms256m -Xmx2048m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=512m -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8
18+
ENV KIE_SERVER_PROFILE standalone
1919

2020
####### JBPM-WB ############
2121
RUN curl -o $HOME/$KIE_CONTEXT_PATH.war $KIE_REPOSITORY/org/kie/kie-wb/$KIE_VERSION/kie-wb-$KIE_VERSION-$KIE_CLASSIFIER.war && \

base/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Introduction
2121

2222
The image contains:
2323

24-
* JBoss Wildfly 11.0.0.Final
25-
* jBPM Workbench 7.13.0.Final
24+
* JBoss Wildfly 14.0.1.Final
25+
* jBPM Workbench 7.14.0.Final
2626

2727
This image provides the jBPM Workbench. It's intended to be extended so you can add your custom configurations.
2828

@@ -217,8 +217,8 @@ Notes
217217
-----
218218

219219
* The context path for jBPM Workbench web application is `jbpm-console`
220-
* jBPM Workbench version is `7.13.0.Final`
221-
* jBPM Workbench requires running JBoss Wildfly 11.0.0.Final using the `full` server profile
220+
* jBPM Workbench version is `7.14.0.Final`
221+
* jBPM Workbench requires running JBoss Wildfly 14.0.1.Final using the `full` server profile
222222
* No users or roles are configured by default
223223
* No support for clustering
224224
* Use of embedded H2 database server by default
@@ -229,6 +229,6 @@ Notes
229229
Release notes
230230
--------------
231231

232-
**7.13.0.Final**
232+
**7.14.0.Final**
233233

234-
* See release notes for [jBPM](http://docs.jboss.org/jbpm/release/7.13.0.Final/jbpm-docs/html_single/#_jbpmreleasenotes)
234+
* See release notes for [jBPM](http://docs.jboss.org/jbpm/release/7.14.0.Final/jbpm-docs/html_single/#_jbpmreleasenotes)

server/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
###########################################################################
2-
# Dockerfile that provides the image for JBoss jBPM Server Full 7.13.0.Final
2+
# Dockerfile that provides the image for JBoss jBPM Server Full 7.14.0.Final
33
###########################################################################
44

55
####### BASE ############
6-
FROM jboss/wildfly:11.0.0.Final
6+
FROM jboss/wildfly:14.0.1.Final
77

88
####### MAINTAINER ############
99
MAINTAINER "Michael Biarnes Kiefer" "[email protected]"
1010

1111
####### ENVIRONMENT ############
1212
ENV JBOSS_BIND_ADDRESS 0.0.0.0
1313
ENV KIE_REPOSITORY https://download.jboss.org/jbpm/release
14-
ENV KIE_VERSION 7.13.0.Final
15-
ENV KIE_CLASSIFIER wildfly11
14+
ENV KIE_VERSION 7.14.0.Final
15+
ENV KIE_CLASSIFIER wildfly14
1616
ENV KIE_CONTEXT_PATH jbpm-console
1717
ENV KIE_SERVER_ID sample-server
1818
ENV KIE_SERVER_LOCATION http://localhost:8080/kie-server/services/rest/server

server/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ Introduction
2424

2525
The image contains:
2626

27-
* JBoss Wildfly 11.0.0.Final
28-
* jBPM Workbench 7.13.0.Final
29-
* KIE Server 7.13.0.Final
30-
* jBPM Case Management Showcase 7.13.0.Final
31-
* jBPM Service Repository 7.13.0.Final
27+
* JBoss Wildfly 14.0.1.Final
28+
* jBPM Workbench 7.14.0.Final
29+
* KIE Server 7.14.0.Final
30+
* jBPM Case Management Showcase 7.14.0.Final
31+
* jBPM Service Repository 7.14.0.Final
3232

3333
This is a **ready to run Docker image for jBPM Workbench**. Just run it and try the jBPM Workbench!
3434

@@ -180,15 +180,15 @@ Try:
180180
Notes
181181
-----
182182

183-
* jBPM Workbench version is `7.13.0.Final`
183+
* jBPM Workbench version is `7.14.0.Final`
184184
* The context path for jBPM Workbench web application is `jbpm-console`
185-
* KIE Server version is `7.13.0.Final`
185+
* KIE Server version is `7.14.0.Final`
186186
* The context path for KIE Server web application is `kie-server`
187-
* jBPM Case Management Showcase version is `7.13.0.Final`
187+
* jBPM Case Management Showcase version is `7.14.0.Final`
188188
* The context path for jBPM Case Management Showcase web application is `jbpm-casemgmt`
189-
* jBPM Service Repository version is `7.13.0.Final`
189+
* jBPM Service Repository version is `7.14.0.Final`
190190
* The context path for jBPM Service Repository web application is `repository`
191-
* jBPM Server Full requires running JBoss Wildfly 11.0.0 using the `full` server profile
191+
* jBPM Server Full requires running JBoss Wildfly 14.0.1 using the `full` server profile
192192
* Examples and demos are always available, also when not connected to internet
193193
* No support for clustering
194194
* Use of embedded H2 database server by default
@@ -199,6 +199,6 @@ Notes
199199
Release notes
200200
--------------
201201

202-
**7.13.0.Final**
202+
**7.14.0.Final**
203203

204-
* See release notes for [jBPM](http://docs.jboss.org/jbpm/release/7.13.0.Final/jbpm-docs/html_single/#_jbpmreleasenotes)
204+
* See release notes for [jBPM](http://docs.jboss.org/jbpm/release/7.14.0.Final/jbpm-docs/html_single/#_jbpmreleasenotes)

showcase/Dockerfile

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,32 @@
11
#################################################################################
2-
# Dockerfile that provides the image for JBoss jBPM Workbench 7.13.0.Final Showcase
2+
# Dockerfile that provides the image for JBoss jBPM Workbench 7.14.0.Final Showcase
33
#################################################################################
44

55
####### BASE ############
6-
FROM jboss/jbpm-workbench:7.13.0.Final
6+
FROM jboss/jbpm-workbench:7.14.0.Final
77

88
####### MAINTAINER ############
99
MAINTAINER "Michael Biarnes Kiefer" "[email protected]"
1010

1111
####### ENVIRONMENT ############
1212
# Use demo and examples by default in this showcase image (internet connection required).
13-
ENV KIE_SERVER_PROFILE standalone-full-jbpm
14-
ENV JAVA_OPTS -Xms256m -Xmx2048m -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8
13+
ENV KIE_SERVER_PROFILE standalone
14+
ENV JAVA_OPTS -Xms256m -Xmx2048m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=512m -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8
1515

1616
####### jBPM Workbench CUSTOM CONFIGURATION ############
17-
ADD etc/standalone-full-jbpm.xml $JBOSS_HOME/standalone/configuration/standalone-full-jbpm.xml
18-
ADD etc/jbpm-users.properties $JBOSS_HOME/standalone/configuration/jbpm-users.properties
19-
ADD etc/jbpm-roles.properties $JBOSS_HOME/standalone/configuration/jbpm-roles.properties
17+
ADD etc/application-users.properties $JBOSS_HOME/standalone/configuration/application-users.properties
18+
ADD etc/application-roles.properties $JBOSS_HOME/standalone/configuration/application-roles.properties
19+
ADD etc/jbpm-custom.cli $JBOSS_HOME/bin/jbpm-custom.cli
2020

2121
# Added files are chowned to root user, change it to the jboss one.
2222
USER root
23-
RUN chown jboss:jboss $JBOSS_HOME/standalone/configuration/standalone-full-jbpm.xml && \
24-
chown jboss:jboss $JBOSS_HOME/standalone/configuration/jbpm-users.properties && \
25-
chown jboss:jboss $JBOSS_HOME/standalone/configuration/jbpm-roles.properties
23+
RUN chown jboss:jboss $JBOSS_HOME/standalone/configuration/application-users.properties && \
24+
chown jboss:jboss $JBOSS_HOME/standalone/configuration/application-roles.properties
2625

2726
# Switchback to jboss user
2827
USER jboss
28+
RUN $JBOSS_HOME/bin/jboss-cli.sh --file=$JBOSS_HOME/bin/jbpm-custom.cli && \
29+
rm -rf $JBOSS_HOME/standalone/configuration/standalone_xml_history/current
2930

3031
####### RUNNING JBPM-WB ############
3132
WORKDIR $JBOSS_HOME/bin/

showcase/README.md

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Introduction
2222

2323
The image contains:
2424

25-
* JBoss Wildfly 11.0.0.Final
26-
* jBPM Workbench 7.13.0.Final
25+
* JBoss Wildfly 14.0.1.Final
26+
* jBPM Workbench 7.14.0.Final
2727

2828
This image inherits from `jboss/jbpm-workbench:latest` and provides some additional configurations:
2929

@@ -134,19 +134,14 @@ As the above command, now your workbench git repository will be persistent at yo
134134

135135
Considering this showcase module as the base for this example, follow the next steps:
136136

137-
1.- Edit the [standalone-full-jbpm.xml](./etc/standalone-full-jbpm.xml) and change the default GIT repository location for your favourite one:
137+
1.- Edit the [jbpm-custom.cli](./etc/jbpm-custom.cli) and uncomment the default GIT repository location for your favourite one:
138138

139-
<system-properties>
140-
<property name="org.kie.demo" value="${org.kie.demo:true}"/>
141-
<property name="org.kie.example" value="${org.kie.example:true}"/>
142-
<property name="designerdataobjects" value="${designerdataobjects:false}"/>
143-
144-
<!-- Make GIT repositories root directory at /opt/jboss/wildfly/mygit. -->
145-
<property name="org.uberfire.nio.git.dir" value="/opt/jboss/wildfly/mygit"/>
146-
147-
<!-- Make GIT repositories available from outside localhost. -->
148-
<property name="org.uberfire.nio.git.ssh.host" value="0.0.0.0"/>
149-
</system-properties>
139+
# Make GIT repositories root directory at /opt/jboss/wildfly/mygit.
140+
# if (outcome != success) of /system-property=org.uberfire.nio.git.dir:read-resource
141+
# /system-property=org.uberfire.nio.git.dir:add(value="/opt/jboss/wildfly/mygit")
142+
# else
143+
# /system-property=org.uberfire.nio.git.dir:write-attribute(name=value,value="/opt/jboss/wildfly/mygit")
144+
# end-if
150145

151146
2.- Edit the [Dockerfile](./Dockerfile) and add these lines:
152147

@@ -189,8 +184,8 @@ Notes
189184
-----
190185

191186
* The context path for jBPM Workbench web application is `jbpm-console`
192-
* jBPM Workbench version is `7.13.0.Final`
193-
* jBPM Workbench requires running JBoss Wildfly 11.0.0 using the `full` server profile
187+
* jBPM Workbench version is `7.14.0.Final`
188+
* jBPM Workbench requires running JBoss Wildfly 14.0.1 using the `full` server profile
194189
* Examples and demos are always available, also when not connected to internet
195190
* No support for clustering
196191
* Use of embedded H2 database server by default
@@ -201,6 +196,6 @@ Notes
201196
Release notes
202197
--------------
203198

204-
**7.13.0.Final**
199+
**7.14.0.Final**
205200

206-
* See release notes for [jBPM](http://docs.jboss.org/jbpm/release/7.13.0.Final/jbpm-docs/html_single/#_jbpmreleasenotes)
201+
* See release notes for [jBPM](http://docs.jboss.org/jbpm/release/7.14.0.Final/jbpm-docs/html_single/#_jbpmreleasenotes)

showcase/etc/jbpm-custom.cli

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
embed-server --server-config=standalone.xml
2+
3+
if (outcome != success) of /subsystem=security/security-domain=other/authentication=classic/login-module=org.kie.security.jaas.KieLoginModule:read-resource
4+
/subsystem=security/security-domain=other/authentication=classic/login-module=org.kie.security.jaas.KieLoginModule:add(code=org.kie.security.jaas.KieLoginModule, flag=required, module=deployment.jbpm-console.war)
5+
end-if
6+
7+
if (outcome != success) of /system-property=org.kie.demo:read-resource
8+
/system-property=org.kie.server.id:add(value="${org.kie.demo:true}")
9+
else
10+
/system-property=org.kie.demo:write-attribute(name=value,value="${org.kie.demo:true}")
11+
end-if
12+
13+
if (outcome != success) of /system-property=org.kie.example:read-resource
14+
/system-property=org.kie.example:add(value="${org.kie.example:true}")
15+
else
16+
/system-property=org.kie.example:write-attribute(name=value,value="${org.kie.example:true}")
17+
end-if
18+
19+
if (outcome != success) of /system-property=org.jbpm.designer.perspective:read-resource
20+
/system-property=org.jbpm.designer.perspective:add(value="${org.jbpm.designer.perspective:full}")
21+
else
22+
/system-property=org.jbpm.designer.perspective:write-attribute(name=value,value="${org.jbpm.designer.perspective:full}")
23+
end-if
24+
25+
if (outcome != success) of /system-property=designerdataobjects:read-resource
26+
/system-property=designerdataobjects:add(value="${designerdataobjects:false}")
27+
else
28+
/system-property=designerdataobjects:write-attribute(name=value,value="${designerdataobjects:false}")
29+
end-if
30+
31+
if (outcome != success) of /system-property=org.uberfire.nio.git.ssh.host:read-resource
32+
/system-property=org.uberfire.nio.git.ssh.host:add(value="0.0.0.0")
33+
else
34+
/system-property=org.uberfire.nio.git.ssh.host:write-attribute(name=value,value="0.0.0.0")
35+
end-if
36+
37+
if (outcome != success) of /system-property=appformer.experimental.features:read-resource
38+
/system-property=appformer.experimental.features:add(value="true")
39+
else
40+
/system-property=appformer.experimental.features:write-attribute(name=value,value="true")
41+
end-if
42+
43+
# Make GIT repositories root directory at /opt/jboss/wildfly/mygit.
44+
# if (outcome != success) of /system-property=org.uberfire.nio.git.dir:read-resource
45+
# /system-property=org.uberfire.nio.git.dir:add(value="/opt/jboss/wildfly/mygit")
46+
# else
47+
# /system-property=org.uberfire.nio.git.dir:write-attribute(name=value,value="/opt/jboss/wildfly/mygit")
48+
# end-if
49+
50+
stop-embedded-server

0 commit comments

Comments
 (0)