Files
iot-dc3/dc3-e2e/README.md
T
pnokerandClaude 2198d7fffe chore: merge iot-dc3-web frontend into monorepo
Merge the standalone iot-dc3-web repository into iot-dc3 as dc3-web/,
creating a single monorepo with unified versioning, CI/CD, and release
process.

- subtree-add iot-dc3-web under dc3-web/ with full commit history
- relocate nginx configs and SSL certs to dc3/dependencies/
- merge CI workflows (ci-backend.yml, ci-web.yml, docker-ci-web.yml)
- merge Issue/PR templates and dependabot config
- host frontend docs under docs/zh/frontend/
- share .husky/ hooks via root-level package.json (pnpm)
- unify versioning: single dc3/bin/tag.sh (vYYYY.M.P) for the whole repo
- update Dockerfile, docker-compose.yml, Makefile for new paths
- remove redundant directories from dc3-web/ (.claude, .github, dc3, docs, bin)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-28 14:43:22 +08:00

1.8 KiB

DC3 E2E

Overview

dc3-e2e is the backend end-to-end test suite of the IoT DC3 platform. It drives a running stack through real HTTP (via REST Assured) and message-queue paths to verify cross-service behavior — command call, event report, point-value storage, RabbitMQ delivery, and TimescaleDB hypertables.

Module Information

  • Group ID: io.github.pnoker
  • Artifact ID: dc3-e2e
  • Version: 2026.5.22
  • Packaging: jar (test sources only)

Test Suites

IT Verifies
HarnessSmokeIT The E2E harness itself comes up
RestAssuredHarnessIT REST Assured wiring against the gateway
CommandCallE2eIT Command call end-to-end
EventReportE2eIT Event report end-to-end
RabbitDeliveryIT RabbitMQ message delivery
PostgresHypertableIT TimescaleDB hypertable behavior
E2eEnvironmentGuardIT Guards that the target environment is configured

The harness (E2eStack, BaseE2eIT) lives under src/test/java/io/github/pnoker/e2e/harness.

Running

make test-e2e
# = DC3_E2E=true mvn -s .mvn/settings.xml -B -Dmaven.test.skip=false -Dskip.unit.tests=true -pl dc3-e2e -am -Pe2e verify

Requires a container runtime (podman) for the Testcontainers-backed dependencies provided by dc3-common-test.

Dependencies

  • dc3-common-test — Testcontainers and test harnesses
  • dc3-common-model — domain models
  • rest-assured — HTTP assertions

License

Copyright 2016-present the IoT DC3 original author or authors.

Licensed under the GNU Affero General Public License v3.0 (AGPL 3.0)