Full Changelog 1.0.2 build 0.0.3

Released 2026-10-28 · 18 issues · 21 fixes

The complete record: every commit in the release, grouped by type, including work that never reaches a customer-facing note. The external changelog is the readable summary of the same release.

Jira References

  • DEV-2787 - FTACS WS authentication does not recover after Hazelcast restart

  • DEV-2957 - FT Configs > Restart Hazelcast > FT Configs Service Hazelcast client is not reconnected to Hazelcast

  • DEV-3000 - FT Configs > Docs Portal > Incorrect and inconsistent deployment configuration

  • DEV-3014 - FT Configs Service > ACS > ACS Configuration > XMPP > xmppServerHostAcs / xmppServerHostCpe > Invalid URL type for XMPP server host

  • DEV-3034 - FT Configs Service > Northbound API > Enable Service Support

  • DEV-3038 - FT Configs Service > Service API > Enable Service Support

  • DEV-3051 - JAVA API > FTGetDeviceParameters > the CheckParameterExists setting

  • DEV-3107 - FT Configs > ".env" config file > Hazelcast cluster name cannot be changed

  • DEV-3214 - Java Northbound API > "api.settings.response.transaction" setting doesn’t affect application functionality

  • DEV-3233 - FT Configs UI > Java Northbound API > "api.connection.strings.encrypted" > Setting is redundant

  • DEV-3248 - FT Configs UI > Service API > Mail > Invalid "SMTP Port" value > Validation error is displayed > "Save changes" button is active

  • DEV-3251 - FT Configs UI > Java Northbound API > Request Defaults > "api.settings.request.oui-as-manufacturer" > Setting is redundant

  • DEV-3253 - Doc portal > Northbound Java API > API Properties Configuration > "api.settings.transaction.timeout" > Description is insufficient

  • DEV-3255 - FT Configs Service > Hazelcast is stopped > Service API > Import YAML > Dry-run > "Dry-run failed" error occurred

  • DEV-3273 - FT Configs UI > Northbound API > Log columns exclude list > Value changed from default > Save > Restore default value > "Value is required" error returned

  • DEV-3295 - FT Configs Service > Northbound API > Section cannot be disabled

  • DEV-3299 - FT Configs Service > Northbound API > Export > Section headers in the exported file are displayed as "null"

  • DEV-3305 - FT Configs UI > Northbound API > Import > Choose legacy "Settings.xml" file > Dry run > Supported configuration marked as unknown

