Skip to content

Commit

Permalink
Update Camunda to 7.20.0, Tomcat to 9.0.75
Browse files Browse the repository at this point in the history
  • Loading branch information
wcgunter committed Oct 31, 2023
1 parent bc9888c commit 8eec73e
Show file tree
Hide file tree
Showing 14 changed files with 29 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/camunda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:

- name: Show CWS Log
run: |
cd dist/console-only/cws/server/apache-tomcat-9.0.72/logs
cd dist/console-only/cws/server/apache-tomcat-9.0.75/logs
ls -al
- name: Set up Google Chrome
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:

- name: Show CWS Log
run: |
cd dist/console-only/cws/server/apache-tomcat-9.0.72/logs
cd dist/console-only/cws/server/apache-tomcat-9.0.75/logs
ls -al
- name: Set up Google Chrome
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ldap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:

- name: Show CWS Log
run: |
cd dist/console-only/cws/server/apache-tomcat-9.0.72/logs
cd dist/console-only/cws/server/apache-tomcat-9.0.75/logs
ls -al
- name: Set up Google Chrome
Expand Down
6 changes: 4 additions & 2 deletions create_server_dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ print 'Creating new CWS distribution directory...'
mkdir -p ${CWS}/{bpmn,config/templates,installer,logs,upgrade,sql/cws}

print 'Unzipping Camunda into distribution...'
unzip ${INSTALL_DIR}/cws_camunda-bpm-tomcat-${CAMUNDA_VER}.zip -x start-camunda.bat start-camunda.sh -d ${CWS} > ${CWS}/logs/camunda_extract.log 2>&1
unzip ${INSTALL_DIR}/cws_camunda-bpm-tomcat-${CAMUNDA_VER}-lib.zip -d ${CWS}/lib > ${CWS}/logs/camunda_extract.log 2>&1
print "unzip ${INSTALL_DIR}/cws_camunda-bpm-tomcat-${CAMUNDA_VER}.zip -d ${CWS} > ${CWS}/logs/camunda_extract_main.log 2>&1"
unzip ${INSTALL_DIR}/cws_camunda-bpm-tomcat-${CAMUNDA_VER}.zip -x start-camunda.bat start-camunda.sh -d ${CWS} > ${CWS}/logs/camunda_extract_main.log 2>&1
print "unzip ${INSTALL_DIR}/cws_camunda-bpm-tomcat-${CAMUNDA_VER}-lib.zip -d ${CWS}/lib > ${CWS}/logs/camunda_extract_lib.log 2>&1"
unzip ${INSTALL_DIR}/cws_camunda-bpm-tomcat-${CAMUNDA_VER}-lib.zip -d ${CWS}/lib > ${CWS}/logs/camunda_extract_lib.log 2>&1

if [[ $? -gt 0 ]]; then
print "ERROR: failed to unzip Camunda distribution, check ${CWS}/logs/camunda_extract.log for details."
Expand Down
2 changes: 1 addition & 1 deletion cws-test/src/test/resources/bpmn/test_groovy_script.bpmn
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_0o3i0xe" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.9.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.19.0">
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_0o3i0xe" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.9.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.20.0">
<bpmn:process id="test_groovy_script" name="Test Groovy Script" isExecutable="true">
<bpmn:startEvent id="StartEvent_1" camunda:asyncBefore="true">
<bpmn:outgoing>Flow_0bwb8b7</bpmn:outgoing>
Expand Down
10 changes: 5 additions & 5 deletions install/camunda_mods/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@


<!-- styles -->
<link href="$APP_ROOT/app/admin/styles/styles.css?bust=7.19.0"
<link href="$APP_ROOT/app/admin/styles/styles.css?bust=7.20.0"
rel="stylesheet" />
<link rel="stylesheet"
type="text/css"
href="$APP_ROOT/app/admin/styles/user-styles.css?bust=7.19.0">
href="$APP_ROOT/app/admin/styles/user-styles.css?bust=7.20.0">

<!-- favicon -->
<link rel="shortcut icon"
Expand Down Expand Up @@ -102,7 +102,7 @@

<!-- footer -->
<footer cam-widget-footer
version="v7.19.0"></footer>
version="v7.20.0"></footer>

<script type="application/javascript" $CSP_NONCE>
var adminConf = window.camAdminConf = {};
Expand All @@ -123,11 +123,11 @@
window.__require = window.require;
window.define = undefined;
window.require = undefined;
window.bust = '7.19.0';
window.bust = '7.20.0';

