Skip to content

Commit cbd789e

Browse files
Changes for release/v4.0.3 (#274)
* Changes for release/v4.0.3
1 parent d9882b2 commit cbd789e

File tree

31 files changed

+73
-42
lines changed

31 files changed

+73
-42
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [4.0.3] - 2025-12-18
9+
10+
### Changed
11+
12+
- Allow parenthesis in test scenario names
13+
14+
### Security
15+
16+
- Update to address vulnerability in [CVE-2025-66221](https://nvd.nist.gov/vuln/detail/CVE-2025-66221)
17+
- Update rhino to v1.7.14.1 to address vulnerability in [CVE-2025-66453](https://nvd.nist.gov/vuln/detail/CVE-2025-66453)
18+
819
## [4.0.2] - 2025-12-09
920

1021
### Changed

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.2
1+
4.0.3

architecture.png

-50.1 KB
Loading

deployment/build-s3-dist.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ main() {
4242
local source_dir="$project_root"/source
4343
local cdk_out_dir="$source_dir"/infrastructure/cdk.out
4444

45+
# Launch Wizard directory
46+
version_without_v="${3#v}"
47+
local launch_wizard_dist_dir="$deployment_dir/launch-wizard-assets/Default/${version_without_v}"
48+
4549
header "[Init] Remove any old dist files from previous runs"
4650

4751
rm -rf "$global_dist_dir"
@@ -116,6 +120,11 @@ main() {
116120
fi
117121
done
118122
popd
123+
124+
header "[Packing] Launch Wizard Assets"
125+
cd "${launch_wizard_dist_dir}/helpPanels"
126+
zip -q -r9 "${launch_wizard_dist_dir}/helpPanels.zip" .
127+
cd "${deployment_dir}"
119128
}
120129

121-
main "$@"
130+
main "$@"

deployment/ecr/distributed-load-testing-on-aws-load-tester/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,9 @@ RUN mkdir -p /etc/bzt.d && echo '{"settings": {"artifacts-dir": "/tmp/artifacts"
4141
# https://github.com/Blazemeter/taurus/blob/647dd34ab318b5d3060a8c6ce2e5b047a0efddd2/requirements.txt
4242
RUN $PIP_INSTALL 'urllib3>=2.6.0'
4343

44+
# Temporary fix for CVE-2025-66221 in Werkzeug < 3.1.4
45+
# This must be upgraded after bzt setup to satisfy bzt requirements.txt
46+
RUN $PIP_INSTALL 'werkzeug>=3.1.4'
47+
4448
WORKDIR /bzt-configs
4549
ENTRYPOINT ["./load-test.sh"]

deployment/ecr/distributed-load-testing-on-aws-load-tester/jar_updater.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* http2-common will be replaced with v11.0.26
2525
* kotlin-stdlib will be replaced with v2.1.0
2626
* commons-lang3 will be replaced with v3.18.0
27+
* rhino v1.7.14 will be replaced with v1.7.14.1 (fixes CVE-2025-66453)
2728
* commons-lang v2.5 - no fix available for CVE-2025-48924
2829
2930
Also jmeter plugins manager will be updated to v1.11 to address CVEs and
@@ -72,6 +73,7 @@
7273
"http2-common": "org/eclipse/jetty/http2/http2-common/11.0.26/http2-common-11.0.26.jar",
7374
"kotlin-stdlib": "org/jetbrains/kotlin/kotlin-stdlib/2.1.0/kotlin-stdlib-2.1.0.jar",
7475
"commons-lang3": "org/apache/commons/commons-lang3/3.18.0/commons-lang3-3.18.0.jar",
76+
"rhino": "org/mozilla/rhino/1.7.14.1/rhino-1.7.14.1.jar", # NOSONAR
7577
}
7678

7779
# Jars to remove from the container

deployment/ecr/distributed-load-testing-on-aws-load-tester/load-test.sh

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,18 @@ if [ "$TEST_TYPE" != "simple" ]; then
7676
echo "UNZIPPED to temp directory"
7777
ls -l $TEMP_DIR
7878

79-
# Find the parent folder and copy its contents
80-
PARENT_FOLDER=$(find $TEMP_DIR -mindepth 1 -maxdepth 1 -type d | head -n 1)
81-
if [ -n "$PARENT_FOLDER" ]; then
82-
echo "Copying contents from parent folder: $PARENT_FOLDER"
79+
# Check if there's exactly one directory and no files at root level
80+
ROOT_DIRS=$(find $TEMP_DIR -mindepth 1 -maxdepth 1 -type d)
81+
ROOT_FILES=$(find $TEMP_DIR -mindepth 1 -maxdepth 1 -type f)
82+
83+
# Only unwrap if there's exactly one directory and zero files at root
84+
if [ $(echo "$ROOT_DIRS" | wc -l) -eq 1 ] && [ -z "$ROOT_FILES" ]; then
85+
PARENT_FOLDER=$(echo "$ROOT_DIRS")
86+
echo "Single parent folder detected with no sibling files: $PARENT_FOLDER"
87+
echo "Unwrapping contents from parent folder"
8388
cp -r $PARENT_FOLDER/* ./
8489
else
85-
echo "No parent folder found, copying all contents from temp directory"
90+
echo "Multiple items or files at root level detected, copying all contents from temp directory"
8691
cp -r $TEMP_DIR/* ./
8792
fi
8893

solution-manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
id: SO0062
22
name: distributed-load-testing-on-aws
3-
version: v4.0.2
3+
version: v4.0.3
44
cloudformation_templates:
55
- template: distributed-load-testing-on-aws.template
66
main_template: true

source/api-services/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/api-services/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "api-services",
3-
"version": "4.0.2",
3+
"version": "4.0.3",
44
"description": "REST API micro services",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)