Bug Fixes

  • Count import updates only for entries that really changed

    Import diffs classified an entry as updated whenever its key matched an existing row, so re-importing an unchanged file reported work that would never happen. The service already had a canonical diff (ImportDiffAlgorithm with ChangeType.UNCHANGED) that most domains follow; these eight had their own matching loops and drifted from it.

    Compare stored values against the incoming ones before mutating the entity in neighboring WiFi diagnostic paths, mesh, network map, user info, VoIP, app ports, cube DSL parameters and frames. Display order stays part of the delta because reordering a file does change the stored rows. Unchanged app ports and frame parameters are no longer written back, dropping empty UPDATE statements from the import transaction.

  • Changelog

  • preflight.listen_ports are host ports, not the container’s (#44)

    Deployment Manager reads this file to decide whether two services can share a server. It compares preflight.listen_ports, so a container port here reads as a claim on that port ON THE HOST.

  • tab-view search, export 4xx codes and safe error formatting

    nameLike on tab listing now filters in SQL before paging (name or description, case-insensitive); config-set search trims the term. Export validation failures use new code 1615 instead of the import code, import errors carry a reason, and not-found paths report RESOURCE_NOT_FOUND. ConfigsErrorCode no longer throws while building an error when a template does not fit its arguments, which turned intended 4xx responses into 500.

  • DEV-3107 - FT Configs > ".env" config file > Hazelcast cluster name cannot be changed

  • DEV-3014 - FT Configs Service > ACS > ACS Configuration > XMPP > xmppServerHostAcs / xmppServerHostCpe > Invalid URL type for XMPP server host

  • JWT_SECRET must decode to 32 bytes

    The service base64-decodes JWT_SECRET and refuses fewer than 32 bytes, then restart-loops. Declare min_length 44 so Deployment Manager rejects a short typed value at the prompt. The rule already existed in DM’s catalogue copy, which the hourly sync replaces with this file.

  • DEV-3214 - Java Northbound API > "api.settings.response.transaction" setting doesn’t affect application functionality

  • DEV-3248 - FT Configs UI > Service API > Mail > Invalid "SMTP Port" value > Validation error is displayed > "Save changes" button is active

  • DEV-3255 - FT Configs Service > Hazelcast is stopped > Service API > Import YAML > Dry-run > "Dry-run failed" error occurred

  • DEV-3251 - FT Configs UI > Java Northbound API > Request Defaults > "api.settings.request.oui-as-manufacturer" > Setting is redundant

  • DEV-3233 - FT Configs UI > Java Northbound API > "api.connection.strings.encrypted" > Setting is redundant

  • Update version field in version.xml

  • DEV-3273 - FT Configs UI > Northbound API > Log columns exclude list > Value changed from default > Save > Restore default value > "Value is required" error returned

  • DEV-3253 - Doc portal > Northbound Java API > API Properties Configuration > "api.settings.transaction.timeout" > Description is insufficient

  • DEV-3295 - FT Configs Service > Northbound API > Section cannot be disabled

  • DEV-3299 - FT Configs Service > Northbound API > Export > Section headers in the exported file are displayed as "null"

  • DEV-3305 - FT Configs UI > Northbound API > Import > Choose legacy "Settings.xml" file > Dry run > Supported configuration marked as unknown

  • DEV-3051 - JAVA API > FTGetDeviceParameters > the CheckParameterExists setting

  • Update build to 0.0.1

  • Update build to 0.0.2

Documentation

  • Restructure to phase-based skeleton

  • Add the real StartupInfoLogger banner to verification

  • Update antora version to 1.0.2 (dev)

  • Regenerate changelog for release 1.0.1

  • Unify structure, dependencies table and ClickHouse 26.2

  • Address consistency review findings

  • Align Registry Authentication with the reference format

  • Use one brace-expanded mkdir per service

    Matches the layout command in the full-system deployment guide: create the service directory under /usr/local/ft-system and work from the stack root.

  • Document the platform directory layout and env file split

  • Add the missing Directory Layout anchor

  • Fix defects found in the documentation audit

  • Pin docker image to explicit version instead of latest tag

  • Update antora version to 1.0.2

  • Add changelog for release 1.0.2

  • Update antora version to 1.0.3 (dev)

  • Regenerate changelog for release 1.0.2

  • Align ft-cache version references with 0.0.11

    The SDD pages still named ft-cache 0.0.8 next to the new HZ_CLUSTER_NAME note (0.0.11+). The documented bundled-yaml defaults were checked against the 0.0.11 jar and are unchanged.

    (cherry picked from commit 48299f90ec883662dc7452f62b9e34d0ec8c5b39)

Chores

  • Add deployment.yaml contract for Deployment Manager

    Deployment Manager reads this file from the tip of this branch to know the service’s image, ports, volumes, clustering pattern and the variables an operator must fill in. It was previously vendored in ft-internal-tools (deployment-manager/catalogue/contracts/ft-configs-service.yaml); this repository now owns it.

  • Add the deployment/ config tree Deployment Manager mounts

    These are the application config files a generated Compose bundle mounts into this service’s container. They were vendored in ft-internal-tools (deployment-manager/catalogue/services/); this repository now owns them, and Deployment Manager reads them from the tip of this branch.

    Private key material is deliberately NOT here: keys and keystores stay in the one place they already live and are laid over this tree at generation time, so the same private key does not gain a copy per repository.

  • Bump version to 1.0.2

Tests

  • Drop and replay the schema only when the container can be dirty

    AbstractMySqlIntegrationTest forced spring.liquibase.drop-first unconditionally, so every Spring context wiped the schema and replayed all 288 changeSets. This suite builds three contexts - 29 of its 31 classes share one, while PasswordResetMySqlIT (@MockitoBean MailDeliveryStatus) and UserDeletionUnreachableMailMySqlIT (its own @DynamicPropertySource for a configured-but-unreachable SMTP) each fork their own - so the changelog ran three times. In CI that was measured at about 2m15s per replay, 6m45s of an 11-minute task.

    Dropping is only meaningful when the container can carry state from an earlier run, which is exactly when Testcontainers reuse is enabled. CI pins reuse off for MySQL, so the container is created fresh and there is nothing to drop; a developer machine with reuse on still gets the wipe. Liquibase is idempotent, so the second and third contexts now find the schema at head and do nothing.

    Oracle keeps its unconditional drop-first: reuse is deliberately on there, so its container does survive between runs.

    Verified locally, 396 tests in 31 classes, no failures and no skips in both the slower figure confirming the wipe still happens where it is needed. The local delta is only 22s because a replay costs about 11s on this machine against the ~2m15s measured on the CI runner, so the size of the CI saving is not claimed here - only that the behaviour is correct in both modes.

  • Turn off MySQL durability in the integration-test container

    The container is created for one test run and thrown away, but it ran on the image defaults: fsync of the redo log on every commit, every page written twice, and every DDL journalled to the binary log, which MySQL 8 enables by default. The Liquibase changelog is 288 changeSets, so that cost is paid several hundred times per run for a database nothing will ever recover.

    Measured twice, both in the same direction. In isolation, 60 cycles of CREATE + INSERT + DROP against two otherwise identical containers: 4045ms on the defaults against 1825ms with these flags. Across the full MySQL IT suite as a matched pair on one machine: 765s of class time against 851s without them.

    No tmpfs for the data directory: the CI runner is memory-tight and shared.

    The mysql image entrypoint prepends mysqld when the command starts with a dash, so passing bare flags is enough. Verified by running the suite: 396 tests in 31 classes, no failures, no skips.

  • Rebuild the Oracle schema once per JVM, not once per context

    Oracle keeps Testcontainers reuse on - its container boots slowly and is meant to survive between runs - so drop-first stays justified there, unlike MySQL where the container is now always fresh. But it was justified once, not per context: this suite builds two of them, the base one and PasswordResetOracleIT’s fork from its @MockitoBean, and the second was replaying all 288 changeSets onto a database already at head.

    The first context in the JVM wins a CAS and drops; later ones do not. The value is captured eagerly rather than read inside the supplier, so it is decided once per context however often Spring evaluates the property. Which context happens to be first does not matter - either way the schema is rebuilt exactly once before anything runs against it.

  • Drop the Oracle schema by the same rule as MySQL, not by a counter

    Fixes the regression from 3af673e, which failed all 31 Oracle IT classes with a Hibernate SchemaManagementException: the first context to be built found no tables.

    That commit tied the one-time drop to a CAS on the first caller of @DynamicPropertySource, claiming the value was "decided exactly once per context". That claim was wrong. The method is invoked once per test CLASS - 31 of them here, against two contexts - so the CAS was consumed by whichever class was processed first, while the context was built by another, which then read drop-first=false and left the reused container’s stale schema in place.

    The fix removes the counter rather than repairing it, because the premise it rested on was an assumption about Spring’s invocation timing that nothing verified. Oracle now uses the same rule as MySQL: drop only when the container can carry state from an earlier run, i.e. when Testcontainers reuse is on.

    That is only affordable because reuse is now off for the Oracle job too, and that decision is measured rather than assumed. Reuse was kept on here originally on the belief that Oracle is too slow to boot cold; gvenzl/oracle-xe:21 reaches "DATABASE IS READY TO USE" in 33s. Half a minute of container boot was buying an unconditional drop-first, which cost a full replay of the 288-changeSet changelog in every context. A fresh container costs the 33s and lets the changelog run once.

    Verified locally on the path that failed - reuse off, full suite rerun: 396 tests in 31 classes, no failures, no skips, 2m54s.

  • DEV-3038 - FT Configs Service > Service API > Enable Service Support

Build

  • Declare TESTCONTAINERS_REUSE_ENABLE an input of the IT tasks

    Environment variables are not part of a task’s cache key unless declared, and this one changes what the integration tests do: both AbstractMySqlIntegrationTest and AbstractOracleIntegrationTest derive spring.liquibase.drop-first from it, so with reuse on the container can carry a schema from an earlier run and is wiped, and with reuse off it is fresh and is not. Undeclared, two runs that behave differently hashed identically, and the second could take a FROM-CACHE result produced under the other behaviour.

    Read through providers.environmentVariable rather than System.getenv: the project has the configuration cache enabled, which forbids reading the environment at configuration time.

    Verified on a single IT class: reuse off is UP-TO-DATE, flipping to on re-executes the task in 32s, flipping back returns FROM-CACHE - so the key really does depend on the value and Gradle keeps both results.

    This does not make these tasks safe to cache in general. Their real inputs also include the Docker daemon, the database images and the runner, none of which Gradle can see, so a cached green still means "this code passed somewhere once" rather than "it passes here now". That is recorded next to the declaration; the blunt fix, outputs.cacheIf { false }, is deliberately not applied yet.

CI

  • Pin Testcontainers reuse per job instead of the shared runner home

    MySQL IT hit a five-minute Liquibase lock wait and blew the 15-minute job timeout, while Oracle IT passed in about a minute. The asymmetry was not that Oracle is faster: the Oracle job enabled container reuse by appending testcontainers.reuse.enable=true to $HOME/.testcontainers.properties, and on rd-runner every runner instance (actions-runner-1..4) runs as the same user, so that file is shared. Reuse was therefore on for the MySQL job too, permanently and contrary to the comment in that job stating it must not be.

    With reuse on, SingletonMySqlContainer’s fixed database name and credentials give every job the same reuse hash, so concurrent jobs share one container and one database. Every IT context runs Liquibase with spring.liquibase.drop-first, so they race for DATABASECHANGELOGLOCK, and a run cancelled mid-migration leaves the lock held in the container that survives. The next run waits out Liquibase’s default five minutes, throws LockException, and the first Spring context fails; every later IT class then fails instantly on the cached context failure, which is what the wall of DefaultCacheAwareContextLoaderDelegate errors was.

    Both jobs now declare reuse as a job-scoped TESTCONTAINERS_REUSE_ENABLE env var and nothing writes to shared state. The env var also repairs the runners without touching them: TestcontainersConfiguration.environmentSupportsReuse reads getEnvVarOrUserProperty, which checks the environment before the user properties file, so "false" on the MySQL job overrides the entry already sitting in the shared file. Oracle keeps reuse because it wants a warm container.

    The same pinning is applied to the release workflow, whose two jobs run on the same host and had the same dependency on leftover state.

    Still open: Oracle reuses its container, so a run cancelled mid-migration can strand its changelog lock the same way. Nothing competes for it today, so it is tracked separately rather than fixed by disabling reuse there.

  • DEV-2787 - FTACS WS authentication does not recover after Hazelcast restart

  • Drop the temporary --info and keep the raised job timeout

    The diagnostics from the previous commit did their job: --info showed that the MySQL IT task builds three Spring contexts, that each took 158-180s to start, and that about 2m15s of every one of those was Liquibase replaying the changelog. That is what the drop-first change was built on. Removing it again - it produced a 26,519-line log.

    timeout-minutes stays at 30 and is now applied to the release workflow’s verify job as well, which runs the same task set and still carried the 15-minute cap. This is not masking a slow job: healthy runs measured 11m22s-12m52s against that cap, so a passing run only had to meet a load spike on the shared runner to come back cancelled, which is what every branch did between 6 and 31 August. The comments now state the measurement rather than calling the value temporary.

    Oracle IT keeps its 15 minutes; when it actually executes it runs 5-7 minutes.

  • Correct the reuse rationale after drop-first became conditional

    The comment justifying TESTCONTAINERS_REUSE_ENABLE=false still asserted that every IT context runs Liquibase with drop-first=true. That stopped being true in 7c58f52, which derives drop-first from this very setting. Left as written, the comment would send the next reader looking for an unconditional wipe that no longer exists, and would hide that the two settings are now coupled: flipping reuse on here also switches the full changelog replay back on.

    Matches the wording already on dev so the two do not drift.

  • Give Oracle IT the same 30-minute cap as the MySQL job

    Oracle IT looked cheap, but that was an artefact: its task was being served from the Gradle build cache, so the job reported success in 15 seconds having executed no tests at all. The first run where the cache missed took 8m03s - 54% of the 15-minute cap, the same margin the MySQL job was being cancelled on throughout August.

  • Label the image with the commit it was built from

    Deployment Manager reads a service’s deployment.yaml at the commit its image was built from; nothing in the image states that commit today.

    git rev-parse HEAD rather than github.sha: this job checks out inputs.branch, a branch NAME, so the commit actually built is whatever that branch pointed at when the checkout ran.

  • Label the image in the pipeline that also pushes it

    The first commit on this branch labelled the callable build workflow. This workflow pushes the same Harbor repository under its own tags, so without it the label would be present or absent depending on which pipeline last built that digest.

Docker Images

ft-configs-service

Image

hub.friendly-tech.com/configs/ft-configs-service:v1.0.2-b0.0.3

Pull from Registry

docker pull hub.friendly-tech.com/configs/ft-configs-service:v1.0.2-b0.0.3

Download for Offline Use

docker pull hub.friendly-tech.com/configs/ft-configs-service:v1.0.2-b0.0.3
docker save hub.friendly-tech.com/configs/ft-configs-service:v1.0.2-b0.0.3 -o ft-configs-service-v1.0.2-b0.0.3.tar

gzip ft-configs-service-v1.0.2-b0.0.3.tar

Load on Closed Network

gunzip ft-configs-service-v1.0.2-b0.0.3.tar.gz
docker load -i ft-configs-service-v1.0.2-b0.0.3.tar

Dependencies

  • FT Configs Service v1.0.2-b0.0.3

  • FT Configs Service v1.0.2-b0.0.3

  • FT Configs Service v1.0.2-b0.0.3