requirejs.config({
baseUrl: '$APP_ROOT/app/admin',
urlArgs: 'bust=7.19.0'
urlArgs: 'bust=7.20.0'
});
requirejs(['$APP_ROOT/lib/deps.js'], function () {
requirejs(['$APP_ROOT/app/admin/camunda-admin-bootstrap.js'], function () {});
Expand Down
12 changes: 6 additions & 6 deletions install/camunda_mods/cockpit/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@


<!-- styles -->
<link href="$APP_ROOT/app/cockpit/styles/styles.css?bust=7.19.0"
<link href="$APP_ROOT/app/cockpit/styles/styles.css?bust=7.20.0"
rel="stylesheet" />
<link href="$APP_ROOT/app/cockpit/styles/styles-components.css?bust=7.19.0"
<link href="$APP_ROOT/app/cockpit/styles/styles-components.css?bust=7.20.0"
rel="stylesheet" />
<link rel="stylesheet"
type="text/css"
href="$APP_ROOT/app/cockpit/styles/user-styles.css?bust=7.19.0">
href="$APP_ROOT/app/cockpit/styles/user-styles.css?bust=7.20.0">

<!-- favicon -->
<link rel="shortcut icon"
Expand Down Expand Up @@ -105,7 +105,7 @@

<!-- footer -->
<footer cam-widget-footer
version="v7.19.0"></footer>
version="v7.20.0"></footer>

<script type="application/javascript" $CSP_NONCE>
var cockpitConf = window.camCockpitConf = {};
Expand All @@ -126,11 +126,11 @@
window.__require = window.require;
window.define = undefined;
window.require = undefined;
window.bust = '7.19.0';
window.bust = '7.20.0';

requirejs.config({
baseUrl: '$APP_ROOT/app/cockpit',
urlArgs: 'bust=7.19.0'
urlArgs: 'bust=7.20.0'
});
requirejs(['$APP_ROOT/lib/deps.js'], function () {
requirejs(['$APP_ROOT/app/cockpit/camunda-cockpit-bootstrap.js'], function(){});
Expand Down
2 changes: 1 addition & 1 deletion install/cws-ui/documentation.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<td><a href="https://github.com/NASA-AMMOS/common-workflow-service/wiki" target="_blank">CWS Wiki</a></td>
</tr>
<tr>
<td><a href="https://docs.camunda.org/manual/7.19/reference/bpmn20/" target="_blank">Camunda BPMN 2.0 Implementation Reference</a></td>
<td><a href="https://docs.camunda.org/manual/7.20/reference/bpmn20/" target="_blank">Camunda BPMN 2.0 Implementation Reference</a></td>
</tr>
<tr>
<td><a href="http://www.bpmnquickguide.com/quickguide/index.html" target="_blank">BP Incubator BPMN Quick Guide</a></td>
Expand Down
2 changes: 1 addition & 1 deletion install/cws-ui/snippets.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<br/>
<b>NOTE:</b> <b>For each external code library (JAR)</b> (referenced by Java import statements) <b>put the JAR in the following place</b>:
<ul>
<li>CWS Console Server: <pre>cws/server/apache-tomcat-9.0.72/lib</pre></li>
<li>CWS Console Server: <pre>cws/server/apache-tomcat-9.0.75/lib</pre></li>
</ul>
<br/>
</form>
Expand Down
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions install/docker/console-db-es-ls-kibana/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ services:
retries: 12
volumes:
- ./config.properties:/home/cws_user/config.properties:ro
- console-logs-volume:/home/cws_user/cws/server/apache-tomcat-9.0.72/logs
- console-logs-volume:/home/cws_user/cws/server/apache-tomcat-9.0.75/logs
cws-worker:
container_name: cws-worker1
labels:
Expand All @@ -146,7 +146,7 @@ services:
- ES_PORT=9200
volumes:
- ./worker-config.properties:/home/cws_user/config.properties:ro
- worker1-logs-volume:/home/cws_user/cws/server/apache-tomcat-9.0.72/logs
- worker1-logs-volume:/home/cws_user/cws/server/apache-tomcat-9.0.75/logs

volumes:
console-logs-volume:
Expand Down
4 changes: 2 additions & 2 deletions install/docker/cws-image/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
javac -cp joda-time-2.1.jar getTime.java
java -cp .:joda-time-2.1.jar getTime

ls /home/cws_user/cws/server/apache-tomcat-9.0.72/logs
ls /home/cws_user/cws/server/apache-tomcat-9.0.75/logs

# Clear out any previous logs before starting (Note: Previous logs will cause CWS not to start)
rm -rf /home/cws_user/cws/server/apache-tomcat-9.0.72/logs/*
rm -rf /home/cws_user/cws/server/apache-tomcat-9.0.75/logs/*

cd cws
./configure.sh ../config.properties Y
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<activeio-core.version>3.1.4</activeio-core.version>
<software.amazon.awssdk.version>2.16.93</software.amazon.awssdk.version>
<!-- <boon.version>0.12</boon.version> -->
<camunda.version>7.19.0</camunda.version>
<camunda.version>7.20.0</camunda.version>
<camunda-spin.version>1.9.0</camunda-spin.version>
<commons-compress.version>1.21</commons-compress.version>
<commons-configuration.version>1.10</commons-configuration.version>
Expand Down Expand Up @@ -79,7 +79,7 @@
<skip.integration.tests>false</skip.integration.tests>
<spring.framework.version>5.2.20.RELEASE</spring.framework.version>
<surefire.version>2.22.2</surefire.version>
<tomcat-catalina.version>9.0.72</tomcat-catalina.version>
<tomcat-catalina.version>9.0.75</tomcat-catalina.version>
<urlrewritefilter.version>4.0.3</urlrewritefilter.version>
<xbean-spring.version>3.17</xbean-spring.version>
<xmlunit.version>2.6.2</xmlunit.version>
Expand Down
4 changes: 2 additions & 2 deletions utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

# Update versions as necessary
export CWS_VER='2.5.0' # update this each CWS release
export CAMUNDA_VER='7.19.0'
export TOMCAT_VER='9.0.72'
export CAMUNDA_VER='7.20.0'
export TOMCAT_VER='9.0.75'
export LOGSTASH_VER='8.8.0'

# Prints the provided string, tagging with the script that called it
Expand Down

0 comments on commit 8eec73e

Please sign in to comment.