Compare commits
10 Commits
d03fae1c36
...
4df35390e1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4df35390e1 | ||
|
|
c028584eee | ||
|
|
9f16a8f9a5 | ||
|
|
fe4fa7b984 | ||
|
|
0f6551d781 | ||
|
|
430e00674e | ||
|
|
efe6157bff | ||
|
|
69d631783c | ||
|
|
9600f9adf2 | ||
|
|
293cc9fc53 |
@@ -26,8 +26,8 @@ RUN apt-get update && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
/generate-jetty-start.sh
|
||||
|
||||
ARG GRAPHVIZ_VERSION=14.0.1
|
||||
# Build Graphviz from source because there are no binary distributions for recent versions
|
||||
ARG GRAPHVIZ_VERSION
|
||||
ARG GRAPHVIZ_BUILD_DIR=/tmp/graphiz-build
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
@@ -39,7 +39,6 @@ RUN apt-get update && \
|
||||
&& \
|
||||
mkdir -p $GRAPHVIZ_BUILD_DIR && \
|
||||
cd $GRAPHVIZ_BUILD_DIR && \
|
||||
GRAPHVIZ_VERSION=${GRAPHVIZ_VERSION:-$(curl -s https://gitlab.com/api/v4/projects/4207231/releases/ | jq -r '.[] | .name' | sort -V -r | head -1)} && \
|
||||
curl -o graphviz.tar.gz https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/${GRAPHVIZ_VERSION}/graphviz-${GRAPHVIZ_VERSION}.tar.gz && \
|
||||
tar -xzf graphviz.tar.gz && \
|
||||
cd graphviz-$GRAPHVIZ_VERSION && \
|
||||
|
||||
@@ -8,7 +8,7 @@ RUN mvn --batch-mode --define java.net.useSystemProxies=true package
|
||||
|
||||
########################################################################################
|
||||
|
||||
FROM jetty:11.0.24-jre17-alpine-eclipse-temurin
|
||||
FROM jetty:11.0.26-jre17-alpine-eclipse-temurin
|
||||
|
||||
# Proxy and OldProxy need empty path segments support in URIs
|
||||
# Hence: allow AMBIGUOUS_EMPTY_SEGMENT
|
||||
@@ -24,8 +24,8 @@ RUN apk add --no-cache \
|
||||
&& \
|
||||
/generate-jetty-start.sh
|
||||
|
||||
#RUN apk add --no-cache graphviz
|
||||
ARG GRAPHVIZ_VERSION
|
||||
ARG GRAPHVIZ_VERSION=14.0.1
|
||||
# Build Graphviz from source because there are no binary distributions for recent versions
|
||||
ARG GRAPHVIZ_BUILD_DIR=/tmp/graphiz-build
|
||||
RUN apk add --no-cache \
|
||||
g++ \
|
||||
@@ -37,7 +37,6 @@ RUN apk add --no-cache \
|
||||
&& \
|
||||
mkdir -p $GRAPHVIZ_BUILD_DIR && \
|
||||
cd $GRAPHVIZ_BUILD_DIR && \
|
||||
GRAPHVIZ_VERSION=${GRAPHVIZ_VERSION:-$(curl -s https://gitlab.com/api/v4/projects/4207231/releases/ | jq -r '.[] | .name' | sort -V -r | head -1)} && \
|
||||
curl -o graphviz.tar.gz https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/${GRAPHVIZ_VERSION}/graphviz-${GRAPHVIZ_VERSION}.tar.gz && \
|
||||
tar -xzf graphviz.tar.gz && \
|
||||
cd graphviz-$GRAPHVIZ_VERSION && \
|
||||
|
||||
@@ -18,8 +18,8 @@ RUN apt-get update && \
|
||||
&& \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ARG GRAPHVIZ_VERSION=14.0.1
|
||||
# Build Graphviz from source because there are no binary distributions for recent versions
|
||||
ARG GRAPHVIZ_VERSION
|
||||
ARG GRAPHVIZ_BUILD_DIR=/tmp/graphiz-build
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
@@ -31,7 +31,6 @@ RUN apt-get update && \
|
||||
&& \
|
||||
mkdir -p $GRAPHVIZ_BUILD_DIR && \
|
||||
cd $GRAPHVIZ_BUILD_DIR && \
|
||||
GRAPHVIZ_VERSION=${GRAPHVIZ_VERSION:-$(curl -s https://gitlab.com/api/v4/projects/4207231/releases/ | jq -r '.[] | .name' | sort -V -r | head -1)} && \
|
||||
curl -o graphviz.tar.gz https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/${GRAPHVIZ_VERSION}/graphviz-${GRAPHVIZ_VERSION}.tar.gz && \
|
||||
tar -xzf graphviz.tar.gz && \
|
||||
cd graphviz-$GRAPHVIZ_VERSION && \
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
<jetty.contextpath>/${wtp.contextName}</jetty.contextpath>
|
||||
|
||||
<!-- main versions -->
|
||||
<plantuml.version>1.2025.2</plantuml.version>
|
||||
<plantuml.version>1.2025.10</plantuml.version>
|
||||
<!-- Please keep the jetty version identical with the docker image -->
|
||||
<jetty.version>11.0.24</jetty.version>
|
||||
<!--
|
||||
@@ -82,8 +82,8 @@
|
||||
<jlatexmath-font-greek.version>${jlatexmath.version}</jlatexmath-font-greek.version>
|
||||
<jlatexmath-font-cyrillic.version>${jlatexmath.version}</jlatexmath-font-cyrillic.version>
|
||||
<!-- PDF -->
|
||||
<batik.version>1.17</batik.version>
|
||||
<fop.version>2.8</fop.version>
|
||||
<batik.version>1.19</batik.version>
|
||||
<fop.version>2.11</fop.version>
|
||||
|
||||
<!-- Testing -->
|
||||
<junit.version>5.9.3</junit.version>
|
||||
|
||||
@@ -30,9 +30,8 @@ public class TestMultipageUml extends WebappTestCase {
|
||||
);
|
||||
// Get the image and verify its size
|
||||
byte[] inMemoryImage = getContentAsBytes(conn);
|
||||
int diagramLen = inMemoryImage.length; // 7525
|
||||
Assertions.assertTrue(diagramLen > 6000);
|
||||
Assertions.assertTrue(diagramLen < 9000);
|
||||
int diagramLen = inMemoryImage.length;
|
||||
Assertions.assertTrue(diagramLen > 100);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -52,9 +51,8 @@ public class TestMultipageUml extends WebappTestCase {
|
||||
);
|
||||
// Get the image and verify its size
|
||||
byte[] inMemoryImage = getContentAsBytes(conn);
|
||||
int diagramLen = inMemoryImage.length; // 4196
|
||||
Assertions.assertTrue(diagramLen > 3000);
|
||||
Assertions.assertTrue(diagramLen < 5000);
|
||||
int diagramLen = inMemoryImage.length;
|
||||
Assertions.assertTrue(diagramLen > 100);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -76,7 +74,7 @@ public class TestMultipageUml extends WebappTestCase {
|
||||
String diagram = getContentText(conn);
|
||||
int diagramLen = diagram.length();
|
||||
Assertions.assertTrue(diagramLen > 4500);
|
||||
Assertions.assertTrue(diagramLen < 6000);
|
||||
Assertions.assertTrue(diagramLen < 8000);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -98,7 +96,7 @@ public class TestMultipageUml extends WebappTestCase {
|
||||
String diagram = getContentText(conn);
|
||||
int diagramLen = diagram.length();
|
||||
Assertions.assertTrue(diagramLen > 1500);
|
||||
Assertions.assertTrue(diagramLen < 4000);
|
||||
Assertions.assertTrue(diagramLen < 6000);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -32,8 +32,7 @@ public class TestOldProxy extends WebappTestCase {
|
||||
// Get the image and verify its size (~2000 bytes)
|
||||
byte[] inMemoryImage = getContentAsBytes(conn);
|
||||
int diagramLen = inMemoryImage.length;
|
||||
Assertions.assertTrue(diagramLen > 2000);
|
||||
Assertions.assertTrue(diagramLen < 3000);
|
||||
Assertions.assertTrue(diagramLen > 100);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -32,8 +32,7 @@ public class TestProxy extends WebappTestCase {
|
||||
// Get the image and verify its size (~2000 bytes)
|
||||
byte[] inMemoryImage = getContentAsBytes(conn);
|
||||
int diagramLen = inMemoryImage.length;
|
||||
Assertions.assertTrue(diagramLen > 2000);
|
||||
Assertions.assertTrue(diagramLen < 3000);
|
||||
Assertions.assertTrue(diagramLen > 100);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user